summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app
diff options
context:
space:
mode:
authorTao Shen <shentao@chinamobile.com>2019-09-17 02:39:26 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-17 02:39:26 +0000
commitcc03b925593646f2e5cb641f7e4e090ea2b89562 (patch)
tree3b51aaf80ae50d2619df65e6bbbc2735c630991e /usecaseui-portal/src/app
parent018a3535bdce505faf630c7cfea57015f5e2d042 (diff)
parentc4be1f266b82a083eb730a2905da2cfa8196944a (diff)
Merge "feat:delete extra comments in the api interface file"
Diffstat (limited to 'usecaseui-portal/src/app')
-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" ,
};