feat:delete extra comments in the api interface file 29/95729/1
authorcyuamber <xuranyjy@chinamobile.com>
Mon, 16 Sep 2019 10:16:52 +0000 (18:16 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Mon, 16 Sep 2019 10:17:43 +0000 (18:17 +0800)
Change-Id: I10797f5c663c54821e336bd22dbc667a549740a7
Issue-ID: USECASEUI-307
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
usecaseui-portal/src/app/core/services/managemencs.service.ts
usecaseui-portal/src/app/core/services/myhttp.service.ts
usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
usecaseui-portal/src/app/core/services/onboard.service.ts

index d7780e7..c8eed21 100644 (file)
@@ -12,12 +12,10 @@ export class ManagemencsService {
 
     /* line up */
     url = {
-        //mock Currently tuned api interface
         customers: this.baseUrl + "/uui-lcm/customers", /* get or delete */
         CustomersPir: this.baseUrl + "/uui-lcm/serviceNumByCustomer", /* get */
         serviceType: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions", /* get */
         CustomersColumn: this.baseUrl + "/uui-lcm/serviceNumByServiceType/" + "*_*", /* get */
-        //mock Currently unadjustable api interface
         deleteCustomer: this.baseUrl + "/uui-lcm/customers", /* delete */
         createCustomer: this.baseUrl + "/uui-lcm/customers/", /* put */
         createServiceType: this.baseUrl + "/uui-lcm/customers/*_*/service-subscriptions/*+*", /* put */
index bc6ed18..26fb867 100644 (file)
@@ -24,7 +24,6 @@ export class MyhttpService {
   constructor(private http: HttpClient) { }
   baseUrl = baseUrl.baseUrl;
   url = {
-    //mock Currently tuned api interface
     customers: this.baseUrl + "/uui-lcm/customers",
     serviceType: this.baseUrl + "/uui-lcm/customers/" + "*_*" + "/service-subscriptions",
     orchestrators: this.baseUrl + "/uui-lcm/orchestrators",
@@ -47,7 +46,6 @@ export class MyhttpService {
     nsProgress: this.baseUrl + "/uui-lcm/jobs/getNsLcmJobStatus/*_*",
     e2eScale: this.baseUrl + "/services/scaleServices/",
     e2e_nsdata: this.baseUrl + "/getServiceInstanceById/customerId",
-    //mock Currently unadjustable api interface
     allottedResource: this.baseUrl + "/uui-sotn/getAllottedResources",
     updateccvpn: this.baseUrl + "/uui-lcm/services/updateService/",
     pnfDetail: this.baseUrl + "/uui-sotn/getPnfInfo/",
index 2b1c38d..00b6e79 100644 (file)
@@ -25,11 +25,9 @@ export class networkHttpservice {
 
     baseUrl = baseUrl.baseUrl;//Online environment
     url = {
-        // The following APIs are optimizable
         "getNetworkD3Data": "/uui-sotn/getNetWorkResources",
         "getLogicalLinksData": "/uui-sotn/getLogicalLinks",
         "deleteCloud": "/uui-sotn/deleteExtNetWork",
-        // The following APIs are not optimizable
         "getPInterfacesData": "/uui-sotn/getPinterfaceByPnfName/",
         "createLink": "/uui-sotn/createLink/",
         "querySpecificLinkInfo": "/uui-sotn/getSpecificLogicalLink/",
index c89c986..e7b1bfc 100644 (file)
@@ -24,29 +24,20 @@ export class onboardService {
 
     baseUrl = baseUrl.baseUrl;
     url = {
-        //The following APIs are optimizable------------------------
-        // list Data
         onboardTableData: this.baseUrl + "/uui-lcm/ns-packages",
         onboardDataVNF: this.baseUrl + "/uui-lcm/vnf-packages",
         onboardDataPNF: this.baseUrl + "/uui-lcm/pnf-packages",
-        //ns sdc
         sdc_nsListData: this.baseUrl + "/uui-lcm/sdc-ns-packages", // GET
-        // vnf sdc
         sdc_vnfListData: this.baseUrl + "/uui-lcm/sdc-vf-packages", // GET
-        // onboard ns sdc data
         onboardNs: this.baseUrl + "/uui-lcm/ns-packages", //POST
-        //onboard VNF sdc data
+     
         onboardVNF: this.baseUrl + "/uui-lcm/vf-packages", //POST
-        //Delete ns package
         deleteNspack: this.baseUrl + "/uui-lcm/deleteNsdPackage",
         // Delete Vnf vfc package
         deleteVnfPack: this.baseUrl + "/uui-lcm/deleteVnfPackage",
         // Delete Pnf package
         deletePnfPack: this.baseUrl + "/uui-lcm/deletePnfPackage",
-        // The following APIs are not optimizable-------------------
-        // createnspackages
         creatensData: this.baseUrl + "/uui-lcm/_jsonData", //POST
-        //Progress interface
         progress: this.baseUrl + "/uui-lcm/jobs/_jobId" ,
     };