Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-554

Cannot access topologies through admin API if gateway.path is modified

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7.0
    • None
    • None

    Description

      If a user edits the gateway.path property to any value other than "gateway" in gateway-site.xml, the calls to the admin API for topologies fail.

      Specifically any GET request to:

      https://

      {gateway-host}:{gateway-port}/{gateway.path}/admin/api/v1/topologies
      OR
      https://{gateway-host}

      :

      {gateway-port}

      /

      {gateway.path}

      /admin/api/v1/topologies/

      {topology-id}

      Will fail if the gateway.path is not set to "gateway"

      Attachments

        1. KNOX-554-4_.patch
          116 kB
          Zachary Blanco
        2. KNOX-554-3.patch
          116 kB
          Zachary Blanco
        3. KNOX-554-2.patch
          16 kB
          Zachary Blanco
        4. KNOX-554-1.patch
          5 kB
          Zachary Blanco

        Issue Links

          Activity

            People

              zacblanco Zachary Blanco
              zacblanco Zachary Blanco
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: