[JBoss JIRA] (TEIIDDES-1879) Translator Override Properties dialog box show the properties for the data sources, it should show override properties for translator
by Paul Richardson (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-1879?page=com.atlassian.jira.plu... ]
Paul Richardson commented on TEIIDDES-1879:
-------------------------------------------
Hi Ramesh,
Looking at this in more detail, the key/value pairs displayed in the dialog box do indeed not come from t.getProperties() but in fact come from t.getPropertyDefinitions(). The 2 lists are completely different, eg.
{code}
FILE TRANSLATOR
=== Properties ===
Key: CopyLobs Value: false
Key: execution-factory-class Value: org.teiid.translator.file.FileExecutionFactory
Key: SupportedJoinCriteria Value: ANY
Key: supportsOuterJoins Value: false
Key: requiresCriteria Value: false
Key: supportsInnerJoins Value: false
Key: MaxInCriteriaSize Value: -1
Key: supportsSelectDistinct Value: false
Key: NativeQueryProcedureName Value: native
Key: supportsNativeQueries Value: false
Key: supportsOrderBy Value: false
Key: Encoding Value: UTF-8
Key: ExceptionIfFileNotFound Value: true
Key: supportsFullOuterJoins Value: false
Key: Immutable Value: false
Key: MaxDependentInPredicates Value: -1
=== Property Definitions ===
Definition: resourceadapter-class
Definition: managedconnectionfactory-class
Definition: ParentDirectory
Definition: FileMapping
Definition: AllowParentPaths
Definition: pool-prefill
Definition: no-tx-separate-pool
Definition: use-fast-fail
Definition: recovery-security-domain
Definition: flush-strategy
Definition: background-validation
Definition: class-name
Definition: interleaving
Definition: recovery-plugin-class-name
Definition: recovery-password
Definition: wrap-xa-resource
Definition: max-pool-size
Definition: recovery-plugin-properties
Definition: idle-timeout-minutes
Definition: same-rm-override
Definition: blocking-timeout-wait-millis
Definition: pool-use-strict-min
Definition: security-domain-and-application
Definition: security-application
Definition: min-pool-size
Definition: security-domain
Definition: xa-resource-timeout
Definition: recovery-username
Definition: no-recovery
Definition: pad-xid
Definition: background-validation-millis
{code}
Since this seems quite a major difference in what will be displayed to the user, I would like to confirm whether it is right to modify this UI? The class 'VdbSourceConnectionHandler' is responsible for the population of this UI and its functionality has not been radically modified since its was created in March 2011.
> 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: Paul Richardson
> 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