Uploaded image for project: 'jBPM'
  1. jBPM
  2. JBPM-6729

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.6.0.Final
    • 7.5.0.Final
    • KieServer
    • None
    • NEW
    • NEW
    • 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)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: