componentId: COMPONENT.VNF,\r
callbackFunction: callbackFunction\r
});\r
- }\r
+ };\r
$scope.popup = new Object();\r
\r
\r
\r
$scope.getServiceTypes = function (globalCustomerId) {\r
DataService.setGlobalCustomerId(globalCustomerId);\r
- DataService.setServiceIdList($scope.customerList)\r
+ DataService.setServiceIdList($scope.customerList);\r
\r
if (globalCustomerId !== "" && globalCustomerId !== undefined) {\r
window.location.href = COMPONENT.SERVICE_TYPE_LIST_PATH + $scope.serviceTypeList;\r
}\r
- }\r
+ };\r
\r
$scope.refreshServiceTypes = function (globalCustomerId) {\r
DataService.setGlobalCustomerId(globalCustomerId);\r
\r
$scope.getServiceTypesList();\r
- }\r
+ };\r
\r
$scope.subId = "";\r
$scope.createSubscriberName = "";\r
$scope.subList = [];\r
$scope.getAaiServiceModels = function (selectedServicetype, subName) {\r
DataService.setGlobalCustomerId(selectedServicetype);\r
- DataService.setServiceIdList($scope.serviceTypeList)\r
+ DataService.setServiceIdList($scope.serviceTypeList);\r
DataService.setSubscriberName(subName);\r
\r
DataService.setSubscribers($scope.custSubList);\r
callbackFunction: function (response) {\r
}\r
});\r
- }\r
+ };\r
$scope.cancelCreateSIType = function () {\r
\r
window.location.href = COMPONENT.SERVICE_MODLES_INSTANCES_SUBSCRIBERS_PATH;\r
\r
- }\r
+ };\r
\r
$scope.fetchServices = function () {\r
var serviceIdList = [];\r
$scope.errorMsg = FIELD.ERROR.AAI_FETCHING_CUST_DATA + response.status;\r
$scope.errorDetails = response.data;\r
});\r
- }\r
+ };\r
\r
$scope.getPermitted = function (item) {\r
return item.isPermitted || item[FIELD.ID.IS_PERMITTED];\r
\r
- }\r
+ };\r
\r
\r
$scope.getSubDetails = function () {\r
$scope.enableCloseButton(false);\r
$scope.resetProgress();\r
$scope.setProgress(2); // Show "a little" progress\r
- }\r
+ };\r
\r
function getRelatedInstanceGroupsByVnfId(genericVnf) {\r
var model = vidService.getModel();\r
)\r
}\r
}\r
- })\r
+ });\r
}\r
}\r
\r
return resolveIfIsPermitted()\r
.then(function() {\r
return getAsdcModelByVersionId(modelVersionId);\r
- })\r
+ });\r
}\r
}\r
\r
// the response is erroneous\r
console.log("aaiSubscriber getAsdcModel BAD RESPONSE");\r
errorCallback(response);\r
- return $q.reject()\r
+ return $q.reject();\r
}\r
}, errorCallback);\r
\r
if (item[FIELD.ID.SERVICE_INSTANCES] != null) {\r
item[FIELD.ID.SERVICE_INSTANCES][FIELD.ID.SERVICE_INSTANCE].forEach(function (service) {\r
if (service[FIELD.ID.SERVICE_INSTANCE_ID] === serviceId) {\r
- orchStatus = service['orchestration-status']\r
+ orchStatus = service['orchestration-status'];\r
}\r
- })\r
+ });\r
}\r
});\r
return orchStatus;\r
}, function (response) {\r
//TODO\r
});\r
- }\r
+ };\r
\r
$scope.isConfigurationDataAvailiable = function (configuration) {\r
$log.debug(configuration);\r