update the i18n resources for manage service 75/102375/1
authorseshukm <seshu.kumar.m@huawei.com>
Wed, 26 Feb 2020 08:31:29 +0000 (16:31 +0800)
committerseshukm <seshu.kumar.m@huawei.com>
Wed, 26 Feb 2020 08:31:29 +0000 (16:31 +0800)
Issue-ID: USECASEUI-387

Signed-off-by: seshukm <seshu.kumar.m@huawei.com>
Change-Id: If08801295e631c75fe037db6bc66fe63d17c559e

docs/index.rst
usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.html
usecaseui-portal/src/app/views/services/sotn-management/manage-service/manage-service.component.ts

index d044ca2..fd3019c 100644 (file)
@@ -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
 
index b7d75ad..3ed0bf5 100644 (file)
                                                 <thead>
                                                     <tr>
                                                     <th>UNI</th>
-                                                    <th>TP Id</th>
+                                                    <th>{{ "i18nTextDefine_terminationPoint" | translate }}</th>
                                                     </tr>
                                                 </thead>
                                                 <tbody>
index d3143e8..130fbe2 100644 (file)
@@ -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);