Hi guys,
I 'm running camunda’s rest engine as standalone spring boot application. I added some custom Rest-Controller myself, however, there is no chance for me to reach out to these manually added endpoints. I did research myself and came across the following guide: Embed the API
However, I am struggling to apply the steps the above mentioned guide suggests. I cannot find a class called that looks like the pattern of JAX-RS application. Attached, please find the Rest-Controller’s code. Can anyone provide guidance?
@RestController
@RequestMapping("/processes")
public class ProcessRestController {
@Autowired
private ProcessOverviewService processOverviewService;
@GetMapping("getProcesses")
@ResponseStatus(HttpStatus.OK)
public ResponseEntity<List<ProcessOverviewDto>> getProcesses(){
try {
return ResponseEntity.ok(processOverviewService.getOverviewOfProcesses());
} catch (Exception e){
return ResponseEntity.status(HttpStatus.INTERNAL_SERVER_ERROR).build();
}
}
}