[JBoss JIRA] (TEIIDDES-3203) Cache name is not set correctly when protobuf name contains slash
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3203?page=com.atlassian.jira.plu... ]
Van Halbert commented on TEIIDDES-3203:
---------------------------------------
I don't think it should allow slashes in the name field, only the path. When a proto file is registered, its location isn't registered (its not using the file path as a namespace), only the .proto file itself. The proto file, internally, defines the package and java classes it will generate.
> Cache name is not set correctly when protobuf name contains slash
> -----------------------------------------------------------------
>
> Key: TEIIDDES-3203
> URL: https://issues.jboss.org/browse/TEIIDDES-3203
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Attachments: withSlashDDL.png, withSlashImporter.png, withSlashProperty.png, withoutSlashDDL.png, withoutSlashImporter.png, withoutSlashProperty.png
>
>
> I import JDG 7 source model via Teiid Importer.
> When I set Protobuf name which contains slash (_withSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property to default (_withSlashProperty.png_). But when I use Protobuf name which doesn't contains slash (_withoutSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property correctly (_withoutSlashProperty.png_).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3204) NATIVE tag causes new protobuf name when source model doesn't have the same name as a existing protobuf name
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3204?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3204:
-----------------------------------
Summary: NATIVE tag causes new protobuf name when source model doesn't have the same name as a existing protobuf name (was: NATIVE tag causes new protobuf name when source model doesn't have same name as existing protobuf name)
> NATIVE tag causes new protobuf name when source model doesn't have the same name as a existing protobuf name
> ------------------------------------------------------------------------------------------------------------
>
> Key: TEIIDDES-3204
> URL: https://issues.jboss.org/browse/TEIIDDES-3204
> Project: Teiid Designer
> Issue Type: Bug
> Reporter: Matej Kralik
> Priority: Critical
> Attachments: JDGasDS-2018-05-25_12.29.37.mkv, importJDG7DS.zip
>
>
> When JDG7 is used as a data source and imported from teiid importer, the model must have the same name as protobuf name. If the name of the imported model is different, native tag causes that new protobuf name is created and model doesn't select original data. (only empty table)
> I want to use JDG7 as a data source. I import source model ( People from jdg7.1-remote-cache quickstart ) via Teiid Importer. When I set the name of the imported source model as a name of the Protobuf file, everything works and I am able to select data from table but when I set the name of the imported source model differently (e.g. mySourceModel), run select query on dynamic VDB doesn't show any data from table and in the JDG side is created the new Protobuf name according to the name of the model (mySourceModel.proto).
> {code:java}
> 12:25:22,365 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) =====================================
> 12:25:22,368 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) ==== Protobuf Name: People.proto
> 12:25:22,368 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) ==== Protobuf Name: mySourceModel.proto
> 12:25:22,368 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) =====================================
> {code}
> I notice that this behavior is caused by native metadata tag. When I remove the native tag from XML vdb, I am able to select data from the model which has the different name as protobuf file too.
> If you set up JDG and JDV according to jdg7.1-remote-cache quickstart, you can use project from attachment. I have also uploaded video.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3204) NATIVE tag causes new protobuf name when source model doesn't have same name as existing protobuf name
by Matej Kralik (JIRA)
Matej Kralik created TEIIDDES-3204:
--------------------------------------
Summary: NATIVE tag causes new protobuf name when source model doesn't have same name as existing protobuf name
Key: TEIIDDES-3204
URL: https://issues.jboss.org/browse/TEIIDDES-3204
Project: Teiid Designer
Issue Type: Bug
Reporter: Matej Kralik
Priority: Critical
Attachments: JDGasDS-2018-05-25_12.29.37.mkv, importJDG7DS.zip
When JDG7 is used as a data source and imported from teiid importer, the model must have the same name as protobuf name. If the name of the imported model is different, native tag causes that new protobuf name is created and model doesn't select original data. (only empty table)
I want to use JDG7 as a data source. I import source model ( People from jdg7.1-remote-cache quickstart ) via Teiid Importer. When I set the name of the imported source model as a name of the Protobuf file, everything works and I am able to select data from table but when I set the name of the imported source model differently (e.g. mySourceModel), run select query on dynamic VDB doesn't show any data from table and in the JDG side is created the new Protobuf name according to the name of the model (mySourceModel.proto).
{code:java}
12:25:22,365 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) =====================================
12:25:22,368 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) ==== Protobuf Name: People.proto
12:25:22,368 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) ==== Protobuf Name: mySourceModel.proto
12:25:22,368 INFO [org.teiid.CONNECTOR] (teiid-async-threads - 3) =====================================
{code}
I notice that this behavior is caused by native metadata tag. When I remove the native tag from XML vdb, I am able to select data from the model which has the different name as protobuf file too.
If you set up JDG and JDV according to jdg7.1-remote-cache quickstart, you can use project from attachment. I have also uploaded video.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3203) Cache name is not set correctly when protobuf name contains slash
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3203?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3203:
-----------------------------------
Workaround Description: Change infinispan-hotrod:CACHE property manually after import
> Cache name is not set correctly when protobuf name contains slash
> -----------------------------------------------------------------
>
> Key: TEIIDDES-3203
> URL: https://issues.jboss.org/browse/TEIIDDES-3203
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Priority: Critical
> Attachments: withSlashDDL.png, withSlashImporter.png, withSlashProperty.png, withoutSlashDDL.png, withoutSlashImporter.png, withoutSlashProperty.png
>
>
> I import JDG 7 source model via Teiid Importer.
> When I set Protobuf name which contains slash (_withSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property to default (_withSlashProperty.png_). But when I use Protobuf name which doesn't contains slash (_withoutSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property correctly (_withoutSlashProperty.png_).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3203) Cache name is not set correctly when protobuf name contains slash
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3203?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3203:
-----------------------------------
Priority: Major (was: Critical)
> Cache name is not set correctly when protobuf name contains slash
> -----------------------------------------------------------------
>
> Key: TEIIDDES-3203
> URL: https://issues.jboss.org/browse/TEIIDDES-3203
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Attachments: withSlashDDL.png, withSlashImporter.png, withSlashProperty.png, withoutSlashDDL.png, withoutSlashImporter.png, withoutSlashProperty.png
>
>
> I import JDG 7 source model via Teiid Importer.
> When I set Protobuf name which contains slash (_withSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property to default (_withSlashProperty.png_). But when I use Protobuf name which doesn't contains slash (_withoutSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property correctly (_withoutSlashProperty.png_).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3203) Cache name is not set correctly when protobuf name contains slash
by Matej Kralik (JIRA)
Matej Kralik created TEIIDDES-3203:
--------------------------------------
Summary: Cache name is not set correctly when protobuf name contains slash
Key: TEIIDDES-3203
URL: https://issues.jboss.org/browse/TEIIDDES-3203
Project: Teiid Designer
Issue Type: Bug
Affects Versions: 11.1.3
Reporter: Matej Kralik
Priority: Critical
Attachments: withSlashDDL.png, withSlashImporter.png, withSlashProperty.png, withoutSlashDDL.png, withoutSlashImporter.png, withoutSlashProperty.png
I import JDG 7 source model via Teiid Importer.
When I set Protobuf name which contains slash (_withSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property to default (_withSlashProperty.png_). But when I use Protobuf name which doesn't contains slash (_withoutSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property correctly (_withoutSlashProperty.png_).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3203) Cache name is not set correctly when protobuf name contains slash
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3203?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3203:
-----------------------------------
Component/s: Import/Export
> Cache name is not set correctly when protobuf name contains slash
> -----------------------------------------------------------------
>
> Key: TEIIDDES-3203
> URL: https://issues.jboss.org/browse/TEIIDDES-3203
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Priority: Critical
> Attachments: withSlashDDL.png, withSlashImporter.png, withSlashProperty.png, withoutSlashDDL.png, withoutSlashImporter.png, withoutSlashProperty.png
>
>
> I import JDG 7 source model via Teiid Importer.
> When I set Protobuf name which contains slash (_withSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property to default (_withSlashProperty.png_). But when I use Protobuf name which doesn't contains slash (_withoutSlashImporter.png_), teiid designer set infinispan-hotrod:CACHE property correctly (_withoutSlashProperty.png_).
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3202) Preview data on imported JDG7 model doesn't work
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3202?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3202:
-----------------------------------
Steps to Reproduce:
# Set up the server according to jdg7.1-remote-cache quickstart
# Import model via Teiid Importer (translator = infinispan-hotrod; Protobuf name = People.proto, the name of the imported model must be *People*)
# Preview Person table
or
# Import model from attachment
# Click on preview data on table
# Look at preview VDB XML Content
was:
# Set up the server according to jdg7.1-remote-cache quickstart
# Import PersonVDB from the server via Teiid Importer (translator = infinispan-hotrod; Protobuf name = People.proto, the name of the imported model must be *People*)
# Preview Person table
or
# Import model from attachment
# Click on preview data on table
# Look at preview VDB XML Content
> Preview data on imported JDG7 model doesn't work
> ------------------------------------------------
>
> Key: TEIIDDES-3202
> URL: https://issues.jboss.org/browse/TEIIDDES-3202
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Attachments: importJDG7.zip
>
>
> I have a server with RA (resource adapter) for JDG7 (jdg7.1-remote-cache quickstart).
> I import model via Teiid importer.
> But, when I want to preview table from this model, the generated DDL is invalid and contains extra bracket after NATIVE metadata tag.
> {code:java}
> ....
> </metadata>
> <metadata type="NATIVE">)
> </model>
> </vdb>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3202) Preview data on imported JDG7 model doesn't work
by Matej Kralik (JIRA)
[ https://issues.jboss.org/browse/TEIIDDES-3202?page=com.atlassian.jira.plu... ]
Matej Kralik updated TEIIDDES-3202:
-----------------------------------
Description:
I have a server with RA (resource adapter) for JDG7 (jdg7.1-remote-cache quickstart).
I import model via Teiid importer.
But, when I want to preview table from this model, the generated DDL is invalid and contains extra bracket after NATIVE metadata tag.
{code:java}
....
</metadata>
<metadata type="NATIVE">)
</model>
</vdb>
{code}
was:
I have a server with VDB which contains source model which consumes data from JDG7 (jdg7.1-remote-cache quickstart with PersonVDB which contains People source model with Person table).
I import this model via Teiid importer.
But, when I want to preview table from this model, the generated DDL is invalid and contains extra bracket after NATIVE metadata tag.
{code:java}
....
</metadata>
<metadata type="NATIVE">)
</model>
</vdb>
{code}
> Preview data on imported JDG7 model doesn't work
> ------------------------------------------------
>
> Key: TEIIDDES-3202
> URL: https://issues.jboss.org/browse/TEIIDDES-3202
> Project: Teiid Designer
> Issue Type: Bug
> Components: Import/Export
> Affects Versions: 11.1.3
> Reporter: Matej Kralik
> Attachments: importJDG7.zip
>
>
> I have a server with RA (resource adapter) for JDG7 (jdg7.1-remote-cache quickstart).
> I import model via Teiid importer.
> But, when I want to preview table from this model, the generated DDL is invalid and contains extra bracket after NATIVE metadata tag.
> {code:java}
> ....
> </metadata>
> <metadata type="NATIVE">)
> </model>
> </vdb>
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months
[JBoss JIRA] (TEIIDDES-3202) Preview data on imported JDG7 model doesn't work
by Matej Kralik (JIRA)
Matej Kralik created TEIIDDES-3202:
--------------------------------------
Summary: Preview data on imported JDG7 model doesn't work
Key: TEIIDDES-3202
URL: https://issues.jboss.org/browse/TEIIDDES-3202
Project: Teiid Designer
Issue Type: Bug
Components: Import/Export
Affects Versions: 11.1.3
Reporter: Matej Kralik
Attachments: importJDG7.zip
I have a server with VDB which contains source model which consumes data from JDG7 (jdg7.1-remote-cache quickstart with PersonVDB which contains People source model with Person table).
I import this model via Teiid importer.
But, when I want to preview table from this model, the generated DDL is invalid and contains extra bracket after NATIVE metadata tag.
{code:java}
....
</metadata>
<metadata type="NATIVE">)
</model>
</vdb>
{code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 7 months