<html><head><style type='text/css'>p { margin: 0; }</style></head><body><div style='font-family: Verdana; font-size: 12pt; color: #000000'>This sounds too hackish to me, so I'm pushing back... again... :)<br><br><ul><li>Designer has no real concept of a "translator". We deal with Connection Profiles and NOT Server/Teiid properties. It only needs a translator to perform runtime (query) operations.<br></li></ul><ul><li>The Properties that we do pass you for the addTranslator() method will be provided from Teiid in the first place, right? The keys will be from Teiid's PropertyDefinitions.</li></ul><ul><li>Teiid cares about translator.xml files (or whatever they are called). Teiid Designer really doesn't care other than to make sure one exists within a VDB, if that is the new requirement.<br></li></ul><br>Barry<br><br>----- Original Message -----<br>From: "Ramesh Reddy" <rareddy@redhat.com><br>To: "John Verhaeg" <jverhaeg@redhat.com><br>Cc: teiid-dev@lists.jboss.org<br>Sent: Tuesday, May 25, 2010 11:11:11 AM GMT -06:00 US/Canada Central<br>Subject: Re: [teiid-dev] Translators in the "vdb.xml" file.<br><br>On Tue, 2010-05-25 at 12:05 -0500, John Verhaeg wrote:<br>> <br>> But we don't really want to own the format of these translator files.<br>> Can't we just modify the admin API method in question to hand us back<br>> the translator files so we can then write them to the vdb.xml?<br>> <br>> <br>Designer is already building a properties object for the Translator to<br>be called with Admin API. What I am saying is, I will provide the<br>schema, which will be similar to "model" fragment with bunch of name<br>value pairs. Designer can use that to build the XML. If you are using<br>JAXB for xml marshaling it would be no different.<br><br>This also removes the verbose call to the Teiid runtime, so that this<br>can be done with out active server connection.<br><br>Ramesh..<br><br>_______________________________________________<br>teiid-dev mailing list<br>teiid-dev@lists.jboss.org<br>https://lists.jboss.org/mailman/listinfo/teiid-dev<br></div></body></html>