-
1. Re: OData4j - OData - Teiid client
rareddy Feb 20, 2013 9:42 AM (in response to omergillani)1 of 1 people found this helpfulOmer,
I little confused about what you are asking?
1) Are you asking for OData4J client example to access Teiid? If yes, you check out OData4J site they have few examples for this. Accessing Teiid is no different than any other OData sources? As per as Teiid concerned the usage of Odata4J is internal, and does not any way impose on the user to use it.
2) OData-Teiid Client? - There is no such thing in Teiid. You can access your VDB that is deployed in the Teiid using OData protocol. i.e. REST. Look for any REST based frameworks, browser, curl, OData4J etc.
As OData-Teiid exposes multiple Databases/Datasources/VDB(s) and we want to provide selection to the user to select any available data-source on specific server.
3) If you are thinking there is registry where we expose all the VDB OData endpoints, there is no such thing. OData does not prescribe to expose the endpoints in any registry. However, if you want you can do that in your client programs. Teiid exposes "Admin API", through which you can query for all the deployed VDBs, once you have the list, the following pattern you can use to reach the endpoint.
http://<host>:<port>/odata/<vdb>.<version>
May be I can provide a page with all these links at
http://<host>:<port>/odata
but that would be Teiid specific. If you want that you can log a request for enhancement in JIRA.
Thanks
Ramesh..