DataService.setPnf(!angular.equals(serviceModel.pnfs, {}));\r
$scope.createType = COMPONENT.A_LA_CARTE;\r
var broadcastType = COMPONENT.CREATE_COMPONENT;\r
- if (AsdcService.isMacro(serviceModel)) {\r
+ if (AsdcService.isMacro(serviceModel) || DataService.getE2EService()) {\r
DataService.setALaCarte(false);\r
if(AsdcService.shouldExcludeMacroFromAsyncInstatiationFlow(serviceModel)){\r
DataService.setShouldExcludeMacroFromAsyncInstatiationFlow(true);\r
\r
"use strict";\r
\r
-var AsdcService = function ($http, $log, PropertyService, UtilityService, VIDCONFIGURATION, COMPONENT, featureFlags) {\r
+var AsdcService = function ($http, $log, PropertyService, UtilityService, VIDCONFIGURATION, COMPONENT, DataService, featureFlags) {\r
return {\r
getModel: function (modelId, successCallbackFunction) {\r
$log.debug("AsdcService:getModel: modelId: " + modelId);\r
shouldExcludeMacroFromAsyncInstatiationFlow: function(serviceModel){\r
if (!featureFlags.isOn(COMPONENT.FEATURE_FLAGS.FLAG_ASYNC_INSTANTIATION))\r
return true;\r
+ if (DataService.getE2EService())\r
+ return true;\r
if (!_.isEmpty(serviceModel.pnfs))\r
return true;\r
if (!_.isEmpty(serviceModel.collectionResource))\r
}\r
\r
appDS2.factory("AsdcService", ["$http", "$log", "PropertyService",\r
- "UtilityService", "VIDCONFIGURATION","COMPONENT", "featureFlags", AsdcService]);\r
+ "UtilityService", "VIDCONFIGURATION","COMPONENT", "DataService", "featureFlags", AsdcService]);\r