\r
var polls = PropertyService.retrieveMsoMaxPolls();\r
PropertyService.setMsoMaxPolls(polls);\r
- \r
- //PropertyService.setMsoBaseUrl("testmso");\r
- PropertyService.setServerResponseTimeoutMsec(30000);\r
};\r
\r
$scope.prevPage = function() {\r
"description": serviceModel.service.description,\r
"category":serviceModel.service.category\r
});\r
- DataService.setALaCarte (true);\r
+\r
+ var shouldTakeTheAsyncInstantiationFlow = AsdcService.shouldTakeTheAsyncInstantiationFlow(serviceModel);\r
+ DataService.setShouldIncludeInAsyncInstantiationFlow(shouldTakeTheAsyncInstantiationFlow);\r
+\r
+ DataService.setALaCarte (true);\r
DataService.setPnf(!angular.equals(serviceModel.pnfs, {}));\r
$scope.createType = COMPONENT.A_LA_CARTE;\r
var broadcastType = COMPONENT.CREATE_COMPONENT;\r
if (AsdcService.isMacro(serviceModel) || DataService.getE2EService()) {\r
DataService.setALaCarte(false);\r
- if(AsdcService.shouldExcludeMacroFromAsyncInstatiationFlow(serviceModel)){\r
- DataService.setShouldExcludeMacroFromAsyncInstatiationFlow(true);\r
+ if(!shouldTakeTheAsyncInstantiationFlow){\r
$scope.createType = COMPONENT.MACRO;\r
var convertedAsdcModel = UtilityService.convertModel(serviceModel);\r
\r
"serviceRole": serviceModel.service.serviceRole,\r
"displayInputs": convertedAsdcModel.completeDisplayInputs\r
});\r
-\r
}\r
}\r
\r