summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorseshukm <seshu.kumar.m@huawei.com>2020-02-26 16:31:29 +0800
committerseshukm <seshu.kumar.m@huawei.com>2020-02-26 16:31:29 +0800
commit155c4912100293e60a3c85c589c55492aa502388 (patch)
treee45a97d962b82c2d83725a12c7d69066bddcba2a
parenta51d51e70f074f0ff0992ae346983969dec32e1e (diff)
update the i18n resources for manage service
Issue-ID: USECASEUI-387 Signed-off-by: seshukm <seshu.kumar.m@huawei.com> Change-Id: If08801295e631c75fe037db6bc66fe63d17c559e
-rw-r--r--docs/index.rst1
-rw-r--r--usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.html2
-rw-r--r--usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.ts61
3 files changed, 5 insertions, 59 deletions
diff --git a/docs/index.rst b/docs/index.rst
index d044ca26..fd3019c1 100644
--- a/docs/index.rst
+++ b/docs/index.rst
@@ -7,6 +7,7 @@ This document is aimed to give the users some brief introductions on Usecase-UI
The users could find useful information, e.g. the architecture, the APIs and the installation steps, etc.
as well as the release notes of Usecase-UI in this document.
+
.. toctree::
:maxdepth: 3
diff --git a/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.html b/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.html
index b7d75ad4..3ed0bf51 100644
--- a/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.html
+++ b/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.html
@@ -172,7 +172,7 @@
<thead>
<tr>
<th>UNI</th>
- <th>TP Id</th>
+ <th>{{ "i18nTextDefine_terminationPoint" | translate }}</th>
</tr>
</thead>
<tbody>
diff --git a/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.ts b/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.ts
index d3143e82..130fbe27 100644
--- a/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.ts
+++ b/usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.ts
@@ -23,11 +23,10 @@ export class ManageServiceComponent implements OnInit {
serviceInstancename: "ISAAC-IS0333"
}
];
- graphData: boolean = true;
expandDataSet = [
- { rowIdx: 1, name: 'Service',cost: '', expand: true , mobileExpand:false},
- { rowIdx: 2, name: 'VPN',cost: '', expand: true,mobileExpand:false },
- { rowIdx: 3, name: 'UNI',cost: '', expand: true,mobileExpand:false }
+ { rowIdx: 1, name: 'i18nTextDefine_serviceInformation', expand: true },
+ { rowIdx: 2, name: 'i18nTextDefine_vpnInformation', expand: true },
+ { rowIdx: 3, name: 'i18nTextDefine_uniInformation', expand: true }
];
summaryInfo:object = {};
@@ -73,7 +72,6 @@ export class ManageServiceComponent implements OnInit {
// this.serviceInstanceList = data.serviceInstanceList;
// this.selectedServiceInstance = data.serviceInstanceList[0].serviceInstance;
// this.getSubscribedSites(data.serviceInstanceList[0]);
- // this.graphData = false;
// }, (err) => {
// console.log(err);
// });
@@ -92,33 +90,6 @@ export class ManageServiceComponent implements OnInit {
this.serviceInstanceList = data.serviceInstanceList;
this.selectedServiceInstance = data.serviceInstanceList[0].serviceInstance;
this.getSubscribedSites(data.serviceInstanceList[0]);
-
- // var datas= {
- // "ethtSvcName":"vpn022",
- // "colorAware":"true",
- // "cbs":"100",
- // "couplingFlag":"true",
- // "ebs":"EVPL",
- // "cir":"98900",
- // "eir":"1000",
- // "vpnInformations":[{
- // "vpnThreshold":"1000",
- // "vpnBandwidth":"100",
- // "vpnType":"Hub-Spoke",
- // "vpnId":"a8529dee-523e-4c6b-bc83-e26d68a9911c",
- // "vpnName":"vpn022",
- // "sites":[
- // {
- // "zipCode":"100008",
- // "address":"beijing",
- // "siteId":"d5b530fe-2271-4ed6-8c09-b7ce368a1f59",
- // "siteName":"ISAAC01-hub1",
- // "description":"desc"
- // }
- // ]
- // }]
- // };
- // this.assignData(datas, false);
var datas = {
"service":{
"name":"CCVPNServiceV2-36",
@@ -198,31 +169,6 @@ export class ManageServiceComponent implements OnInit {
// }, (err) => {
// console.log(err);
// });
- // var data= {
- // "ethtSvcName":"vpn022",
- // "colorAware":"true",
- // "cbs":"100",
- // "couplingFlag":"true",
- // "ebs":"EVPL",
- // "cir":"98900",
- // "eir":"1000",
- // "vpnInformations":[{
- // "vpnThreshold":"1000",
- // "vpnBandwidth":"100",
- // "vpnType":"Hub-Spoke",
- // "vpnId":"a8529dee-523e-4c6b-bc83-e26d68a9911c",
- // "vpnName":"vpn022",
- // "sites":[
- // {
- // "zipCode":"100008",
- // "address":"beijing",
- // "siteId":"d5b530fe-2271-4ed6-8c09-b7ce368a1f59",
- // "siteName":"ISAAC01-hub1",
- // "description":"desc"
- // }
- // ]
- // }]
- // };
var datas = {
"service":{
"name":"CCVPNServiceV2-36",
@@ -282,7 +228,6 @@ export class ManageServiceComponent implements OnInit {
// })
// };
// let body = JSON.stringify({}); //this.orderServiceData
-
// let url = this.baseUrl + "/uui-lcm/Sotnservices/cost";
// return this.http.post<any>(url,body,httpOptions).subscribe((data) => {
// this.assignData(data, true);