public class ScenarioSimulationServicesClientImpl extends AbstractKieServicesClientImpl implements ScenarioSimulationServicesClient
BYPASS_AUTH_USER, classLoader, config, loadBalancer, marshaller, owner| Constructor and Description |
|---|
ScenarioSimulationServicesClientImpl(KieServicesConfiguration config) |
ScenarioSimulationServicesClientImpl(KieServicesConfiguration config,
ClassLoader classLoader) |
| Modifier and Type | Method and Description |
|---|---|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> |
executeScenario(String containerId,
String content)
Execute given test scenario against specified containerId
|
org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> |
executeScenarioByPath(String containerId,
String localPath)
Execute given test scenario against specified containerId
|
buildQueryString, checkResultType, close, createExceptionForUnexpectedResponseCode, deserialize, encode, executeJmsCommand, executeJmsCommand, executeJmsCommand, executeJmsCommand, getAdditionalParams, getConversationId, getHeaders, getLoadBalancer, getMediaType, getMessage, getPagingQueryString, getResponseHandler, getSortingQueryString, getUserAndAdditionalParam, getUserAndAdditionalParams, getUserAndPagingQueryString, getUserQueryStr, initializeURI, invoke, makeBackwardCompatibleHttpPostRequestAndCreateServiceResponse, makeBackwardCompatibleHttpPostRequestAndCreateServiceResponse, makeHttpDeleteRequestAndCreateCustomResponse, makeHttpDeleteRequestAndCreateServiceResponse, makeHttpGetRequestAndCreateCustomResponse, makeHttpGetRequestAndCreateCustomResponseWithHandleNotFound, makeHttpGetRequestAndCreateRawResponse, makeHttpGetRequestAndCreateRawResponse, makeHttpGetRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateCustomResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPostRequestAndCreateServiceResponse, makeHttpPutRequestAndCreateCustomResponse, makeHttpPutRequestAndCreateCustomResponse, makeHttpPutRequestAndCreateServiceResponse, makeHttpPutRequestAndCreateServiceResponse, newRequest, safeList, safeMap, sendTaskOperation, serialize, setOwner, setResponseHandler, shouldReturnWithNullResponse, throwExceptionOnFailurepublic ScenarioSimulationServicesClientImpl(KieServicesConfiguration config)
public ScenarioSimulationServicesClientImpl(KieServicesConfiguration config, ClassLoader classLoader)
public org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> executeScenarioByPath(String containerId, String localPath) throws IOException
ScenarioSimulationServicesClientexecuteScenarioByPath in interface ScenarioSimulationServicesClientcontainerId - id of container to be used to execute the scenariolocalPath - to Test Scenario file (scesim) to be executed. It must be a valid Paths.get(String, String...) parameterIOExceptionpublic org.kie.server.api.model.ServiceResponse<org.kie.server.api.model.scenariosimulation.ScenarioSimulationResult> executeScenario(String containerId, String content)
ScenarioSimulationServicesClientexecuteScenario in interface ScenarioSimulationServicesClientcontainerId - id of container to be used to execute the scenariocontent - of Test Scenario file (scesim) to be executed. This string should contain the XML of the scesim fileCopyright © 2001–2021 JBoss by Red Hat. All rights reserved.