[JBoss JIRA] (TEIIDDES-2852) Import from Infinispan issue
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2852?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-2852:
---------------------------------------
This is fixed with the fix to the change to the server script: add-infinispan-cache-dsl-translator.cl
which is the recommended script to run when installing the translator, which will now install the infinispan resource adapter used for tooling. This fix is in the 6.3.2 patch.
> Import from Infinispan issue
> ----------------------------
>
> Key: TEIIDDES-2852
> URL: https://issues.jboss.org/browse/TEIIDDES-2852
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.1
> Reporter: Matus Makovy
> Assignee: Barry LaFond
> Fix For: 10.0.3
>
> Attachments: Screen Shot 2016-06-03 at 15.38.12.png, Screen Shot 2016-06-03 at 15.38.17.png, Screen Shot 2016-06-06 at 14.51.05 (3).png
>
>
> If I want to import from Infinispan (remote-cache) using Teiid Connection import in TD and I have a resource adapter defined like this:
> {code:xml}
> <resource-adapter id="infinispan-remote-cache-ds">
> <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
> <transaction-support>LocalTransaction</transaction-support>
> <connection-definitions>
> <connection-definition class-name="org.teiid.resource.adapter.infinispan.dsl.InfinispanManagedConnectionFactory" jndi-name="java:/infinispanRemoteDSL" enabled="true" use-java-context="true" pool-name="infinispan-remote-cache-ds">
> <config-property name="ProtobufDefinitionFile">
> /org/jboss/qe/jdg/remote/protobuf/SmallA.proto
> </config-property>
> <config-property name="RemoteServerList">
> dvqe01.mw.lab.eng.bos.redhat.com:11322
> </config-property>
> <config-property name="MessageMarshallers">
> org.jboss.qe.jdg.pojo.SmallA:org.jboss.qe.jdg.remote.marshaller.SmallAMarshaller
> </config-property>
> <config-property name="CacheTypeMap">
> smallARemotecache:org.jboss.qe.jdg.pojo.SmallA;intKey
> </config-property>
> <config-property name="Module">
> org.jboss.qe.jdg.pojos
> </config-property>
> <config-property name="MessageDescriptor">
> org.jboss.qe.jdg.remote.protobuf.SmallA
> </config-property>
> </connection-definition>
> </connection-definitions>
> </resource-adapter>
> {code}
> I am getting this error in TD - see attached screenshot.
> And I cannot continue through the wizard.
> I have to add another resource adapter that works like a driver for the previous one. The configuration looks like this:
> {code:xml}
> <resource-adapter id="infinispan-remote-driver">
> <module slot="main" id="org.jboss.teiid.resource-adapter.infinispan.dsl"/>
> </resource-adapter>
> {code}
> After adding this^ "driver" everything works.
> Is this a TD bug? or is it supposed to work this way ?
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2958) Missing property when I want to edit infinispan-cache-dsl translator
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2958?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-2958:
---------------------------------------
SupportsDirectQueryProcedure is there, just its Supports Direct Query Procedure (with spaces). Its using a description, not the parameter name. However, if you change the default, then edit the property, the property name is then displayed, not the description.
> Missing property when I want to edit infinispan-cache-dsl translator
> --------------------------------------------------------------------
>
> Key: TEIIDDES-2958
> URL: https://issues.jboss.org/browse/TEIIDDES-2958
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Reporter: Matej Kralik
> Priority: Minor
> Attachments: screenshot1.png, screenshot2.png
>
>
> According to [this |https://issues.jboss.org/browse/TEIIDDES-2812?focusedCommentId=13283715&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-13283715] comment, when I click on the JDG source model and I want to override translator, SupportsDirectQueryProcedure parameter is missing. (screenshot1)
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2973) When creating View model by transforming should set nameInSource to blank
by Van Halbert (JIRA)
Van Halbert created TEIIDDES-2973:
-------------------------------------
Summary: When creating View model by transforming should set nameInSource to blank
Key: TEIIDDES-2973
URL: https://issues.jboss.org/browse/TEIIDDES-2973
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 10.0.2
Reporter: Van Halbert
When a view model is being created by transforming from a source model is assigning the NameInSource to what the source model had and that is incorrect and cause incorrect references. The NIS for the view model should be set to blank, so that it delegates to the source model as to what the underlying nameinSource to use.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2956) Designer has generated the wrong jar in the JDG module
by Barry LaFond (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2956?page=com.atlassian.jira.plu... ]
Barry LaFond commented on TEIIDDES-2956:
----------------------------------------
10.0.x: https://github.com/Teiid-Designer/teiid-designer/commit/bad352bcbbb7bc7f9...
> Designer has generated the wrong jar in the JDG module
> -------------------------------------------------------
>
> Key: TEIIDDES-2956
> URL: https://issues.jboss.org/browse/TEIIDDES-2956
> Project: Teiid Designer
> Issue Type: Bug
> Affects Versions: 10.0.2
> Environment: Windows 10 1607
> Reporter: Matej Kralik
> Assignee: Barry LaFond
> Priority: Blocker
> Fix For: 10.0.2
>
> Attachments: Book.jar, Book_fedora.jar, Book_windows10.jar, completeJDGproject3.zip, express-zip-contents-on-windows.png, jarInFedora.png, jarInWindows.png
>
>
> I want to deploy dynamic vdb with JDG materialization on the server and server shows me error that:
> {code:java}
> IJ000604: Throwable while attempting to get a new connection: null: javax.resource.ResourceException: java.lang.ClassNotFoundException: org.teiid.jdg.pojo.Book from [Module "org.teiid.jdg.pojo:main" from local module loader @16f65612 (finder: local module finder @311d617d (roots: C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules,C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules\system\layers\dv,C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules\system\layers\base\.overlays\layer-base-jboss-eap-6.4.9.CP,C:\Users\jboss\Downloads\testJDG\EAP-6.4.0\modules\system\layers\base))]
> {code}
> I noticed that something is wrong with generated jar file in the windows because when I use jar file which I generated in the fedora, materialization works fine. I uploaded both jar files.
> The strange thing is that when I open .jar (which was generated in the windows ) via 7-file in the windows, file contains folders to Book.class (org/teiid/jdg/pojo) (jarInWindows.png) but when I open this same .jar in the fedora, file contains .class which have name org\teiid\jdg\pojo/Book.class (jarInFedora.png). Maybe this is the problem.
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2972) Incorrect NameInSource assignment
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2972?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-2972:
---------------------------------------
What I did notice, when using the Stock example, was the Name (or nameInSource) didn't match that of the method name created on pojo. In this case, it changed "product_id" to "productName" and changed "company_name" to "companyName".
So what ever the name of the pojo method is changed to, so should the NameInSource be set to also. They have to match.
> Incorrect NameInSource assignment
> ---------------------------------
>
> Key: TEIIDDES-2972
> URL: https://issues.jboss.org/browse/TEIIDDES-2972
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> When performing the wizard to materialization into a JDG data source, the nameInSource assigned to the JDG source tables is incorrect. Example:
> CREATE FOREIGN TABLE Stock (
> product_id integer OPTIONS(NAMEINSOURCE '"product_id"', NATIVE_TYPE 'integer', FIXED_LENGTH 'TRUE'),
> symbol string(4000) OPTIONS(NAMEINSOURCE '"symbol"', NATIVE_TYPE 'string'),
> price string(50) OPTIONS(NAMEINSOURCE '"price"', NATIVE_TYPE 'string', FIXED_LENGTH 'TRUE'),
> company_name string(256) OPTIONS(NAMEINSOURCE '"company_name"', NATIVE_TYPE 'string'),
> CONSTRAINT PK_prodid PRIMARY KEY(product_id)
> ) OPTIONS(NAMEINSOURCE '"Stocks"."Stock"', UPDATABLE 'TRUE')
> The NAMEINSOURCE not be set or if it is, should be the same name as the table. In this case, "Stock".
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2972) Incorrect NameInSource assignment
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2972?page=com.atlassian.jira.plu... ]
Van Halbert reassigned TEIIDDES-2972:
-------------------------------------
Assignee: Barry LaFond (was: Van Halbert)
> Incorrect NameInSource assignment
> ---------------------------------
>
> Key: TEIIDDES-2972
> URL: https://issues.jboss.org/browse/TEIIDDES-2972
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Barry LaFond
> Priority: Blocker
>
> When performing the wizard to materialization into a JDG data source, the nameInSource assigned to the JDG source tables is incorrect. Example:
> CREATE FOREIGN TABLE Stock (
> product_id integer OPTIONS(NAMEINSOURCE '"product_id"', NATIVE_TYPE 'integer', FIXED_LENGTH 'TRUE'),
> symbol string(4000) OPTIONS(NAMEINSOURCE '"symbol"', NATIVE_TYPE 'string'),
> price string(50) OPTIONS(NAMEINSOURCE '"price"', NATIVE_TYPE 'string', FIXED_LENGTH 'TRUE'),
> company_name string(256) OPTIONS(NAMEINSOURCE '"company_name"', NATIVE_TYPE 'string'),
> CONSTRAINT PK_prodid PRIMARY KEY(product_id)
> ) OPTIONS(NAMEINSOURCE '"Stocks"."Stock"', UPDATABLE 'TRUE')
> The NAMEINSOURCE not be set or if it is, should be the same name as the table. In this case, "Stock".
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2972) Incorrect NameInSource assignment
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-2972?page=com.atlassian.jira.plu... ]
Van Halbert reassigned TEIIDDES-2972:
-------------------------------------
Assignee: Van Halbert
> Incorrect NameInSource assignment
> ---------------------------------
>
> Key: TEIIDDES-2972
> URL: https://issues.jboss.org/browse/TEIIDDES-2972
> Project: Teiid Designer
> Issue Type: Bug
> Components: Modeling
> Affects Versions: 10.0.2
> Reporter: Van Halbert
> Assignee: Van Halbert
> Priority: Blocker
>
> When performing the wizard to materialization into a JDG data source, the nameInSource assigned to the JDG source tables is incorrect. Example:
> CREATE FOREIGN TABLE Stock (
> product_id integer OPTIONS(NAMEINSOURCE '"product_id"', NATIVE_TYPE 'integer', FIXED_LENGTH 'TRUE'),
> symbol string(4000) OPTIONS(NAMEINSOURCE '"symbol"', NATIVE_TYPE 'string'),
> price string(50) OPTIONS(NAMEINSOURCE '"price"', NATIVE_TYPE 'string', FIXED_LENGTH 'TRUE'),
> company_name string(256) OPTIONS(NAMEINSOURCE '"company_name"', NATIVE_TYPE 'string'),
> CONSTRAINT PK_prodid PRIMARY KEY(product_id)
> ) OPTIONS(NAMEINSOURCE '"Stocks"."Stock"', UPDATABLE 'TRUE')
> The NAMEINSOURCE not be set or if it is, should be the same name as the table. In this case, "Stock".
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months
[JBoss JIRA] (TEIIDDES-2972) Incorrect NameInSource assignment
by Van Halbert (JIRA)
Van Halbert created TEIIDDES-2972:
-------------------------------------
Summary: Incorrect NameInSource assignment
Key: TEIIDDES-2972
URL: https://issues.jboss.org/browse/TEIIDDES-2972
Project: Teiid Designer
Issue Type: Bug
Components: Modeling
Affects Versions: 10.0.2
Reporter: Van Halbert
Priority: Blocker
When performing the wizard to materialization into a JDG data source, the nameInSource assigned to the JDG source tables is incorrect. Example:
CREATE FOREIGN TABLE Stock (
product_id integer OPTIONS(NAMEINSOURCE '"product_id"', NATIVE_TYPE 'integer', FIXED_LENGTH 'TRUE'),
symbol string(4000) OPTIONS(NAMEINSOURCE '"symbol"', NATIVE_TYPE 'string'),
price string(50) OPTIONS(NAMEINSOURCE '"price"', NATIVE_TYPE 'string', FIXED_LENGTH 'TRUE'),
company_name string(256) OPTIONS(NAMEINSOURCE '"company_name"', NATIVE_TYPE 'string'),
CONSTRAINT PK_prodid PRIMARY KEY(product_id)
) OPTIONS(NAMEINSOURCE '"Stocks"."Stock"', UPDATABLE 'TRUE')
The NAMEINSOURCE not be set or if it is, should be the same name as the table. In this case, "Stock".
--
This message was sent by Atlassian JIRA
(v7.2.2#72004)
9 years, 5 months