Class MateuCompatController
java.lang.Object
io.mateu.remote.application.compat.MateuCompatController
@CrossOrigin
@RestController
@RequestMapping("mateu/compat/v1")
public class MateuCompatController
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateJourney(String journeyTypeId, String journeyId, JourneyCreationRq rq) reactor.core.publisher.Mono<Journey>getJourney(String journeyTypeId, String journeyId) getJourneyTypes(org.springframework.http.server.reactive.ServerHttpRequest serverHttpRequest) reactor.core.publisher.Mono<ListResponse>getListRows(String journeyTypeId, String journeyId, String stepId, String listId, int page, int size, Map<String, Object> filters, String ordering) reactor.core.publisher.Mono<Step>void
-
Constructor Details
-
MateuCompatController
public MateuCompatController()
-
-
Method Details
-
getUI
@GetMapping("uis/{uiId}") public UI getUI(@PathVariable String uiId, org.springframework.http.server.reactive.ServerHttpRequest serverHttpRequest) throws Exception - Throws:
Exception
-
getJourneyTypes
@GetMapping("journey-types") public List<JourneyType> getJourneyTypes(org.springframework.http.server.reactive.ServerHttpRequest serverHttpRequest) throws Exception - Throws:
Exception
-
createJourney
@PostMapping("journeys/{journeyTypeId}/{journeyId}") public void createJourney(@PathVariable String journeyTypeId, @PathVariable String journeyId, @RequestBody JourneyCreationRq rq) throws Throwable - Throws:
Throwable
-
getJourney
@GetMapping("journeys/{journeyTypeId}/{journeyId}") public reactor.core.publisher.Mono<Journey> getJourney(@PathVariable String journeyTypeId, @PathVariable String journeyId) throws Exception - Throws:
Exception
-
getStep
@GetMapping("journeys/{journeyTypeId}/{journeyId}/steps/{stepId}") public reactor.core.publisher.Mono<Step> getStep(@PathVariable String journeyTypeId, @PathVariable String journeyId, @PathVariable String stepId) throws Exception - Throws:
Exception
-
runStep
@PostMapping("journeys/{journeyTypeId}/{journeyId}/steps/{stepId}/{actionId}") public void runStep(@PathVariable String journeyTypeId, @PathVariable String journeyId, @PathVariable String stepId, @PathVariable String actionId, @RequestBody RunActionRq rq) throws Throwable - Throws:
Throwable
-
getListRows
@GetMapping("journeys/{journeyTypeId}/{journeyId}/steps/{stepId}/lists/{listId}/rows") public reactor.core.publisher.Mono<ListResponse> getListRows(@PathVariable String journeyTypeId, @PathVariable String journeyId, @PathVariable String stepId, @PathVariable String listId, @RequestParam int page, @RequestParam int size, @RequestBody Map<String, Object> filters, @RequestParam String ordering) throws Throwable- Throws:
Throwable
-