Package de.otto.synapse.edison.history
Class HistoryController
- java.lang.Object
-
- de.otto.synapse.edison.history.HistoryController
-
@ConditionalOnProperty(prefix="synapse.edison.history", name="enabled", havingValue="true") @Controller public class HistoryController extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HistoryController(HistoryService historyService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,?>>getHistoryAsJson(java.lang.String type, java.lang.String entityId)
-
-
-
Constructor Detail
-
HistoryController
public HistoryController(HistoryService historyService)
-
-
Method Detail
-
getHistoryAsJson
@GetMapping(value="${edison.application.management.base-path:internal}/history/{type}/{entityId}", produces="application/json") public org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,?>> getHistoryAsJson(@PathVariable java.lang.String type, @PathVariable java.lang.String entityId)
-
-