[ https://issues.jboss.org/browse/TEIID-5639?page=com.atlassian.jira.plugin... ]
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_Serv... - which matches the jax rs specification.
> Auto-generated REST war creates different context than Designer Generated REST …
[View More]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)
[View Less]
[ https://issues.jboss.org/browse/TEIID-5592?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIID-5592:
---------------------------------------
The alternative is to deprecate - on the website and in the repo make it clear that it was written for older Teiids and JDV.
> Update or deprecate teiid-quickstarts
> -------------------------------------
>
> Key: TEIID-5592
> URL: https://issues.jboss.org/browse/TEIID-5592
> …
[View More] Project: Teiid
> Issue Type: Quality Risk
> Components: Quick Starts
> Reporter: Steven Hawkins
> Assignee: Van Halbert
> Priority: Major
> Fix For: 12.1
>
>
> The last update to the quickstarts was for Teiid 10 - which should have been largely compatible with Teiid 11. However this should be reviewed and updated for Teiid 11 - or we should deprecate them and update teiid.io appropriately.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
[View Less]
Steven Hawkins created TEIID-5640:
-------------------------------------
Summary: Don't provide access to system schema over odata
Key: TEIID-5640
URL: https://issues.jboss.org/browse/TEIID-5640
Project: Teiid
Issue Type: Quality Risk
Components: OData
Reporter: Steven Hawkins
Assignee: Steven Hawkins
Fix For: 12.1
We now create all of the edm metadata at once - including for …
[View More]system schema - but we should not allow that by default.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
[View Less]
[ https://issues.jboss.org/browse/TEIID-5639?page=com.atlassian.jira.plugin... ]
Debbie Steigner updated TEIID-5639:
-----------------------------------
Attachment: WW-vdb.xml
> Auto-generated REST war creates different context than Designer Generated REST war
> ----------------------------------------------------------------------------------
>
> Key: TEIID-5639
> URL: https://issues.jboss.org/browse/TEIID-5639
> Project: …
[View More]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)
[View Less]
[ https://issues.jboss.org/browse/TEIID-5639?page=com.atlassian.jira.plugin... ]
Debbie Steigner updated TEIID-5639:
-----------------------------------
Attachment: AutoGenSwaggar.png
> Auto-generated REST war creates different context than Designer Generated REST war
> ----------------------------------------------------------------------------------
>
> Key: TEIID-5639
> URL: https://issues.jboss.org/browse/TEIID-5639
> …
[View More]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
>
>
> 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)
[View Less]
[ https://issues.jboss.org/browse/TEIID-5592?page=com.atlassian.jira.plugin... ]
Van Halbert reassigned TEIID-5592:
----------------------------------
Assignee: Van Halbert (was: Steven Hawkins)
> Update or deprecate teiid-quickstarts
> -------------------------------------
>
> Key: TEIID-5592
> URL: https://issues.jboss.org/browse/TEIID-5592
> Project: Teiid
> Issue Type: Quality Risk
> Components: …
[View More]Quick Starts
> Reporter: Steven Hawkins
> Assignee: Van Halbert
> Priority: Major
> Fix For: 12.1
>
>
> The last update to the quickstarts was for Teiid 10 - which should have been largely compatible with Teiid 11. However this should be reviewed and updated for Teiid 11 - or we should deprecate them and update teiid.io appropriately.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
[View Less]
[ https://issues.jboss.org/browse/TEIID-5639?page=com.atlassian.jira.plugin... ]
Debbie Steigner updated TEIID-5639:
-----------------------------------
Attachment: DesignerGenSwagger.png
> Auto-generated REST war creates different context than Designer Generated REST war
> ----------------------------------------------------------------------------------
>
> Key: TEIID-5639
> URL: https://issues.jboss.org/browse/TEIID-5639
> …
[View More]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
>
>
> 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)
[View Less]
Debbie Steigner created TEIID-5639:
--------------------------------------
Summary: 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
Attachments: …
[View More]AutoGenSwaggar.png, DesignerGenSwagger.png
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)
[View Less]
Debbie Steigner created TEIID-5638:
--------------------------------------
Summary: Add Swagger UI location for auto-generated REST war in documentation
Key: TEIID-5638
URL: https://issues.jboss.org/browse/TEIID-5638
Project: Teiid
Issue Type: Feature Request
Components: Documentation
Reporter: Debbie Steigner
Assignee: Steven Hawkins
When using the Designer generated REST war, Swagger UI …
[View More]is at http://localhost:8080/VDB but if using the auto-generated war file it is at http://localhost:8080/VDB_1/api. Can this be noted in the documentation?
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
[View Less]