[teiid-issues] [JBoss JIRA] Resolved: (TEIID-1079) Provide deployer for the Translation Layer components.
Ramesh Reddy (JIRA)
jira-events at lists.jboss.org
Thu May 27 15:37:08 EDT 2010
[ https://jira.jboss.org/browse/TEIID-1079?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ramesh Reddy resolved TEIID-1079.
---------------------------------
Resolution: Done
Now there are (3) choices in deploying a translator.
1) Add a @Translator(name="name") annotation to the "ExecutionFactory". This will create a default/global scoped Translator and is required by all the "ExecutionFactory" implementations.
2) You can still use the XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<translator-factory>
<translator name ="overrideName" type = "name">
<property name="prop-name1" value="value1" />
<property name="prop-name2" value="value2" />
</translator>
</translator-factory>
This defined a global override translator. This XML file needs to be saved in a "-translator.xml" file in the deploy directory
3) Create a override Translator in VDB scope by defining the inside the "vdb.xml" file with xml fragment
<translator name ="overrideName" type = "name">
<property name="prop-name1" value="value1" />
<property name="prop-name2" value="value2" />
</translator>
> Provide deployer for the Translation Layer components.
> ------------------------------------------------------
>
> Key: TEIID-1079
> URL: https://jira.jboss.org/browse/TEIID-1079
> Project: Teiid
> Issue Type: Sub-task
> Components: Server
> Affects Versions: 7.0
> Environment: 7.0 M3
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Fix For: 7.0
>
>
> The translation layer properties will be provided to the teiid engine through "-tl.xml" properties. Teiid must provide a deployer to read this properties and create appropriate translation layer.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the teiid-issues
mailing list