]
Ramesh Reddy moved TEIID-5673 to TEIIDSB-49:
--------------------------------------------
Project: Teiid Spring Boot (was: Teiid)
Key: TEIIDSB-49 (was: TEIID-5673)
Component/s: OData
(was: OData)
OData does not select the virtual model as the default one to expose
--------------------------------------------------------------------
Key: TEIIDSB-49
URL:
https://issues.jboss.org/browse/TEIIDSB-49
Project: Teiid Spring Boot
Issue Type: Bug
Components: OData
Reporter: Ramesh Reddy
Assignee: Ramesh Reddy
Priority: Major
When OData interface is created the default schema that exposed at root "/" is
not any virtual model defined but the very first source model.
In implicit based VDBs the implicit virtual model "teiid" is exposed at root
and it is the only single virtual model. Also going forward in Syndesis there is only
going to be a single virtual model in a VDB. In the case of legacy VDB there can be
multiple virtual models.
To match with the implicit vdb, any VDB with a single virtual model, the virtual model
should be exposed at the root. If there are more than single virtual model, then user is
advised to use the OData interface using the "/schema-name/entiry" in the URL
path. In case of multiple virtual vdbs, the behavior is unknown.