[
https://jira.jboss.org/jira/browse/TEIID-803?page=com.atlassian.jira.plug...
]
Van Halbert commented on TEIID-803:
-----------------------------------
There's several problems with this approach:
1. This is not a good usability option to take the entered name by the user and turn it
into something else. Will the user/developer/monitoring tool somehow, intuitively,
know that. Also, I think this is an unnecessary complexity to teach the user.
2. the DeployedName property isn't visible in the designer to change it or delete
it. So changing it will be problematic.
3. The generated name - Transaction_1.datasource1 is made up some combination of
variables. I see where Transaction and datasource come from, but it added
"_1". Which will make the usability an issue.
Common sense says the name I call the connector binding in the designer should be the name
I get when I call getName() on ConnectorBinding. Now if the internals of Teiid need
the deployedName or there's need to expose a name that a differentiator for other
reasons, then I sugguest adding another method, like getDeployedName().
The connector binding name assigned when created in the designer is
not the name in the ConnectorBinding when using AdminAPI
----------------------------------------------------------------------------------------------------------------------------
Key: TEIID-803
URL:
https://jira.jboss.org/jira/browse/TEIID-803
Project: Teiid
Issue Type: Bug
Components: AdminApi, Tools
Affects Versions: 6.2.0
Reporter: Van Halbert
Assignee: Steven Hawkins
The name I assigned to the connectorbinding in the designer was "datasource1".
I looked at the advanced properties and there is no other name property defined.
Open the vdb file and view the Configuration.def file and it has the following:
<Connector Name="datasource1" ComponentType="Loopback
Connector" routingUUID="mmuuid:66dfa66b-4572-46ba-a477-8b6fe3895072">
<Properties>
<Property
Name="DeployedName">Transaction_1.datasource1</Property>
</Properties>
</Connector>
When using the adminapi and calleding getName() on ConnectorBinding, the name returned is
"Transaction_1.datasource1". The name that the user assignes to the binding
should match the getName().
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira