@Controller
@ConditionalOnBean(value=de.otto.synapse.state.StateRepository.class)
@ConditionalOnProperty(prefix="synapse.edison.state.ui",
name="enabled",
havingValue="true",
matchIfMissing=true)
public class JournalUiController
extends java.lang.Object
| Constructor and Description |
|---|
JournalUiController(de.otto.synapse.journal.JournalRegistry journals) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
getEntityJournalHtml(java.lang.String repositoryName,
java.lang.String entityId)
Returns a HTML UI for the event journal of a single event-sourced entity.
|
public JournalUiController(de.otto.synapse.journal.JournalRegistry journals)
@GetMapping(path="${edison.application.management.base-path:internal}/journals/{repositoryName}/{entityId}",
produces="text/html")
public org.springframework.web.servlet.ModelAndView getEntityJournalHtml(@PathVariable
java.lang.String repositoryName,
@PathVariable
java.lang.String entityId)
repositoryName - the name of the JournalentityId - the id of the requested entity