[teiid-issues] [JBoss JIRA] (TEIID-5673) OData does not select the virtual model as the default one to expose

Ramesh Reddy (Jira) issues at jboss.org
Mon Mar 4 17:34:00 EST 2019


Ramesh Reddy created TEIID-5673:
-----------------------------------

             Summary: OData does not select the virtual model as the default one to expose
                 Key: TEIID-5673
                 URL: https://issues.jboss.org/browse/TEIID-5673
             Project: Teiid
          Issue Type: Bug
          Components: OData
            Reporter: Ramesh Reddy
            Assignee: Ramesh Reddy


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.




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


More information about the teiid-issues mailing list