[
https://jira.jboss.org/jira/browse/TEIID-803?page=com.atlassian.jira.plug...
]
Ramesh Reddy commented on TEIID-803:
------------------------------------
Only in the absence of the "DeployedName" property in the connector properties,
the name "full name" of the connector is used as the "DeployedName".
This provision is there so that Teiid can safely namespace the Connectors for given VDB.
If you used designer to assign, it will internally turn it into above format. Once
deployed they will only get accessed by the deployed name. If you want to use
"datasource1" as the name then you would manually delete the
"DeployedName" property.
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