Package de.otto.synapse.edison.state
Class StateRepositoryUiController
java.lang.Object
de.otto.synapse.edison.state.StateRepositoryUiController
@Controller
@ConditionalOnBean(de.otto.synapse.state.StateRepository.class)
@ConditionalOnProperty(prefix="synapse.edison.state.ui",
name="enabled",
havingValue="true",
matchIfMissing=true)
public class StateRepositoryUiController
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionStateRepositoryUiController(List<de.otto.synapse.state.StateRepository<?>> stateRepositories, de.otto.synapse.journal.JournalRegistry journals, de.otto.edison.navigation.NavBar rightNavBar, EdisonStateRepositoryUiProperties properties, String managementBasePath) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.web.servlet.ModelAndViewgetEntityHtml(String repositoryName, String entityId) org.springframework.web.servlet.ViewgetEntityHtmlRedirect(String repositoryName, String entityId) org.springframework.web.servlet.ModelAndViewgetStateRepositoryHtml(String repositoryName, int page, int pageSize, org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder)
-
Constructor Details
-
Method Details
-
getStateRepositoryHtml
@GetMapping(path="${edison.application.management.base-path:internal}/staterepositories/{repositoryName}", produces="text/html") public org.springframework.web.servlet.ModelAndView getStateRepositoryHtml(@PathVariable String repositoryName, @RequestParam(defaultValue="0") int page, @RequestParam(defaultValue="100") int pageSize, org.springframework.web.util.UriComponentsBuilder uriComponentsBuilder) -
getEntityHtmlRedirect
-
getEntityHtml
-