<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: verdana,helvetica,sans-serif; font-size: 12pt; color: #000000'>1) Our 8.1 release will include a new Teiid DDL importer that can deploy data sources (connections) along with a temporary dynamic VDB in order to ask Teiid Admin for the deployed VDB's DDL (aka schema).<br><br>2) Part of this feature includes adding a Teiid Dialect DDL Parser/Sequencer in Modeshape.&nbsp; Designer will use this parser to obtain a relational tree we can turn into EMF objects... similar to JDBC Metadata through that importer.<br><br>3) Our original plan was to throw this DDL away once the import is finished. Though it wouldn't take much to let users save these DDL/schema to a workspace *.ddl file.<br><br>4) Beyond that, if it would benefit users to have "Dynamic VDB" editing capability in Designer, we could put that in our future plans<br><br>5) lastly, adding DDL files to VDB archive in place of "model metadata" entries in vdb.xml makes sense and is also doable.<br><br>Barry<br><br><hr id="zwchr"><blockquote style="border-left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Steven Hawkins" &lt;shawkins@redhat.com&gt;<br><b>To: </b>"Ramesh Reddy" &lt;rareddy@redhat.com&gt;<br><b>Cc: </b>"teiid-designer-dev" &lt;teiid-designer-dev@lists.jboss.org&gt;, "teiid-dev" &lt;teiid-dev@lists.jboss.org&gt;<br><b>Sent: </b>Thursday, March 7, 2013 12:05:17 PM<br><b>Subject: </b>Re: [teiid-dev] vdb.xml improvements<br><br><br>----- Original Message -----<br>&gt; I would rather see us go take upon the larges issues you listed like<br>&gt; DDL<br>&gt; based schema definition and leave the minor ones as is, as once DDL<br><br>I can see that viewpoint, but my thought is that we're making the vdb.xml a somewhat more visible artifact with product support for dynamic vdbs. &nbsp;Any steps toward easy of use / consistency would seem to help over the long run of the remaining 8.x line.<br><br>&gt; feature implemented, it will change the vdb.xml anyway.<br><br>In a ddl only world all of our constructs need converted. &nbsp;CREATE FOREIGN DATA WRAPPER replaces translator declarations, GRANT statements for the permissions/roles, CREATE SCHEMA, etc. &nbsp;The question is to what degree does supporting xml declarations make our/Designer's life easier in the short/long run. &nbsp;Keeping the xml mostly saves us from writing more parsing hooks and until we allow these operations at runtime having a statement based mechansim for declaration is just a nice to have. &nbsp;So the question for the rest of 8.x is what if anything would be nice to declare in DDL rather than or in addition to xml?<br><br>On getting the DDL footprint down options include:<br>&nbsp;<br>- Keeping the zip concept and allowing the vdb.xml to reference a .ddl file in the vdb artifact<br>&nbsp;&nbsp;- In theory this would be implemented through the use of a built-in metadata repository<br><br>- begin work on the notion of a "live" modeshape metadata repository (this is mostly a separable effort)<br><br>- introduce notion of a deployable schema / .ddl artifact that can be referenced by the vdb.xml (this doesn't seem like the right approach). <br><br>Any other thoughts?<br><br>&gt; <br>&gt; On 03/05/2013 10:52 AM, Steven Hawkins wrote:<br>&gt; &gt; For 8.4 planning I'd like to solicit ideas about incremental<br>&gt; &gt; improvements we could make to our vdb.xml (of course we'd want to<br>&gt; &gt; make the changes backwards compatible). &nbsp;This would include minor<br>&gt; &gt; things like:<br>&gt; &gt; <br>&gt; &gt; - better property keys for example "UseConnectorMetadata" - which<br>&gt; &gt; isn't necessarily needed in its present form<br>&gt; &gt; - allowing the use of element text as an alternative to an<br>&gt; &gt; attribute for a property value<br>&gt; &gt; - terminology changes, such as model-&gt;schema<br>&gt; &gt; <br>&gt; &gt; To larger things like:<br>&gt; &gt; <br>&gt; &gt; - how/should we get the ddl memory footprint down<br>&gt; &gt; - future proof to allow for ddl based schema declarations<br>&gt; &gt; <br>&gt; &gt; Is there anything to add/remove from these? &nbsp;We'll rollup the<br>&gt; &gt; result into a JIRA.<br>&gt; &gt; <br>&gt; &gt; Thanks,<br>&gt; &gt; <br>&gt; &gt; Steve<br>&gt; &gt; _______________________________________________<br>&gt; &gt; teiid-dev mailing list<br>&gt; &gt; teiid-dev@lists.jboss.org<br>&gt; &gt; https://lists.jboss.org/mailman/listinfo/teiid-dev<br>&gt; &gt; <br>&gt; <br>_______________________________________________<br>teiid-dev mailing list<br>teiid-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/teiid-dev<br></blockquote><br></div></body></html>