From d350d5ac25c8df2846e4f0d9082cb4d364a17a83 Mon Sep 17 00:00:00 2001 From: "Sonsino, Ofir (os0695)" Date: Mon, 6 Aug 2018 16:14:59 +0300 Subject: UI Feature flagging support Change-Id: Ic2151dab6306c42364483e9064c01bab3dd7378b Issue-ID: VID-208 Signed-off-by: Sonsino, Ofir (os0695) --- .../src/main/webapp/app/vid/scripts/services/dataService.js | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'vid-app-common/src/main/webapp/app/vid/scripts/services/dataService.js') diff --git a/vid-app-common/src/main/webapp/app/vid/scripts/services/dataService.js b/vid-app-common/src/main/webapp/app/vid/scripts/services/dataService.js index 77523e9c9..0e1635512 100755 --- a/vid-app-common/src/main/webapp/app/vid/scripts/services/dataService.js +++ b/vid-app-common/src/main/webapp/app/vid/scripts/services/dataService.js @@ -257,6 +257,9 @@ var DataService = function($log, DataService) { getServiceInstanceToCustomer : function() { return _this.serviceInstanceToCustomer; }, + getMsoRequestParametersTestApi: function(){ + return sessionStorage.getItem("msoRequestParametersTestApiValue"); + }, setALaCarte : function(aval) { _this.aLaCarte = aval; }, @@ -267,6 +270,15 @@ var DataService = function($log, DataService) { } return _this.aLaCarte; }, + setShouldExcludeMacroFromAsyncInstatiationFlow: function (val) { + _this.shouldExcludeMacroFromAsyncInstatiationFlow = val; + }, + getShouldExcludeMacroFromAsyncInstatiationFlow: function(){ + if (_this.shouldExcludeMacroFromAsyncInstatiationFlow === undefined) { + return false; + } + return _this.shouldExcludeMacroFromAsyncInstatiationFlow; + }, setMacro : function(aval) { _this.macro = aval; }, -- cgit 1.2.3-korg