diff options
author | sj108s <sj108s@us.att.com> | 2018-04-27 16:34:48 +0530 |
---|---|---|
committer | sj108s <sj108s@us.att.com> | 2018-04-27 16:53:25 +0530 |
commit | f50c51684b3dde7e9a3f4641f0fd5ee64cf45ff0 (patch) | |
tree | f0341382934c5580927f9e8d00c99e4c19932303 /src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts | |
parent | 3b905ee77fec432d3e44088787c4a810ced52d3e (diff) |
Fixed parsing of retrieved openstack ref data
Fixed parsing of retrieved data in case of openstack action and also
fixed browser hang while syncing large template
Issue-ID: APPC-867
Change-Id: I3058626cb5a21c01a9b261d470672db5d0f17926
Signed-off-by: sj108s <sj108s@us.att.com>
Diffstat (limited to 'src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts')
-rw-r--r-- | src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts index 80269cb..3c95859 100644 --- a/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts +++ b/src/app/vnfs/build-artifacts/parameter-definitions/parameter.component.ts @@ -252,7 +252,7 @@ export class ParameterComponent implements OnInit { this.displayParamObjects = []; this.modelParamDefinitionObjects = []; if (this.paramShareService.getSessionParamData() != undefined && this.paramShareService.getSessionParamData().length > 0) { - this.displayParamObjects = this.paramShareService.getSessionParamData(); + this.getPDFromSession(); } else { this.getPD(); } @@ -296,6 +296,21 @@ export class ParameterComponent implements OnInit { } + public getPDFromSession() { + + this.ngProgress.start(); + return this.httpService.get({ + url: 'testurl', + }).subscribe(data => { + this.displayParamObjects = this.paramShareService.getSessionParamData(); + this.ngProgress.done(); + }, + error => { + this.displayParamObjects = this.paramShareService.getSessionParamData(); + this.ngProgress.done(); + }); + } + //========================== End of NGInit() Method============================================ selectedNavItem(item: any) { this.item = item; |