Uploaded image for project: 'Teiid Designer'
  1. Teiid Designer
  2. TEIIDDES-3223

Auto-generated REST war creates different context than Designer Generated REST war

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • None
    • None
    • None

      Have a REST procedure with 3 optional parameters and have the REST:URI set to testget&inA&inB&inC, the Designer Generated War takes the REST:URI of testget&inA&inB&inC and drops the params, so you see in the Swagger UI the operation is just /AAA/testget, so the Request URL is http://localhost:8080/WW/AAA/testget?inA=abc&inC=def but the auto-generated war file doesn't drop the params from the REST:URI and it shows as /AAA/testget&inA&inB&inC so the actual Request URL would be http://localhost:8080/WW_1/AAA/testget&inA&inB&inC?inA=abc&inC=def.

        1. AutoGenSwaggar.png
          AutoGenSwaggar.png
          104 kB
        2. DesignerGenSwagger.png
          DesignerGenSwagger.png
          100 kB
        3. WW-vdb.xml
          1 kB

            Unassigned Unassigned
            rhn-support-dsteigner Deborah Steigner (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: