]
Ramesh Reddy resolved TEIIDSB-49.
---------------------------------
Fix Version/s: 1.0.3
Resolution: Done
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
Fix For: 1.0.3
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.