diff --git a/TODO.md b/TODO.md index a4e7bbd7..1e54e632 100644 --- a/TODO.md +++ b/TODO.md @@ -1,5 +1,9 @@ # TODO LIST + +* TODO/BUG MapMetaDataService.mapExists cache gets not deleted after map was imported! + + * map scanner: heigthmap, forest heatmap, military heatmap, industrial heatmap, civil heatmap * unit scanner: run regularly * persist? diff --git a/src/main/java/com/recom/api/messagebus/MessageBusController.java b/src/main/java/com/recom/api/messagebus/MessageBusController.java index 5224e32d..572afd1d 100644 --- a/src/main/java/com/recom/api/messagebus/MessageBusController.java +++ b/src/main/java/com/recom/api/messagebus/MessageBusController.java @@ -55,13 +55,13 @@ public class MessageBusController { @ApiResponse(responseCode = HttpCommons.UNAUTHORIZED_CODE, description = HttpCommons.UNAUTHORIZED, content = @Content()) }) @PostMapping(path = "/form", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_FORM_URLENCODED_VALUE) - public ResponseEntity getMessagesForm( + public ResponseEntity messageBusFORM( @RequestParam(required = true) @NonNull final Map payload ) { log.debug("Requested POST /api/v1/message-bus/form (FORM)"); - return getMessagesJSON(payloadParser.parseValidated(payload, MessageBusLongPollRequestDto.class)); + return messageBusJSON(payloadParser.parseValidated(payload, MessageBusLongPollRequestDto.class)); } @Operation( @@ -74,7 +74,7 @@ public ResponseEntity getMessagesForm( @ApiResponse(responseCode = HttpCommons.UNAUTHORIZED_CODE, description = HttpCommons.UNAUTHORIZED, content = @Content()) }) @PostMapping(path = "", produces = MediaType.APPLICATION_JSON_VALUE, consumes = MediaType.APPLICATION_JSON_VALUE) - public ResponseEntity getMessagesJSON( + public ResponseEntity messageBusJSON( @RequestBody(required = true) @NonNull @Valid final MessageBusLongPollRequestDto messageBusLongPollRequestDto ) {