Uploaded image for project: 'Red Hat 3scale API Management'
  1. Red Hat 3scale API Management
  2. THREESCALE-5558

[APIAP] Backend accepts mapping rules of other backend

    XMLWordPrintable

Details

    • Bug
    • Resolution: Not a Bug
    • Major
    • None
    • 2.9 ER1
    • Gateway, System
    • None
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started
    • Not Started

    Description

      QE regression tests forĀ THREESCALE-4904 are failing.

      Test: QE test

      It looks like backend accepts requests to a path specified in the mapping rule of another backend.

      Configuration in attachments (apicast-config-svc-jsmadis-app-pfge-sandbox-2.json)

      Asserts:

          request = api_client.get("/test/bin/anything/test")
          assert request.status_code == 200
          request = api_client.get("/bin/anything/bin")
          assert request.status_code == 200
          request = api_client.get("/test/bin/anything/bin") 
          assert request.status_code == 404  // FAILED
          request = api_client.get("/bin/anything/test")
          assert request.status_code == 404  // FAILED
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            jsmadis Jakub Smadis (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: