use of org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource in project so by onap.
the class BuildingBlockTestDataSetup method setAllottedResource.
public AllottedResource setAllottedResource(String uniqueIdentifier) {
AllottedResource ar = new AllottedResource();
ar.setId("testAllottedResourceId" + uniqueIdentifier);
ModelInfoAllottedResource modelInfo = new ModelInfoAllottedResource();
modelInfo.setModelInvariantUuid("testAllottedModelInvariantUuid" + uniqueIdentifier);
modelInfo.setModelName("testAllottedModelName" + uniqueIdentifier);
modelInfo.setModelUuid("testAllottedModelUuid" + uniqueIdentifier);
modelInfo.setModelVersion("testAllottedModelVersion" + uniqueIdentifier);
modelInfo.setModelInstanceName("testAllottedModelInstanceName" + uniqueIdentifier);
ar.setModelInfoAllottedResource(modelInfo);
return ar;
}
use of org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource in project so by onap.
the class TestDataSetup method setAllottedResource.
public AllottedResource setAllottedResource(String uniqueIdentifier) {
AllottedResource ar = new AllottedResource();
ar.setId("testAllottedResourceId" + uniqueIdentifier);
ModelInfoAllottedResource modelInfo = new ModelInfoAllottedResource();
modelInfo.setModelInvariantUuid("testAllottedModelInvariantUuid" + uniqueIdentifier);
modelInfo.setModelName("testAllottedModelName" + uniqueIdentifier);
modelInfo.setModelUuid("testAllottedModelUuid" + uniqueIdentifier);
modelInfo.setModelVersion("testAllottedModelVersion" + uniqueIdentifier);
modelInfo.setModelInstanceName("testAllottedModelInstanceName" + uniqueIdentifier);
ar.setModelInfoAllottedResource(modelInfo);
return ar;
}
Aggregations