[
https://issues.jboss.org/browse/TEIIDDES-2405?page=com.atlassian.jira.plu...
]
Mark Drilling resolved TEIIDDES-2405.
-------------------------------------
Resolution: Done
DataSourceManager code in designer was incorrectly testing for resource adapter before
setting the class-name property - which was not a necessary step. The
managedconnectionfactory-class default value should alway be used.
Removed the unnecessary check and retest ok.
https://github.com/Teiid-Designer/teiid-designer/pull/441
Steps to retest
1) add the attached cassandra resource adapter to standalone.xml resource adapters
section
2) In designer, launch the 'teiid connection importer'. On the first page of the
wizard, click "New..." to create a new data source.
3) On the Create DataSource dialog - in Available Drivers list, click on
'cassandra' type.
4) For the cassandra DataSource properties, the 'class-name' property should have
a value of
'org.teiid.resource.adapter.cassandra.CassandraManagedConnectionFactory'.
(Prior to this fix, the class-name was not getting set)
Teiid Importer *MUST* not require class-name property working with
Teiid Sources
--------------------------------------------------------------------------------
Key: TEIIDDES-2405
URL:
https://issues.jboss.org/browse/TEIIDDES-2405
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 8.6
Reporter: Ramesh Reddy
Assignee: Mark Drilling
Priority: Critical
Fix For: 9.1, 9.0.2
When working with "new" and "custom" translators in Teiid, the Teiid
Importer fails to recognize the class-name property from the retrieved metadata. The
following the excerpt from CLI command on a cassandra data source
{code}
{"managedconnectionfactory-class" => {
"type" => STRING,
"display" => "managedconnectionfactory-class",
"read-only" => "true",
"advanced" => "true",
"default" =>
"org.teiid.resource.adapter.cassandra.CassandraManagedConnectionFactory"
}},
{code}
That property needs to be used as the "class-name", there must not be any hard
coding of this to only known source types.
--
This message was sent by Atlassian JIRA
(v6.3.11#6341)