[teiid-issues] [JBoss JIRA] (TEIID-5639) Auto-generated REST war creates different context than Designer Generated REST war

Steven Hawkins (Jira) issues at jboss.org
Thu Jan 31 18:35:00 EST 2019


    [ https://issues.jboss.org/browse/TEIID-5639?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13689945#comment-13689945 ] 

Steven Hawkins commented on TEIID-5639:
---------------------------------------

[~dsteigne] I'd say this is an issue with Designer.  The Teiid side is documented as expecting uri parameters in curly braces - http://teiid.github.io/teiid-documents/master/content/reference/REST_Service_Through_VDB.html  - which matches the jax rs specification.

> Auto-generated REST war creates different context than Designer Generated REST war
> ----------------------------------------------------------------------------------
>
>                 Key: TEIID-5639
>                 URL: https://issues.jboss.org/browse/TEIID-5639
>             Project: Teiid
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 8.12.16.6_4
>            Reporter: Debbie Steigner
>            Assignee: Steven Hawkins
>            Priority: Major
>         Attachments: AutoGenSwaggar.png, DesignerGenSwagger.png, WW-vdb.xml
>
>
> 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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the teiid-issues mailing list