+
+ public static void deleteVnfm(String vnfmId, String resourceVersion) throws Exception {
+ externalSystemproxy.deleteVNFM(transactionId, fromAppId, authorization, vnfmId, resourceVersion);
+ }
+
+ public static void registerSdnc(String thirdpartySdncId, EsrThirdpartySdncDetail esrSdncDetail) throws Exception {
+ ClientConfig config = new ClientConfig(new ThirdpartySdncRegisterProvider());
+ IExternalSystem registerSdncServiceproxy = ConsumerFactory
+ .createConsumer(AaiAdapterConfig.getExternalSystemAddr(), config, IExternalSystem.class);
+ registerSdncServiceproxy.registerThirdpartySdnc(transactionId, fromAppId, authorization, thirdpartySdncId,
+ esrSdncDetail);
+ }
+
+ public static String queryThirdpartySdncDetail(String thirdpartySdncId) throws Exception{
+ return externalSystemproxy.queryThirdpartySdncDetail(transactionId, fromAppId, authorization, thirdpartySdncId);
+ }
+
+ public static String querySdncList() throws Exception {
+ return externalSystemproxy.queryThirdpartySdncList(transactionId, fromAppId, authorization);
+ }
+
+ public static void deleteThirdpartySdnc(String sdncId, String resourceVersion) throws Exception {
+ externalSystemproxy.deleteThirdpartySdnc(transactionId, fromAppId, authorization, sdncId, resourceVersion);
+ }
+
+ public static void registerEms(String emsId, EsrEmsDetail emsDetail) throws Exception {
+ ClientConfig config = new ClientConfig(new EmsRegisterProvider());
+ IExternalSystem registerEmsServiceproxy = ConsumerFactory
+ .createConsumer(AaiAdapterConfig.getExternalSystemAddr(), config, IExternalSystem.class);
+ registerEmsServiceproxy.registerEMS(transactionId, fromAppId, authorization, emsId,
+ emsDetail);
+ }
+
+ public static String queryEmsDetail(String emsId) throws Exception {
+ return externalSystemproxy.queryEMSDetail(transactionId, fromAppId, authorization, emsId);
+ }
+
+ public static String queryEmsList() throws Exception {
+ return externalSystemproxy.queryEMSList(transactionId, fromAppId, authorization);
+ }