summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/core
diff options
context:
space:
mode:
authorcyuamber <xuranyjy@chinamobile.com>2019-09-16 18:16:52 +0800
committercyuamber <xuranyjy@chinamobile.com>2019-09-16 18:17:43 +0800
commitc4be1f266b82a083eb730a2905da2cfa8196944a (patch)
tree7f2824ac32091339340690431ed3b9d767bf183a /usecaseui-portal/src/app/core
parent8e369eb5aff2699160f565a1c388fc1509057262 (diff)
feat:delete extra comments in the api interface file
Change-Id: I10797f5c663c54821e336bd22dbc667a549740a7 Issue-ID: USECASEUI-307 Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
Diffstat (limited to 'usecaseui-portal/src/app/core')
-rw-r--r--usecaseui-portal/src/app/core/services/managemencs.service.ts2
-rw-r--r--usecaseui-portal/src/app/core/services/myhttp.service.ts2
-rw-r--r--usecaseui-portal/src/app/core/services/networkHttpservice.service.ts2
-rw-r--r--usecaseui-portal/src/app/core/services/onboard.service.ts11
4 files changed, 1 insertions, 16 deletions
diff --git a/usecaseui-portal/src/app/core/services/managemencs.service.ts b/usecaseui-portal/src/app/core/services/managemencs.service.ts
index d7780e73..c8eed218 100644
--- a/usecaseui-portal/src/app/core/services/managemencs.service.ts
+++ b/usecaseui-portal/src/app/core/services/managemencs.service.ts
@@ -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 */
diff --git a/usecaseui-portal/src/app/core/services/myhttp.service.ts b/usecaseui-portal/src/app/core/services/myhttp.service.ts
index bc6ed18b..26fb867c 100644
--- a/usecaseui-portal/src/app/core/services/myhttp.service.ts
+++ b/usecaseui-portal/src/app/core/services/myhttp.service.ts
@@ -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/",
diff --git a/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts b/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
index 2b1c38d1..00b6e79b 100644
--- a/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
+++ b/usecaseui-portal/src/app/core/services/networkHttpservice.service.ts
@@ -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/",
diff --git a/usecaseui-portal/src/app/core/services/onboard.service.ts b/usecaseui-portal/src/app/core/services/onboard.service.ts
index c89c9861..e7b1bfc6 100644
--- a/usecaseui-portal/src/app/core/services/onboard.service.ts
+++ b/usecaseui-portal/src/app/core/services/onboard.service.ts
@@ -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" ,
};