summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/onboard.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/onboard.service.ts')
-rw-r--r--usecaseui-portal/src/app/onboard.service.ts25
1 files changed, 20 insertions, 5 deletions
diff --git a/usecaseui-portal/src/app/onboard.service.ts b/usecaseui-portal/src/app/onboard.service.ts
index a248f531..1c3778a4 100644
--- a/usecaseui-portal/src/app/onboard.service.ts
+++ b/usecaseui-portal/src/app/onboard.service.ts
@@ -1,3 +1,18 @@
+/*
+ Copyright (C) 2019 CMCC, Inc. and others. All rights reserved.
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ See the License for the specific language governing permissions and
+ limitations under the License.
+*/
import { Injectable } from '@angular/core';
import { HttpClient, HttpHeaders, HttpParams, HttpResponse } from '@angular/common/http';
import { Observable } from 'rxjs/Observable';
@@ -9,7 +24,7 @@ export class onboardService {
/* location */
// baseUrl = "./assets/json";
// url = {
- // // 数据列表
+ // // list data
// onboardTableData: this.baseUrl + "/onboard-vnf-mf/onboardTableData.json",
// onboardDataVNF: this.baseUrl + "/onboard-vnf-mf/onboardDataVNF.json",
// onboardDataPNF: this.baseUrl + "/onboard-vnf-mf/onboardDataPNF.json",
@@ -19,7 +34,7 @@ export class onboardService {
// sdc_vnfListData: this.baseUrl + "/onboard-vnf-mf/listData/SDC_VNF.json",
- // //创建nspackages
+ // //create nspackages
// creatensData: this.baseUrl + "/onboard-vnf-mf/_jsonData.json",
// //onboard ns sdc data
@@ -48,10 +63,10 @@ export class onboardService {
// }
//---------------------------------------------------------------------------------------
- /* line up 线上*/
+ /* line up*/
baseUrl = baseUrl.baseUrl + "/uui-lcm/";
url = {
- // 数据列表Data
+ // list Data
onboardTableData: this.baseUrl + "ns-packages",
onboardDataVNF: this.baseUrl + "vnf-packages",
onboardDataPNF: this.baseUrl + "pnf-packages",
@@ -75,7 +90,7 @@ export class onboardService {
// Delete Pnf package
deletePnfPack: this.baseUrl + "deletePnfPackage?pnfdInfoId=",
- //进度接口
+ //Progress interface
progress: this.baseUrl + "jobs/" + "_jobId" + "?responseId="