Search in sources :

Example 21 with RequestParameters

use of org.onap.so.serviceinstancebeans.RequestParameters in project so by onap.

the class VnfDeleteValidatorTest method createServiceInstancesRequest.

public ServiceInstancesRequest createServiceInstancesRequest(boolean alacarte) {
    ServiceInstancesRequest sir = new ServiceInstancesRequest();
    sir.setRequestDetails(new RequestDetails());
    sir.getRequestDetails().setRequestParameters(new RequestParameters());
    sir.getRequestDetails().getRequestParameters().setaLaCarte(alacarte);
    return sir;
}
Also used : ServiceInstancesRequest(org.onap.so.serviceinstancebeans.ServiceInstancesRequest) RequestDetails(org.onap.so.serviceinstancebeans.RequestDetails) RequestParameters(org.onap.so.serviceinstancebeans.RequestParameters)

Aggregations

RequestParameters (org.onap.so.serviceinstancebeans.RequestParameters)21 RequestDetails (org.onap.so.serviceinstancebeans.RequestDetails)12 ModelInfo (org.onap.so.serviceinstancebeans.ModelInfo)7 Test (org.junit.Test)6 HashMap (java.util.HashMap)5 RequestInfo (org.onap.so.serviceinstancebeans.RequestInfo)5 ObjectMapper (com.fasterxml.jackson.databind.ObjectMapper)4 Map (java.util.Map)4 GeneralBuildingBlock (org.onap.so.bpmn.servicedecomposition.entities.GeneralBuildingBlock)4 ServiceInstancesRequest (org.onap.so.serviceinstancebeans.ServiceInstancesRequest)4 File (java.io.File)3 ArrayList (java.util.ArrayList)3 Customer (org.onap.so.bpmn.servicedecomposition.bbobjects.Customer)3 ServiceSubscription (org.onap.so.bpmn.servicedecomposition.bbobjects.ServiceSubscription)3 ExecuteBuildingBlock (org.onap.so.bpmn.servicedecomposition.entities.ExecuteBuildingBlock)3 ResourceKey (org.onap.so.bpmn.servicedecomposition.entities.ResourceKey)3 ValidationException (org.onap.so.exceptions.ValidationException)3 CloudConfiguration (org.onap.so.serviceinstancebeans.CloudConfiguration)3 SubscriberInfo (org.onap.so.serviceinstancebeans.SubscriberInfo)3 Actions (org.onap.so.apihandlerinfra.Actions)2