docs: modify the release notes 89/105489/1
authorcyuamber <xuranyjy@chinamobile.com>
Wed, 8 Apr 2020 08:30:30 +0000 (16:30 +0800)
committercyuamber <xuranyjy@chinamobile.com>
Wed, 8 Apr 2020 08:30:36 +0000 (16:30 +0800)
Change-Id: I7ac785c967c7287ba9df893a0308500c12a312d0
Issue-ID: USECASEUI-397
Signed-off-by: cyuamber <xuranyjy@chinamobile.com>
docs/release-notes.rst
usecaseui-portal/src/app/views/management/customer/customer.component.ts

index 2cc84b1..232aa68 100644 (file)
@@ -18,6 +18,8 @@ Version: 3.0.1
 **New Features**
  - 5G network GUI : In F release, we support the whole flow of creating 5G network slicing service. We provide CSMF portal for the network slicing customers and NSMF portal for the network slicing operators. What's more, we enhance the *Monitor* Module for monitoring 5G network slicing.
  - CCVPN GUI : In F release, UUI supports CCVPN-E-LINE over OTN Inter Domain Links, as well as the Multi-domain multi-layer Optical Service Orchestration.
+ - Https: In F release, we update the frontend and backend service to https
 **Released Components**
  - usecase-ui  3.0.1
  - usecase-ui-server  3.0.1
index 20cebcc..b470adf 100644 (file)
@@ -25,7 +25,7 @@ import { Observable } from 'rxjs';
 export class CustomerComponent implements OnInit {
     @ViewChild('chart') chart;
     @ViewChild('pie') pie;
-    @ViewChild('notification')notification:any;
+    @ViewChild('notification') notification: any;
     public chose = '';
 
     resizeMark;
@@ -36,19 +36,19 @@ export class CustomerComponent implements OnInit {
 
     ngOnInit() {
         this.getAllCustomers();
-        this.resizeMark = Observable.fromEvent(window,'resize')
+        this.resizeMark = Observable.fromEvent(window, 'resize')
             .subscribe((event) => {
-                this.pie.resize(this.chart.nativeElement.offsetHeight,210)
+                this.pie.resize(this.chart.nativeElement.offsetHeight, 210)
             })
     }
 
-    ngAfterViewInit(){
-        this.pie.resize(this.chart.nativeElement.offsetHeight,210)
+    ngAfterViewInit() {
+        this.pie.resize(this.chart.nativeElement.offsetHeight, 210)
     }
 
-    ngOnDestroy(){
+    ngOnDestroy() {
         this.resizeMark.unsubscribe()
-      }
+    }
 
     AllCustomersdata = [];
     AllServiceTypes = [];
@@ -170,7 +170,7 @@ export class CustomerComponent implements OnInit {
     serviceChart = true;
     getCustomersPie() {
         this.managemencs.getCustomersPie().subscribe((data) => {
-            this.serviceChart =data.serviceTotalNum > 0 ? true : false
+            this.serviceChart = data.serviceTotalNum > 0 ? true : false
             this.CUChartData = {
                 series: [{
                     data: data.customerServiceList
@@ -369,17 +369,17 @@ export class CustomerComponent implements OnInit {
 
     createNewCustomer(): void {
         let createParams = {
-            customerId: this.addNewCustomer,
+            // customerId: this.addNewCustomer,
             'global-customer-id': this.addNewCustomer,
             'subscriber-name': this.addNewCustomer,
             'subscriber-type': 'INFRA'
         };
         this.managemencs.createCustomer(this.addNewCustomer, createParams).subscribe((data) => {
             if (data["status"] == 'SUCCESS') {
-                this.notification.notificationSuccess('Customer','Create',this.addNewCustomer);
+                this.notification.notificationSuccess('Customer', 'Create', this.addNewCustomer);
                 this.getAllCustomers();
             } else {
-                this.notification.notificationFailed('Customer','Create',this.addNewCustomer);
+                this.notification.notificationFailed('Customer', 'Create', this.addNewCustomer);
             }
         })
     }
@@ -398,7 +398,7 @@ export class CustomerComponent implements OnInit {
     }
     deleteCustomerOk() {
         this.deleteCustomerModelVisible = false;
-        this.getCustomerVersion(this.thisdeleteCustomer,);
+        this.getCustomerVersion(this.thisdeleteCustomer);
     }
     getCustomerVersion(thisdeleteCustomer) {
         this.managemencs.getdeleteCustomerVersion(thisdeleteCustomer).subscribe((data) => {
@@ -416,10 +416,10 @@ export class CustomerComponent implements OnInit {
     deleteCustomer(paramsObj) {
         this.managemencs.deleteSelectCustomer(paramsObj).subscribe((data) => {
             if (data["status"] == 'SUCCESS') {
-                this.notification.notificationSuccess('Customer','delete',this.thisdeleteCustomer.name);
+                this.notification.notificationSuccess('Customer', 'delete', this.thisdeleteCustomer.name);
                 this.getAllCustomers();
             } else {
-                this.notification.notificationFailed('Customer','delete',this.thisdeleteCustomer.name);
+                this.notification.notificationFailed('Customer', 'delete', this.thisdeleteCustomer.name);
             }
         })
     }
@@ -433,10 +433,10 @@ export class CustomerComponent implements OnInit {
         };
         this.managemencs.createServiceType(createParams).subscribe((data) => {
             if (data["status"] == 'SUCCESS') {
-                this.notification.notificationSuccess('ServiceType','Create',this.addNewServiceType);
+                this.notification.notificationSuccess('ServiceType', 'Create', this.addNewServiceType);
                 this.getAllCustomers();
             } else {
-                this.notification.notificationFailed('ServiceType','Create',this.addNewServiceType);
+                this.notification.notificationFailed('ServiceType', 'Create', this.addNewServiceType);
             }
         })
     }
@@ -477,10 +477,10 @@ export class CustomerComponent implements OnInit {
     deleteServiceType(params) {
         this.managemencs.deleteSelectServiceType(params).subscribe((data) => {
             if (data["status"] == 'SUCCESS') {
-                this.notification.notificationSuccess('ServiceType','delete',this.thisdeleteServiceType["type"]);
+                this.notification.notificationSuccess('ServiceType', 'delete', this.thisdeleteServiceType["type"]);
                 this.getAllCustomers();
             } else {
-                this.notification.notificationFailed('ServiceType','delete',this.thisdeleteServiceType["type"]);
+                this.notification.notificationFailed('ServiceType', 'delete', this.thisdeleteServiceType["type"]);
             }
         })
     }