From 3f216a5ba38d70c193256f05c634093da9599984 Mon Sep 17 00:00:00 2001 From: Yoav Schneiderman Date: Wed, 22 Jan 2020 11:07:00 +0200 Subject: When feature toggle is active then SDNC preload files is enable. Issue-ID: VID-752 Change-Id: I96ef914bfe37d82da20085227b930523fcdba8fc Signed-off-by: Yoav Schneiderman --- vid-webpack-master/src/app/shared/services/aaiService/aai.service.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'vid-webpack-master/src/app/shared/services/aaiService') 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 { + let pathQuery: string = Constants.Path.PRE_LOAD; + return this.http.post(pathQuery, {}) + } + getServiceModelById = (serviceModelId: string): Observable => { if (_.has(this.store.getState().service.serviceHierarchy, serviceModelId)) { return of( JSON.parse(JSON.stringify(this.store.getState().service.serviceHierarchy[serviceModelId]))); -- cgit 1.2.3-korg