[teiid-dev] vdb.xml improvements

Barry Lafond blafond at redhat.com
Fri Mar 8 09:24:25 EST 2013


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). 

2) Part of this feature includes adding a Teiid Dialect DDL Parser/Sequencer in Modeshape. Designer will use this parser to obtain a relational tree we can turn into EMF objects... similar to JDBC Metadata through that importer. 

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. 

4) Beyond that, if it would benefit users to have "Dynamic VDB" editing capability in Designer, we could put that in our future plans 

5) lastly, adding DDL files to VDB archive in place of "model metadata" entries in vdb.xml makes sense and is also doable. 

Barry 

----- Original Message -----

> From: "Steven Hawkins" <shawkins at redhat.com>
> To: "Ramesh Reddy" <rareddy at redhat.com>
> Cc: "teiid-designer-dev" <teiid-designer-dev at lists.jboss.org>,
> "teiid-dev" <teiid-dev at lists.jboss.org>
> Sent: Thursday, March 7, 2013 12:05:17 PM
> Subject: Re: [teiid-dev] vdb.xml improvements

> ----- Original Message -----
> > I would rather see us go take upon the larges issues you listed
> > like
> > DDL
> > based schema definition and leave the minor ones as is, as once DDL

> 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. Any steps toward easy of use / consistency would seem
> to help over the long run of the remaining 8.x line.

> > feature implemented, it will change the vdb.xml anyway.

> In a ddl only world all of our constructs need converted. CREATE
> FOREIGN DATA WRAPPER replaces translator declarations, GRANT
> statements for the permissions/roles, CREATE SCHEMA, etc. The
> question is to what degree does supporting xml declarations make
> our/Designer's life easier in the short/long run. 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. 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?

> On getting the DDL footprint down options include:

> - Keeping the zip concept and allowing the vdb.xml to reference a
> .ddl file in the vdb artifact
> - In theory this would be implemented through the use of a built-in
> metadata repository

> - begin work on the notion of a "live" modeshape metadata repository
> (this is mostly a separable effort)

> - introduce notion of a deployable schema / .ddl artifact that can be
> referenced by the vdb.xml (this doesn't seem like the right
> approach).

> Any other thoughts?

> >
> > On 03/05/2013 10:52 AM, Steven Hawkins wrote:
> > > For 8.4 planning I'd like to solicit ideas about incremental
> > > improvements we could make to our vdb.xml (of course we'd want to
> > > make the changes backwards compatible). This would include minor
> > > things like:
> > >
> > > - better property keys for example "UseConnectorMetadata" - which
> > > isn't necessarily needed in its present form
> > > - allowing the use of element text as an alternative to an
> > > attribute for a property value
> > > - terminology changes, such as model->schema
> > >
> > > To larger things like:
> > >
> > > - how/should we get the ddl memory footprint down
> > > - future proof to allow for ddl based schema declarations
> > >
> > > Is there anything to add/remove from these? We'll rollup the
> > > result into a JIRA.
> > >
> > > Thanks,
> > >
> > > Steve
> > > _______________________________________________
> > > teiid-dev mailing list
> > > teiid-dev at lists.jboss.org
> > > https://lists.jboss.org/mailman/listinfo/teiid-dev
> > >
> >
> _______________________________________________
> teiid-dev mailing list
> teiid-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/teiid-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/teiid-dev/attachments/20130308/c1941fd3/attachment.html 


More information about the teiid-dev mailing list