import org.onap.aai.esr.entity.aai.EsrEmsDetail;
import org.onap.aai.esr.entity.aai.EsrThirdpartySdncDetail;
import org.onap.aai.esr.entity.aai.EsrVnfmDetail;
+import org.onap.aai.esr.exception.ExtsysException;
@Path("/")
public interface IExternalSystem {
public void registerVNFM(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization, @PathParam("vnfm_id") String vnfmId,
- EsrVnfmDetail esrVnfmDetail) throws Exception;
+ EsrVnfmDetail esrVnfmDetail) throws ExtsysException;
@GET
@Path("/esr-vnfm-list/esr-vnfm/{vnfm_id}?depth=all")
public String queryVNFMDetail(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization, @PathParam("vnfm_id") String vnfmId)
- throws Exception;
+ throws ExtsysException;
@GET
@Path("/esr-vnfm-list")
@Produces(MediaType.APPLICATION_JSON)
public String queryVNFMList(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
- @HeaderParam("Authorization") String authorization) throws Exception;
+ @HeaderParam("Authorization") String authorization) throws ExtsysException;
@DELETE
@Path("/esr-vnfm-list/esr-vnfm/{vnfm_id}")
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization,
@PathParam("vnfm_id") String vnfmId,
- @QueryParam("resource-version") String resourceVersion) throws Exception;
+ @QueryParam("resource-version") String resourceVersion) throws ExtsysException;
@PUT
@Path("/esr-ems-list/esr-ems/{ems_id}")
public void registerEMS(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization, @PathParam("ems_id") String emsId,
- EsrEmsDetail esrEmsDetail) throws Exception;
+ EsrEmsDetail esrEmsDetail) throws ExtsysException;
@GET
@Path("/esr-ems-list/esr-ems/{ems_id}?depth=all")
public String queryEMSDetail(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization, @PathParam("ems_id") String emsId)
- throws Exception;
+ throws ExtsysException;
@GET
@Path("/esr-ems-list")
@Produces(MediaType.APPLICATION_JSON)
public String queryEMSList(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
- @HeaderParam("Authorization") String authorization) throws Exception;
+ @HeaderParam("Authorization") String authorization) throws ExtsysException;
@DELETE
@Path("/esr-ems-list/esr-ems/{ems_id}")
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization,
@PathParam("ems_id") String emsId,
- @QueryParam("resource-version") String resourceVersion) throws Exception;
+ @QueryParam("resource-version") String resourceVersion) throws ExtsysException;
@PUT
@Path("/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/{thirdparty-sdnc-id}")
public void registerThirdpartySdnc(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization, @PathParam("thirdparty-sdnc-id") String thirdpartySdncId,
- EsrThirdpartySdncDetail esrThirdpartySdncDetail) throws Exception;
+ EsrThirdpartySdncDetail esrThirdpartySdncDetail) throws ExtsysException;
@GET
@Path("/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/{thirdparty-sdnc-id}?depth=all")
public String queryThirdpartySdncDetail(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization, @PathParam("thirdparty-sdnc-id") String thirdpartySdncId)
- throws Exception;
+ throws ExtsysException;
@GET
@Path("/esr-thirdparty-sdnc-list")
@Produces(MediaType.APPLICATION_JSON)
public String queryThirdpartySdncList(@HeaderParam("X-TransactionId") String transactionId,
@HeaderParam("X-FromAppId") String fromApp,
- @HeaderParam("Authorization") String authorization) throws Exception;
+ @HeaderParam("Authorization") String authorization) throws ExtsysException;
@DELETE
@Path("/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/{thirdparty-sdnc-id}")
@HeaderParam("X-FromAppId") String fromApp,
@HeaderParam("Authorization") String authorization,
@PathParam("thirdparty-sdnc-id") String thirdpartySdncId,
- @QueryParam("resource-version") String resourceVersion) throws Exception;
+ @QueryParam("resource-version") String resourceVersion) throws ExtsysException;
}