use of org.onap.so.apihandlerinfra.tenantisolation.CloudOrchestrationRequest in project so by onap.
the class CreateEcompOperationalEnvironmentTest method getCloudOrchestrationRequest.
public CloudOrchestrationRequest getCloudOrchestrationRequest() {
CloudOrchestrationRequest request = new CloudOrchestrationRequest();
RequestDetails reqDetails = new RequestDetails();
RequestInfo reqInfo = new RequestInfo();
RequestParameters reqParams = new RequestParameters();
reqParams.setTenantContext("TEST");
reqParams.setWorkloadContext("ECOMP_TEST");
reqParams.setOperationalEnvironmentType(OperationalEnvironment.ECOMP);
reqInfo.setInstanceName("TEST_ECOMP_ENVIRONMENT");
reqDetails.setRequestInfo(reqInfo);
reqDetails.setRequestParameters(reqParams);
request.setRequestDetails(reqDetails);
request.setOperationalEnvironmentId("operationalEnvId");
return request;
}
use of org.onap.so.apihandlerinfra.tenantisolation.CloudOrchestrationRequest in project so by onap.
the class AAIClientObjectBuilderTest method getCloudOrchestrationRequest.
public CloudOrchestrationRequest getCloudOrchestrationRequest() {
CloudOrchestrationRequest cor = new CloudOrchestrationRequest();
RequestDetails reqDetails = new RequestDetails();
RequestInfo reqInfo = new RequestInfo();
RequestParameters reqParams = new RequestParameters();
reqParams.setTenantContext("TEST");
reqParams.setWorkloadContext("ECOMP_TEST");
reqParams.setOperationalEnvironmentType(OperationalEnvironment.ECOMP);
reqInfo.setInstanceName("TEST_ECOMP_ENVIRONMENT");
reqDetails.setRequestInfo(reqInfo);
reqDetails.setRequestParameters(reqParams);
cor.setRequestDetails(reqDetails);
return cor;
}
Aggregations