@Transactional(readOnly=true) @RestController public class RunCallChainController extends ExecutorControllerHelper
| Modifier and Type | Class and Description |
|---|---|
static class |
RunCallChainController.AbstractSubscriber |
static class |
RunCallChainController.FinishTCContextSubscriber |
static class |
RunCallChainController.StartChainSubscriber |
BULK_VALIDATOR_INTEGRATIONGSON| Constructor and Description |
|---|
RunCallChainController(CallChainExecutorManager callChainExecutorManager,
org.qubership.automation.itf.core.util.report.ReportLinkCollector reportLinkCollector,
org.springframework.core.env.Environment env,
EventBusProvider eventBusProvider,
ReportsService reportsService) |
| Modifier and Type | Method and Description |
|---|---|
List<UIDataSet> |
getDataSets(String id,
String chainId,
BigInteger projectId,
UUID projectUuid) |
UISendRun |
runCallChain(String id,
String dataset,
String datasetId,
String environment,
String environmentId,
UIDataSet customizedDataset,
boolean runBvCase,
String bvAction,
boolean needToLogInATP,
Map<String,String> tcpDumpParams,
boolean runValidation,
boolean runStepByStep,
BigInteger projectId,
boolean standalone,
UUID projectUuid) |
List<UISendRun> |
runEx(String name,
String id,
String environment,
String environmentId,
String tcContext,
boolean runBvCase,
UIRequestBody requestBody,
String bvAction,
boolean needToLogInAtp,
boolean createTcpDump,
boolean runValidation,
boolean runStepByStep,
BigInteger projectId,
boolean standalone,
UUID projectUuid) |
UISendRun |
runSimple(String id,
String dataset,
String environment,
int timer,
String body,
String datasetId,
String storedContextId,
String bvAction,
BigInteger projectId,
boolean standalone,
UUID projectUuid) |
UISendRun |
runSimpleGet(String id,
String dataset,
int timer,
String environment,
String datasetid,
String storedContextId,
String bvAction,
BigInteger projectId,
boolean standalone,
UUID projectUuid) |
void |
terminateContext(BigInteger contextId,
UUID projectUuid,
String tenantId) |
findDataSetByName, findIntegrationConfigaddEventTriggers, addInterceptorConfiguration, createInterceptorByProvider, fillInterceptorParams, findInterceptorByIdAndProvider, get, getInterceptorProvider, getInterceptorsMaxOrder, getManager, getName, getTopStackTrace, interceptorParamsToMap, IsInGroup, reactivateInterceptor, remove, remove, remove, throwExceptionIfNull, throwExceptionIfNull, throwExceptionIfNull, toConditionParameters, validateParsingRuleconversionOfTree, convertMapOfTypeToUITypeList, fillObjectList, fillTreeElementList, fillUIList, getDefinitionValue, getObjectList, getTreeElementList, getUIKeys, getUIList, getUIPresentationByStorable, initializeObjects, isNotNullCopyOfImmutableList, saveSteps, toJSONContext, updateObject@Autowired public RunCallChainController(CallChainExecutorManager callChainExecutorManager, org.qubership.automation.itf.core.util.report.ReportLinkCollector reportLinkCollector, org.springframework.core.env.Environment env, EventBusProvider eventBusProvider, ReportsService reportsService)
@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'EXECUTE\')")
@RequestMapping(value="/callchain/run",
method=POST)
public List<UISendRun> runEx(@RequestParam(value="name",defaultValue="")
String name,
@RequestParam(value="id",defaultValue="")
String id,
@RequestParam(value="environment")
String environment,
@RequestParam(value="environmentId")
String environmentId,
@RequestParam(value="tccontext",required=false,defaultValue="")
String tcContext,
@RequestParam(value="runBvCase",required=false,defaultValue="false")
boolean runBvCase,
@RequestBody
UIRequestBody requestBody,
@RequestParam(value="bvAction",required=false,defaultValue="")
String bvAction,
@RequestParam(value="needToLogInAtp",required=false)
boolean needToLogInAtp,
@RequestParam(value="createTcpDump",required=false,defaultValue="false")
boolean createTcpDump,
@RequestParam(value="runValidation",required=false,defaultValue="false")
boolean runValidation,
@RequestParam(value="runStepByStep",required=false,defaultValue="false")
boolean runStepByStep,
@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="standalone",required=false,defaultValue="false")
boolean standalone,
@RequestParam(value="projectUuid")
UUID projectUuid)
@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'EXECUTE\')")
@RequestMapping(value="/callchain/run/simple",
method=GET)
public UISendRun runSimpleGet(@RequestParam(value="id")
String id,
@RequestParam(value="dataset",required=false)
String dataset,
@RequestParam(value="timer")
int timer,
@RequestParam(value="environment")
String environment,
@RequestParam(value="datasetid",required=false)
String datasetid,
@RequestParam(value="storedContextId",required=false)
String storedContextId,
@RequestParam(value="bvAction",required=false,defaultValue="")
String bvAction,
@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="standadlone",required=false,defaultValue="false")
boolean standalone,
@RequestParam(value="projectUuid")
UUID projectUuid)
throws Exception
Exception@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'EXECUTE\')")
@RequestMapping(value="/callchain/run/simple",
method=POST)
public UISendRun runSimple(@RequestParam(value="id")
String id,
@RequestParam(value="dataset",required=false)
String dataset,
@RequestParam(value="environment")
String environment,
@RequestParam(value="timer")
int timer,
@RequestBody(required=false)
String body,
@RequestParam(value="datasetid",required=false)
String datasetId,
@RequestParam(value="storedContextId",required=false)
String storedContextId,
@RequestParam(value="bvAction",required=false,defaultValue="")
String bvAction,
@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="standalone",required=false,defaultValue="false")
boolean standalone,
@RequestParam(value="projectUuid")
UUID projectUuid)
throws Exception
Exception@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'READ\')")
@RequestMapping(value="/callchain/datasets/ds",
method=GET)
public List<UIDataSet> getDataSets(@RequestParam(value="id",defaultValue="0")
String id,
@RequestParam(value="chainId",defaultValue="0")
String chainId,
@RequestParam(value="projectId")
BigInteger projectId,
@RequestParam(value="projectUuid")
UUID projectUuid)
throws IOException
IOException@Transactional(readOnly=true)
@PreAuthorize(value="@entityAccess.checkAccess(T(org.qubership.automation.itf.ui.util.UserManagementEntities).CALLCHAIN.getName(),#projectUuid, \'EXECUTE\')")
@RequestMapping(value="/callchain/run/terminateContext",
method=GET)
public void terminateContext(@RequestParam(value="contextId")
BigInteger contextId,
@RequestParam(value="projectUuid")
UUID projectUuid,
@RequestHeader(value="X-Project-Id")
String tenantId)
public UISendRun runCallChain(String id, String dataset, String datasetId, String environment, String environmentId, UIDataSet customizedDataset, boolean runBvCase, String bvAction, boolean needToLogInATP, Map<String,String> tcpDumpParams, boolean runValidation, boolean runStepByStep, BigInteger projectId, boolean standalone, UUID projectUuid) throws Exception
ExceptionCopyright © 2025. All rights reserved.