[JBoss JIRA] (TEIIDSB-103) Support vdb and/or classpath resources
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-103?page=com.atlassian.jira.plugi... ]
Steven Hawkins commented on TEIIDSB-103:
----------------------------------------
Yes, it looks for the explicit vdb, then .ddl, then .vdb
> Support vdb and/or classpath resources
> --------------------------------------
>
> Key: TEIIDSB-103
> URL: https://issues.jboss.org/browse/TEIIDSB-103
> Project: Teiid Spring Boot
> Issue Type: Feature Request
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 1.2.0
>
>
> The loading logic for a .vdb artifact does not create the associated vdb resources, so things like the ddl-file metadata repo cannot be used. We should probably support that, and in general may consider supporting a classpath based resource mechanism now that we have unified classloader.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 11 months
[JBoss JIRA] (TEIIDSB-103) Support vdb and/or classpath resources
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-103?page=com.atlassian.jira.plugi... ]
Ramesh Reddy commented on TEIIDSB-103:
--------------------------------------
I thought it will check classpath in the below order
# teiid.ddl
# teiid.vdb (with DDL based Zip Archive)
> Support vdb and/or classpath resources
> --------------------------------------
>
> Key: TEIIDSB-103
> URL: https://issues.jboss.org/browse/TEIIDSB-103
> Project: Teiid Spring Boot
> Issue Type: Feature Request
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 1.2.0
>
>
> The loading logic for a .vdb artifact does not create the associated vdb resources, so things like the ddl-file metadata repo cannot be used. We should probably support that, and in general may consider supporting a classpath based resource mechanism now that we have unified classloader.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 11 months
[JBoss JIRA] (TEIIDSB-62) OpenApi 3.0 Support for OData
by Ramesh Reddy (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-62?page=com.atlassian.jira.plugin... ]
Ramesh Reddy commented on TEIIDSB-62:
-------------------------------------
Per Eric.W there is no standard, but recommends below, if we can do this change for 12.2.1 then we can pull in to Teiid Spring Boot. I would say, by default without accepts header default to 2.0, then next versions when 3.0 support comes in, we can switch the default around.
That said - my suggestion would be to follow this: https://restfulapi.net/versioning/
REST API Versioning Guide – REST API Tutorial
REST API Versioning Guide – REST API Tutorial
restfulapi.net
See the section labeled "Versioning using Accept header"
So in your case it could be:
Accept: application/json;version=3.0.2
Accept: application/json;version=2.0
Accept: application/x-yaml;version=3.0.2
Accept: application/x-yaml;version=2.0
> OpenApi 3.0 Support for OData
> -----------------------------
>
> Key: TEIIDSB-62
> URL: https://issues.jboss.org/browse/TEIIDSB-62
> Project: Teiid Spring Boot
> Issue Type: Feature Request
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.1.0
>
>
> Support OpenAPI 3.0 document generation with OData service
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 11 months
[JBoss JIRA] (TEIIDSB-103) Support vdb and/or classpath resources
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-103?page=com.atlassian.jira.plugi... ]
Steven Hawkins resolved TEIIDSB-103.
------------------------------------
Resolution: Done
Added vdb resource support for .vdb artifacts. We can open another issue if we want to support a classpath based mechanism for .ddl. Also updated the logic so that teiid.vdb is a default artifact.
> Support vdb and/or classpath resources
> --------------------------------------
>
> Key: TEIIDSB-103
> URL: https://issues.jboss.org/browse/TEIIDSB-103
> Project: Teiid Spring Boot
> Issue Type: Feature Request
> Reporter: Steven Hawkins
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 1.2.0
>
>
> The loading logic for a .vdb artifact does not create the associated vdb resources, so things like the ddl-file metadata repo cannot be used. We should probably support that, and in general may consider supporting a classpath based resource mechanism now that we have unified classloader.
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 11 months
[JBoss JIRA] (TEIIDSB-62) OpenApi 3.0 Support for OData
by Steven Hawkins (Jira)
[ https://issues.jboss.org/browse/TEIIDSB-62?page=com.atlassian.jira.plugin... ]
Steven Hawkins commented on TEIIDSB-62:
---------------------------------------
> For time being for 7.4 can we map both openapi.json and swagger.json to version 2.0. 3scale does not have support for version 3 yet. Maybe per Eric W, support 3 only by the version tag on the "Accepts" header?
I'd vote for openapi.json supporting the accept header. Where is that documented?
> OpenApi 3.0 Support for OData
> -----------------------------
>
> Key: TEIIDSB-62
> URL: https://issues.jboss.org/browse/TEIIDSB-62
> Project: Teiid Spring Boot
> Issue Type: Feature Request
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.1.0
>
>
> Support OpenAPI 3.0 document generation with OData service
--
This message was sent by Atlassian Jira
(v7.12.1#712002)
4 years, 11 months