diff --git a/config-editor/config-editor-rest/src/main/java/uk/co/gresearch/siembol/configeditor/rest/SynchronisationServiceController.java b/config-editor/config-editor-rest/src/main/java/uk/co/gresearch/siembol/configeditor/rest/SynchronisationServiceController.java index 361d37d66..8fb713b8c 100644 --- a/config-editor/config-editor-rest/src/main/java/uk/co/gresearch/siembol/configeditor/rest/SynchronisationServiceController.java +++ b/config-editor/config-editor-rest/src/main/java/uk/co/gresearch/siembol/configeditor/rest/SynchronisationServiceController.java @@ -69,6 +69,7 @@ public ResponseEntity synchronise( } @SecurityRequirement(name = SWAGGER_AUTH_SCHEMA) + @CrossOrigin @GetMapping(value = "/api/v1/{service}/topologies", produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity getTopologies( @AuthenticationPrincipal Object principal, @@ -81,6 +82,7 @@ public ResponseEntity getTopologies( } @SecurityRequirement(name = SWAGGER_AUTH_SCHEMA) + @CrossOrigin @PostMapping(value = "/api/v1/{service}/topologies/{topology}/restart", produces = MediaType.APPLICATION_JSON_VALUE) public ResponseEntity restartTopology( @AuthenticationPrincipal Object principal,