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
Modifier and Type Method Description org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,?>>getHistoryAsJson(java.lang.String type, java.lang.String entityId)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
HistoryController
-
-
Method Details
-
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)
-