Class GraphController
java.lang.Object
ch.admin.bit.jeap.reaction.observer.web.api.GraphController
-
Constructor Summary
ConstructorsConstructorDescriptionGraphController(GraphHolder graphHolder, GraphFingerprintCalculator fingerprintCalculator, ch.admin.bit.jeap.reaction.observer.domain.GraphExtractor graphExtractor) -
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<GraphWithFingerprintDto> org.springframework.http.ResponseEntity<GraphWithFingerprintDto> getComponentRelatedGraph(String componentName) org.springframework.http.ResponseEntity<Map<String, GraphWithFingerprintDto>> getMessageTypeRelatedGraphs(String messageType) org.springframework.http.ResponseEntity<GraphWithFingerprintDto> getSystemRelatedGraph(String systemName)
-
Constructor Details
-
GraphController
public GraphController(GraphHolder graphHolder, GraphFingerprintCalculator fingerprintCalculator, ch.admin.bit.jeap.reaction.observer.domain.GraphExtractor graphExtractor)
-
-
Method Details
-
getAllReactionsGraph
@PreAuthorize("hasAnyRole(\'reaction-observer-read\')") @GetMapping("/graphs") public org.springframework.http.ResponseEntity<GraphWithFingerprintDto> getAllReactionsGraph() -
getSystemRelatedGraph
@PreAuthorize("hasAnyRole(\'reaction-observer-read\')") @GetMapping("/graphs/systems/{systemName}") public org.springframework.http.ResponseEntity<GraphWithFingerprintDto> getSystemRelatedGraph(@PathVariable String systemName) -
getComponentRelatedGraph
@PreAuthorize("hasAnyRole(\'reaction-observer-read\')") @GetMapping("/graphs/components/{componentName}") public org.springframework.http.ResponseEntity<GraphWithFingerprintDto> getComponentRelatedGraph(@PathVariable String componentName) -
getMessageTypeRelatedGraphs
@PreAuthorize("hasAnyRole(\'reaction-observer-read\')") @GetMapping("/graphs/messages/{messageType}") public org.springframework.http.ResponseEntity<Map<String,GraphWithFingerprintDto>> getMessageTypeRelatedGraphs(@PathVariable String messageType)
-