Uploaded image for project: 'Red Hat Decision Manager'
  1. Red Hat Decision Manager
  2. RHDM-268

KIE-Server Swagger "Try it out" points to wrong URL when server is deployed as ROOT.war

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.GA
    • 7.0.0
    • Kie-Server
    • None
    • OpenShift

    • CR2
    • Hide

      1) Install the OpenShift image for Decision Manager 7 Decision Server.
      2) Go to http://{{route-to-decisionserver}/docs
      3) Try out one of the APIs.

      Show
      1) Install the OpenShift image for Decision Manager 7 Decision Server. 2) Go to http://{{route-to-decisionserver}/docs 3) Try out one of the APIs.

      When running the KIE-Server in a Decision Manager OpenShift image, the "Try it out" buttons of the Swagger UI don't work anymore as they point to the wrong URL.

      The problem seems to be that in OpenShift, the KIE-Server is deployed as ROOT.war, which seems to break the relative URL.

      Actual URL created:
      http://rhdm7-install-kieserver-rhdm7-install-developer.127.0.0.1.xip.io/server/containers

      Expected URL:
      http://rhdm7-install-kieserver-rhdm7-install-developer.127.0.0.1.xip.io/services/rest/server/containers

            swiderski.maciej Maciej Swiderski (Inactive)
            rhn-gps-ddoyle Duncan Doyle (Inactive)
            Jakub Schwan Jakub Schwan
            Jakub Schwan Jakub Schwan
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: