diff options
author | Ittay Stern <ittay.stern@att.com> | 2020-01-27 19:10:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-01-27 19:10:41 +0000 |
commit | ae5156453ebf0c8c81c5aa2f791bb527dbf344ad (patch) | |
tree | 595da72e11ad39a2fbea2e72a0abf16c9efd1b90 /vid-webpack-master/src/app/shared/services/aaiService | |
parent | 79a8f61035752620b50a0fb42d98361f21962cd9 (diff) | |
parent | 3f216a5ba38d70c193256f05c634093da9599984 (diff) |
Merge "When feature toggle is active then SDNC preload files is enable."
Diffstat (limited to 'vid-webpack-master/src/app/shared/services/aaiService')
-rw-r--r-- | vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts b/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts index 1cc5593f7..9026a5648 100644 --- a/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts +++ b/vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts @@ -44,6 +44,11 @@ export class AaiService { } + sdncPreload(): Observable<boolean> { + let pathQuery: string = Constants.Path.PRE_LOAD; + return this.http.post<boolean>(pathQuery, {}) + } + getServiceModelById = (serviceModelId: string): Observable<any> => { if (_.has(this.store.getState().service.serviceHierarchy, serviceModelId)) { return of(<any> JSON.parse(JSON.stringify(this.store.getState().service.serviceHierarchy[serviceModelId]))); |