diff options
author | Keguang He <hekeguang@chinamobile.com> | 2022-03-21 07:30:40 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2022-03-21 07:30:40 +0000 |
commit | 0b9d6ded59f73d8f48975f66481053c85fb17cd5 (patch) | |
tree | ad135c3d63e894adc7e2f22220d4ea958e23b0b6 /usecaseui-portal/src/app/views/fcaps | |
parent | 067fe18168fae8b5cf5ac211dcf1f52f476e8bb7 (diff) | |
parent | dc2d38249ca5ac3127c260745af6251604e35a80 (diff) |
Merge "feat: intent instance management"
Diffstat (limited to 'usecaseui-portal/src/app/views/fcaps')
-rw-r--r-- | usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts b/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts index f86f02c1..858bfac2 100644 --- a/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts +++ b/usecaseui-portal/src/app/views/fcaps/monitor-management-service/monitor-facps-service/monitor-facps-service.component.ts @@ -1,5 +1,6 @@ import { HttpClient } from "@angular/common/http"; import { Component, OnInit } from "@angular/core"; +import { ActivatedRoute } from '@angular/router'; import { NzMessageService } from "ng-zorro-antd"; import { intentBaseService } from "../../../../core/services/intentBase.service"; @@ -13,7 +14,8 @@ export class MonitorFacpsServiceComponent implements OnInit { constructor( private nzMessage: NzMessageService, private myHttp: intentBaseService, - private http: HttpClient + private http: HttpClient, + private route: ActivatedRoute ) {} selectedSubscriptionType: string = ""; @@ -57,6 +59,14 @@ export class MonitorFacpsServiceComponent implements OnInit { progressSetTimeOut: any; ngOnInit() { + this.route.queryParams.subscribe( + params => { + this.instanceId= params['instanceId']; + if (this.instanceId) { + this.queryInstancePerformance(this.instanceId); + } + } + ); this.getFinishedInstanceInfo(); this.initOpts = { renderer: "canvas", |