option = {
name: constraintsArray[i][PARAMETER.VALID_VALUES][j],
isDefault: false
- }
+ };
if ( ( UtilityService.hasContents (inputs[key][PARAMETER.DEFAULT]) )
&& (inputs[key][PARAMETER.DEFAULT] === constraintsArray[i][PARAMETER.VALID_VALUES][j] ) ) {
option = {
parameter.min = constraintsArray[i][PARAMETER.IN_RANGE][0];
parameter.max = constraintsArray[i][PARAMETER.IN_RANGE][1];
parameter.type = PARAMETER.NUMBER;
- parameter.value = inputs[key][PARAMETER.DEFAULT]
+ parameter.value = inputs[key][PARAMETER.DEFAULT];
parameterList.push(parameter);
parameterPushed = true;
//console.log ("pushed param for in_range");
if ( constraintsArray[i][PARAMETER.GREATER_THAN] != null ) {
parameter.type = PARAMETER.NUMBER;
parameter.min = constraintsArray[i][PARAMETER.GREATER_THAN];
- parameter.value = inputs[key][PARAMETER.DEFAULT]
+ parameter.value = inputs[key][PARAMETER.DEFAULT];
parameterList.push(parameter);
parameterPushed = true;
//console.log ("pushed param for greater_than");
var inventoryItem = DataService.getInventoryItem();
var inventoryInfo = ComponentService.getInventoryInfo(
_this.componentId, inventoryItem);
- }
+ };
/*
* The "*Mso*" functions return URL and request details that can be passed
if(lineOfBusiness) {
requestDetails.lineOfBusiness = {
lineOfBusinessName: lineOfBusiness
- }
+ };
}
requestDetails.platform = {
requestDetails.lineOfBusiness = {
lineOfBusinessName: lineOfBusinessNamesString
- }
+ };
}
var platform = getValueFromList(FIELD.ID.PLATFORM, parameterList);
"modelCustomizationId": modelInfo.customizationUuid,
"modelCustomizationName": modelInfo.modelCustomizationName
}
- }
+ };
}
relatedInstanceList.push({
relatedInstance : relatedInstance
arbitraryParameters = {
name: parameter.id,
value: parameter.value
- }
+ };
arbitraryArray.push(arbitraryParameters);
}
}
}
return (arbitraryArray);
- }
+ };
var getModel = function() {
AsdcService.getModel(DataService.getModelId(), function(response) {
getMsoRequestDetails : getMsoRequestDetails,
getMsoUrl : getMsoUrl,
setInventoryInfo: setInventoryInfo
- }
-}
+ };
+};
appDS2.factory("CreationService", [ "$log", "AaiService", "AsdcService",
"DataService","VIDCONFIGURATION", "ComponentService", "COMPONENT", "FIELD", "PARAMETER",