<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Times New Roman; font-size: 12pt; color: #000000'><style>p { margin: 0; }</style><div style="font-family: Times New Roman; font-size: 12pt; color: rgb(0, 0, 0);">As I said before, I'm generally not in favor of hiding anything, but while we're thinking out of the box, and a hidden VDB is on the table, we could go in the other direction.&nbsp; Why not use a hidden VDB to preview ( I imagine this is what happens for a lot of targets when using Run As...)&nbsp; and standard eclipse Export paradigm to create the 'real' VDB.&nbsp;&nbsp; Get rid of the entire user gesture for New-&gt;VDB and the appearance of a VDB in the project view.<br><br>This comes at a cost in flexibility.&nbsp; As implemented today a user can create multiple different VDBs from a single Model Project, and in the implementation I'm describing Model Project = VDB.&nbsp; In that sense I don't really conder that we're hiding anything if we did it this way.&nbsp; I don't know if multiple VDBs from a single project is a use case anybody is interested in.<br><br>I didn't touch Dimension outside of all hands testing so long ago, so I don't really know if this is the opposite of what Barry described below or not.&nbsp; Dimension forced explicit VDB creation at the outset????<br><br>~jd<br>----- "Barry Lafond" &lt;blafond@redhat.com&gt; wrote:
<br>&gt; <style>p { margin: 0; }</style><div style="font-family: Verdana; font-size: 12pt; color: rgb(0, 0, 0);">&gt; Guys,<br>&gt; <br>&gt; As a side-note/observation....<br>&gt; <br>&gt; Providing Designer a way to manage a VDB and it's contents via Teiid Server, sure looks an awful Lot like the paradigm that Dimension provided (minus the web-service stuff)<br>&gt; <br>&gt; In fact, it provide identical functionality.<br>&gt; <br>&gt; Kinda begs the question that JPAV asked on this thread about NOT hiding this VDB from the user.<br>&gt; <br>&gt; If we took it a step futher, couldn't we just treat these VDB's as "Development" VDB's?&nbsp; Users could create them "specifically", and name them as they choose. So a DVDB would look slightly different, we could show "contents" in tree, users could "drag" models into it, etc...?<br>&gt; <br>&gt; If a user was satisfied with a Dev VDB, they could promote/publish it and we would do a full "zip" locally...<br>&gt; <br>&gt; Just think out of the box and into an "old" Dimension box.<br>&gt; <br>&gt; Barry<br>&gt; <br>&gt; ----- Original Message -----<br>&gt; From: "Ramesh Reddy" &lt;rareddy@redhat.com&gt;<br>&gt; To: "Barry Lafond" &lt;blafond@redhat.com&gt;<br>&gt; Cc: "teiid-designer-dev" &lt;teiid-designer-dev@lists.jboss.org&gt;<br>&gt; Sent: Friday, March 26, 2010 9:55:27 PM GMT -06:00 US/Canada Central<br>&gt; Subject: Re: [teiid-designer-dev] Potential Designer Source Bindings Strategy<br>&gt; <br>&gt; On Fri, 2010-03-26 at 15:23 -0400, Barry Lafond wrote: <br>&gt; &gt; Ramesh will post in a bit...<br>&gt; <br>&gt; Sorry guys I out reach for network access..<br>&gt; <br>&gt; What we are proposing is a feature where a "single" vdb can be amended<br>&gt; at runtime in Teiid to add additional VDBs to be part of the original<br>&gt; vdb. <br>&gt; <br>&gt; For example: <br>&gt; <br>&gt; You started with "X.vdb" and has models "a" and "b". You deployed this<br>&gt; to Teiid.<br>&gt; <br>&gt; Then, you deployed another vdb called "Y.vdb" that has model "a", "c" to<br>&gt; Teiid.<br>&gt; <br>&gt; then using a admin method like "mergeMetadataStores('X', 'Y')" you can<br>&gt; merge X and Y. Considering "X" is parent VDB and "Y" is child, the<br>&gt; models "a" and "c" will be added to the "X". "a" will replace the old<br>&gt; model in original, "c" will be added as new. Now, vdb "X" has models<br>&gt; "a", "b", "c". If user issues a query against "X", he can query anything<br>&gt; from models "a", "b", "c". We do assume that models are unique across<br>&gt; VDBs based on their names, otherwise they get overridden.<br>&gt; <br>&gt; In the Designer case, 'X' is preview VDB (may be empty), then we add<br>&gt; *each* model from Designer's workspace as a *individual* VDB into Teiid.<br>&gt; Let's call this for this conversation as "model vdb". We know that model<br>&gt; VDB is not complete on its own, but merged with others it will be. Every<br>&gt; time model is added/modified/deleted the designer will use current admin<br>&gt; methods<br>&gt; <br>&gt; deployVDB(vdbName, contents)<br>&gt; undeployVDB(vdbName)<br>&gt; <br>&gt; to manage the model vdbs, keeps it in sync with Designer. Then Designer<br>&gt; issues the 'merge' call and builds the preview vdb. Each model vdb<br>&gt; deployed will resemble the contents of regular VDB and has 'vdb.xml' to<br>&gt; define source bindings and model names. Index files supplied can be<br>&gt; Designer's workspace (needs verification) indexes or typed indexed<br>&gt; files. We do not need to add XMI files, other than for FUNCTION models<br>&gt; or XSD or WSDL files. We will also add a flag in the vdb.xml properties<br>&gt; to hide exposing these partial model vdb such that no one can connect to<br>&gt; them and issue queries directly or view them through JOPR. This only for<br>&gt; Designer preview. We will also relax the model validation errors or<br>&gt; incomplete bindings for these model vdbs in Teiid.<br>&gt; <br>&gt; This will make us only add one method into admin api and gives us a new<br>&gt; feature. Lot of times our customers stack Teiid on top of Teiid to use<br>&gt; the VDB as another source in second VDB. This makes user to deploy VDB<br>&gt; and create the binding to it, then access the VDB through the binding in<br>&gt; the same or different Teiid instance. All they are looking is sharing of<br>&gt; models. Here using this above technique of combining the two VDBS, we do<br>&gt; not need to create additional bindings, and we can create much efficient<br>&gt; processing plans as we can flatten them if are from single VDB.<br>&gt; <br>&gt; So, in a way what we said before sticks upto creating VDB, but create<br>&gt; VDB/per model and merge them on the go. Designer does not need to<br>&gt; maintain any preview vdb. just keep shoving each model as VDB as it<br>&gt; goes. This will not make Teiid keep reloading the vdbs. Only changed<br>&gt; model vdbs get reloaded and merged.<br>&gt; <br>&gt; Thoughts? questions?<br>&gt; <br>&gt; <br>&gt; Ramesh..<br>&gt; <br>&gt; <br>&gt; <br>&gt; </div><br>&gt; _______________________________________________
teiid-designer-dev mailing list
teiid-designer-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/teiid-designer-dev
</div></div></body></html>