[
https://issues.jboss.org/browse/TEIIDDES-1879?page=com.atlassian.jira.plu...
]
Barry LaFond commented on TEIIDDES-1879:
----------------------------------------
So back when we implemented this feature our goal was to provide property definition
context to the translator overrides panel (i.e. data type, allowed values, default values,
etc). We apparently misunderstood how this all should work and in particular, what data
is returned on 2 runtime/admin methods
*Admin.getTemplatePropertyDefniitions()* "Get all of the available configuration
Properties for the specified connector"
*Translator.getProperties()* (AdminObject) "Get the Configuration Properties that
defines this process"
I now understand that even though Translators and ResourceAdapters are included in the
Connector definition, their properties are defined and tracked in different forms.
ResourcesAdapter property definitions are defined via XML configuration however Translator
property definitions don't really exist.
So fundamentally, there isn't a way to ask a Translator for it's property
definitions and what Designer will have to work with is:
* String properties only (Name/Value pairs)
* No way to show/tell the user what Translator properties are available ?
I'm assuming that if a user currently changes a "resource adapter" property
that the translator will probably ignore it, unless the "key" is a lucky guess.
So is there any other recourse for Designer other than to drop the property definitions
and work with simple Properties?
Translator Override Properties dialog box show the properties for the
data sources, it should show override properties for translator
-------------------------------------------------------------------------------------------------------------------------------------
Key: TEIIDDES-1879
URL:
https://issues.jboss.org/browse/TEIIDDES-1879
Project: Teiid Designer
Issue Type: Bug
Components: VDB & Execution
Affects Versions: 8.2
Reporter: Ramesh Reddy
Assignee: Barry LaFond
Priority: Critical
Fix For: 8.3
The translator overrides dialog box during the VDB construction, shows the properties for
the data source (resource-adapter) not for translator.
The translator properties can be obtained on admin api by
Translator t = api.getTranslator("name");
t.getProperties()
Currently there is no metadata available on them they are just key/value pairs
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira