Search in sources :

Example 1 with ModelInfoAllottedResource

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;
}
Also used : ModelInfoAllottedResource(org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource) ModelInfoAllottedResource(org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource) AllottedResource(org.onap.so.bpmn.servicedecomposition.bbobjects.AllottedResource)

Example 2 with ModelInfoAllottedResource

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;
}
Also used : ModelInfoAllottedResource(org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource) ModelInfoAllottedResource(org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource) AllottedResource(org.onap.so.bpmn.servicedecomposition.bbobjects.AllottedResource)

Aggregations

AllottedResource (org.onap.so.bpmn.servicedecomposition.bbobjects.AllottedResource)2 ModelInfoAllottedResource (org.onap.so.bpmn.servicedecomposition.modelinfo.ModelInfoAllottedResource)2