[teiid-issues] [JBoss JIRA] Commented: (TEIID-803) The connector binding name assigned when created in the designer is not the name in the ConnectorBinding when using AdminAPI

Ramesh Reddy (JIRA) jira-events at lists.jboss.org
Wed Aug 26 11:24:23 EDT 2009


    [ https://jira.jboss.org/jira/browse/TEIID-803?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12482818#action_12482818 ] 

Ramesh Reddy commented on TEIID-803:
------------------------------------

These changes are made to provide "vdb" scoped connectors. 

>From the example "Transaction_1.datasource1"
   Transaction = is the name of the VDB
    1 = version of the VDB
   datasource1 = name of the connector

This is done so that multiple VDBs in a single runtime can have similar named connectors and do not have worry about conflicts. More over this does not need to be in the format "vdb_version.connector name", this can be any name that the user wants in the Teiid runtime just like the name, however for simplicity the Designer uses the VDB as the prefix.

Adding the "getDeployedName" method to the ConnectorBinding admin object is good idea, as with clustering feature we may need to further prefix these with process name to identify correctly which connector instance we are dealing with.

> 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

        


More information about the teiid-issues mailing list