@ConditionalOnProperty(prefix="synapse.edison.history",
name="enabled",
havingValue="true")
@Controller
public class HistoryController
extends java.lang.Object
| Constructor and Description |
|---|
HistoryController(HistoryService historyService) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<java.util.Map<java.lang.String,?>> |
getHistoryAsJson(java.lang.String type,
java.lang.String entityId) |
public HistoryController(HistoryService historyService)
@GetMapping(value="${management.context-path}/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)