[
https://jira.jboss.org/browse/TEIID-1056?page=com.atlassian.jira.plugin.s...
]
Steve Hawkins resolved TEIID-1056.
----------------------------------
Resolution: Done
Simplified the TranslatorProperty annotation to remove the name (inferred from the method
- can add back latter for migration purposes), type (inferred from the method), allowed
values (inferred if the type is an enum), read-only (inferred by the presence of a
setter), and default value (inferred from the getter, if not required). Added a managed
value to delineate values set directly by deployer through a named element (xa-capable,
etc.).
For designer purposes - required means no default, not advanced, and must have a value
As per Paul's comment, advanced still exists but we could just as easily choose to get
rid of it.
Required Connector Properties Should Have A Default Value If They Are
Marked As An Expert Property
--------------------------------------------------------------------------------------------------
Key: TEIID-1056
URL:
https://jira.jboss.org/browse/TEIID-1056
Project: Teiid
Issue Type: Bug
Components: JDBC Connector
Affects Versions: 7.0
Environment: Teiid 7.0 M3, Ubuntu 9.04
Reporter: Dan Florian
Assignee: Steven Hawkins
Fix For: 7.0
The JDBC connector's "connection-definition" property is marked as an
expert property but does not have a default value. Expert properties generally require
very little maintenance and are normally not presented initially to a user. If a default
value cannot be assigned to a required property it should not be marked as
"expert." There might be other connectors with similar issues.
--
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