-
1. Re: Dynamic VDB in Teiid 7.0
rareddy Jul 14, 2010 10:10 AM (in response to ab.jeevagunta)Can we do the same in 7.0, archive the <name>-vdb.xml and use the Admin API to deploy dynamically?
Yes. You would supply the Dynamic VDB XML file instead of the <name>.vdb file that is created with Designer. The name you specify in the "deployVDB" method on the admin API must be in the form "<name>-vdb.xml". The "<name>" should match with the name inside the XML file. The format of this file is backed by a schema file "vdb-deployer.xsd", which is included with kit and also in the teiid-client-{version}.jar.
There has been similar request before, check out my comment on the JIRA on how you can create this XML file from existing class. (Just note that there is no guarantee that this class will not change in future releases as this is not part of the public API, but this class is available in the above mentioned client jar. So, you can use it.
https://jira.jboss.org/browse/TEIID-1082
You also correct that except for the LDAP, all the provided translators support dynamic metadata. Please note that, using the Dynamic VDB approach, you will not be able to create view layers as you may have done with Teiid Designer. Check out documentation on Dynamic VDB in the Reference Guide.
Let us know how this works. We would love hear more about how you solved your data integration issue with Teiid in blog post.
Thanks.
Ramesh..
-
2. Re: Dynamic VDB in Teiid 7.0
ab.jeevagunta Jul 14, 2010 10:22 AM (in response to rareddy)Thank you very much for the detailed info on this. I will try it and will let you know.
Thanks once again,
Abraham