Class TigerWebUiController

java.lang.Object
de.gematik.test.tiger.proxy.controller.TigerWebUiController
All Implemented Interfaces:
org.springframework.beans.factory.Aware, org.springframework.context.ApplicationContextAware

@RestController @RequestMapping({"webui","/"}) @Validated public class TigerWebUiController extends Object implements org.springframework.context.ApplicationContextAware
  • Field Details

    • REGEX_STATUSCODE_TOKEN

      public static final String REGEX_STATUSCODE_TOKEN
      in error responses on http requests, this token causes problems so remove it for better handling on client side
      See Also:
    • template

      public final org.springframework.messaging.simp.SimpMessagingTemplate template
  • Constructor Details

    • TigerWebUiController

      @ConstructorProperties({"renderer","proxyConfiguration","template","buildProperties"}) public TigerWebUiController(RbelHtmlRenderer renderer, de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration proxyConfiguration, org.springframework.messaging.simp.SimpMessagingTemplate template, TigerBuildPropertiesService buildProperties)
  • Method Details

    • setApplicationContext

      public void setApplicationContext(org.springframework.context.ApplicationContext appContext) throws org.springframework.beans.BeansException
      Specified by:
      setApplicationContext in interface org.springframework.context.ApplicationContextAware
      Throws:
      org.springframework.beans.BeansException
    • getIndex

      @GetMapping("") public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getIndex()
    • getAsset

      @GetMapping("/assets/{asset}") public org.springframework.http.ResponseEntity<org.springframework.core.io.Resource> getAsset(@PathVariable("asset") String assetFile)
    • testJexlQuery

      @GetMapping(value="/testJexlQuery", produces="application/json") public JexlQueryResponseScrollableDto testJexlQuery(@RequestParam(name="messageUuid") String messageUuid, @RequestParam(name="query") String query)
    • testRbelExpression

      @GetMapping(value="/testRbelExpression", produces="application/json") public RbelTreeResponseScrollableDto testRbelExpression(@RequestParam(name="messageUuid") String msgUuid, @RequestParam(name="query") String query)
    • getMessagesWithHtml

      @GetMapping(value="/getMessagesWithHtml", produces="application/json") public GetMessagesWithHtmlScrollableDto getMessagesWithHtml(@RequestParam(name="fromOffset") int fromOffset, @RequestParam(name="toOffsetExcluding") int toOffsetExcluding, @RequestParam(name="filterRbelPath",required=false) String filterRbelPath)
    • getMessagesWithMeta

      @GetMapping(value="/getMessagesWithMeta", produces="application/json") public GetMessagesWithMetaScrollableDto getMessagesWithMeta(@RequestParam(name="filterRbelPath",required=false) String filterRbelPath)
    • testFilterMessages

      @GetMapping(value="/testFilterMessages", produces="application/json") public SearchMessagesScrollableDto testFilterMessages(@RequestParam(name="filterRbelPath",required=false) String filterRbelPath)
    • searchMessages

      @GetMapping(value="/searchMessages", produces="application/json") public SearchMessagesScrollableDto searchMessages(@RequestParam(name="filterRbelPath") String filterRbelPath, @RequestParam(name="searchRbelPath") String searchRbelPath)
    • downloadTraffic

      @GetMapping(value="/trafficLog*.tgr", produces="application/octet-stream") public String downloadTraffic(@RequestParam(name="lastMsgUuid",required=false) String lastMsgUuid, @RequestParam(name="filterRbelPath",required=false) String filterCriterion, @RequestParam(name="pageSize",required=false) Optional<Integer> pageSize, jakarta.servlet.http.HttpServletResponse response)
    • resetMessages

      @GetMapping(value="/resetMessages", produces="application/json") public ResetMessagesDto resetMessages()
    • quitProxy

      @GetMapping(value="/quit", produces="application/json") public void quitProxy(@RequestParam(name="noSystemExit",required=false) String noSystemExit)
    • importTraffic

      @PostMapping("/importTraffic") public void importTraffic(@RequestBody String rawTraffic)
    • getTigerProxy

      public TigerProxy getTigerProxy()
    • getRenderer

      public RbelHtmlRenderer getRenderer()
    • getProxyConfiguration

      public de.gematik.test.tiger.common.data.config.tigerproxy.TigerProxyConfiguration getProxyConfiguration()
    • getApplicationContext

      public org.springframework.context.ApplicationContext getApplicationContext()
    • getTemplate

      public org.springframework.messaging.simp.SimpMessagingTemplate getTemplate()
    • getBuildProperties

      public TigerBuildPropertiesService getBuildProperties()
    • setTigerProxy

      public void setTigerProxy(TigerProxy tigerProxy)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object