@CrossOrigin @RestController public class AtpItfStubsController extends Object
| Constructor and Description |
|---|
AtpItfStubsController(OnStartupTriggersActivationService onStartupTriggersActivationService,
TriggerMaintainer triggerMaintainer) |
| Modifier and Type | Method and Description |
|---|---|
List<RoutesInformationResponse> |
getRoutes(String routeId,
UUID projectUuid)
Returns list of active routes (REST and SOAP).
|
boolean |
ping() |
String |
stopRoute(String routeId)
Stops route by routeId.
|
@Autowired public AtpItfStubsController(OnStartupTriggersActivationService onStartupTriggersActivationService, TriggerMaintainer triggerMaintainer)
@RequestMapping(value="/ping",
method=GET)
public boolean ping()
@PreAuthorize(value="@entityAccess.checkAccess(#projectUuid, \"READ\")")
@RequestMapping(value="/routes",
method=GET)
public List<RoutesInformationResponse> getRoutes(@RequestParam(required=false)
String routeId,
@RequestParam(value="projectUuid")
UUID projectUuid)
throws org.qubership.automation.itf.core.util.exception.TriggerException
routeId - - returns only information for specific route, all routes if routeId not defined.projectUuid - - list of routes will be filtered by projectUuid.org.qubership.automation.itf.core.util.exception.TriggerExceptionCopyright © 2025. All rights reserved.