[JBoss JIRA] (TEIIDSB-190) REST with request payload throws an error
by Steven Hawkins (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-190?page=com.atlassian.jira.plug... ]
Steven Hawkins reassigned TEIIDSB-190:
--------------------------------------
Assignee: Steven Hawkins (was: Ramesh Reddy)
> REST with request payload throws an error
> -----------------------------------------
>
> Key: TEIIDSB-190
> URL: https://issues.redhat.com/browse/TEIIDSB-190
> Project: Teiid Spring Boot
> Issue Type: Bug
> Components: core
> Reporter: Sadhana Nandakumar
> Assignee: Steven Hawkins
> Priority: Major
> Fix For: 1.5.0
>
>
> TEIID spring boot is expecting the payload to be a bean, and hence throws an error. POST without request body works fine without any issues.
> CREATE VIEW StockPrice (
> symbol string PRIMARY KEY,
> price double
> ) AS
> SELECT p.symbol, y.price
> FROM accounts.PRODUCT as p, TABLE(call invokeHttp(action=>'POST', endpoint=>QUERYSTRING('predict'), headers=>jsonObject('application/json' as "Content-Type"), request=>jsonObject('PLATINUM' as "customerClass"))) as x,
> JSONTABLE(JSONPARSE(x.result,true), '$' COLUMNS price double path '@.data.segment') as y
> No errors on build, when I query the odata endpoint, I see the following error.
> <error xmlns="http://docs.oasis-open.org/odata/ns/metadata">
> <code>TEIID30504</code>
> <message>
> TEIID30504 quotesvc: No bean named '{"customerClass":"PLATINUM"}' available
> </message>
> </error>
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-192) Document migration for alias names
by Ramesh Reddy (Jira)
Ramesh Reddy created TEIIDSB-192:
------------------------------------
Summary: Document migration for alias names
Key: TEIIDSB-192
URL: https://issues.redhat.com/browse/TEIIDSB-192
Project: Teiid Spring Boot
Issue Type: Task
Components: documentation
Reporter: Ramesh Reddy
Translators like salesforce and actian-vector has new name in the spring boot, we need to either document or switch back to original names.
Also if we are updating migration utilities we can build in smarts into it.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-191) Build annotation based ExternalSource for JDBC sources
by Ramesh Reddy (Jira)
Ramesh Reddy created TEIIDSB-191:
------------------------------------
Summary: Build annotation based ExternalSource for JDBC sources
Key: TEIIDSB-191
URL: https://issues.redhat.com/browse/TEIIDSB-191
Project: Teiid Spring Boot
Issue Type: Enhancement
Components: core
Reporter: Ramesh Reddy
All the JDBC based sources need to be converted to individual projects such that dependencies can be captured correctly and these also fall into the naming convention like other "spring-data-xxxx" sources.
Then we can consider removing the external json file in the Operator to solely depend on the naming convention even for JDBC.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-186) Fix to use only use alias name from ExternalSource
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-186?page=com.atlassian.jira.plug... ]
Ramesh Reddy resolved TEIIDSB-186.
----------------------------------
Resolution: Done
Documentation and JDBC based external sources will be handled in separate JIRA
> Fix to use only use alias name from ExternalSource
> --------------------------------------------------
>
> Key: TEIIDSB-186
> URL: https://issues.redhat.com/browse/TEIIDSB-186
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Components: core
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.5.0
>
> Time Spent: 4 days, 2 hours
> Remaining Estimate: 0 minutes
>
> As the code progressed the usage of translator name and alias name from ExternalSource class is interchangeably used. This is leading to confusion in terms of development and documents.
> Need to fix all the places where the translator name used to use alias name with Spring Boot engine.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-187) Change the Operator around ExternalSource
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-187?focusedWorklogId=12450842&pa... ]
Ramesh Reddy logged work on TEIIDSB-187:
----------------------------------------
Author: Ramesh Reddy
Created on: 16/Apr/20 4:12 PM
Start Date: 16/Apr/20 4:11 PM
Worklog Time Spent: 2 days
Issue Time Tracking
-------------------
Remaining Estimate: 0 minutes
Time Spent: 2 days
Worklog Id: (was: 12450842)
> Change the Operator around ExternalSource
> -----------------------------------------
>
> Key: TEIIDSB-187
> URL: https://issues.redhat.com/browse/TEIIDSB-187
> Project: Teiid Spring Boot
> Issue Type: Enhancement
> Components: core
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.5.0
>
> Time Spent: 2 days
> Remaining Estimate: 0 minutes
>
> Consider externalizing ExternalSource information into a "json" configuration file, then this can be then used in Operator code load and enforce dependencies and pom file generation and property generation from a single location. Right now all this looks very hacky as it spread out across projects.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-187) Change the Operator around ExternalSource
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-187?page=com.atlassian.jira.plug... ]
Ramesh Reddy updated TEIIDSB-187:
---------------------------------
Description:
Consider externalizing ExternalSource information into a "json" configuration file, then this can be then used in Operator code load and enforce dependencies and pom file generation and property generation from a single location. Right now all this looks very hacky as it spread out across projects.
was:
The prefix of the source like "org.spring.teiid.data.xxx" kind of property patterns are defined in the ConnectionFactory classes, this needs to be pulled into ExternalSource class, then this can be one central place everything about translator and source is managed.
Consider externalizing ExternalSource information into a "json" configuration file, then this can be then used in Operator code load and enforce dependencies and pom file generation and property generation from a single location. Right now all this looks very hacky as it spread out across projects.
> Change the Operator around ExternalSource
> -----------------------------------------
>
> Key: TEIIDSB-187
> URL: https://issues.redhat.com/browse/TEIIDSB-187
> Project: Teiid Spring Boot
> Issue Type: Enhancement
> Components: core
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.5.0
>
>
> Consider externalizing ExternalSource information into a "json" configuration file, then this can be then used in Operator code load and enforce dependencies and pom file generation and property generation from a single location. Right now all this looks very hacky as it spread out across projects.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-187) Change the Operator around ExternalSource
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-187?page=com.atlassian.jira.plug... ]
Ramesh Reddy resolved TEIIDSB-187.
----------------------------------
Resolution: Done
Added the external connection_factories.json file to drive all the connection management and also parse the VDB for the name and types of data sources rather than string lookups.
> Change the Operator around ExternalSource
> -----------------------------------------
>
> Key: TEIIDSB-187
> URL: https://issues.redhat.com/browse/TEIIDSB-187
> Project: Teiid Spring Boot
> Issue Type: Enhancement
> Components: core
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.5.0
>
> Time Spent: 2 days
> Remaining Estimate: 0 minutes
>
> Consider externalizing ExternalSource information into a "json" configuration file, then this can be then used in Operator code load and enforce dependencies and pom file generation and property generation from a single location. Right now all this looks very hacky as it spread out across projects.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-187) Change the Operator around ExternalSource
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-187?page=com.atlassian.jira.plug... ]
Ramesh Reddy updated TEIIDSB-187:
---------------------------------
Summary: Change the Operator around ExternalSource (was: Need to pull out the "property prefix" to ExternalSource)
> Change the Operator around ExternalSource
> -----------------------------------------
>
> Key: TEIIDSB-187
> URL: https://issues.redhat.com/browse/TEIIDSB-187
> Project: Teiid Spring Boot
> Issue Type: Enhancement
> Components: core
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.5.0
>
>
> The prefix of the source like "org.spring.teiid.data.xxx" kind of property patterns are defined in the ConnectionFactory classes, this needs to be pulled into ExternalSource class, then this can be one central place everything about translator and source is managed.
> Consider externalizing ExternalSource information into a "json" configuration file, then this can be then used in Operator code load and enforce dependencies and pom file generation and property generation from a single location. Right now all this looks very hacky as it spread out across projects.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months
[JBoss JIRA] (TEIIDSB-186) Fix to use only use alias name from ExternalSource
by Ramesh Reddy (Jira)
[ https://issues.redhat.com/browse/TEIIDSB-186?focusedWorklogId=12450841&pa... ]
Ramesh Reddy logged work on TEIIDSB-186:
----------------------------------------
Author: Ramesh Reddy
Created on: 16/Apr/20 4:09 PM
Start Date: 16/Apr/20 4:09 PM
Worklog Time Spent: 5 hours
Issue Time Tracking
-------------------
Time Spent: 4 days, 2 hours (was: 3 days, 5 hours)
Worklog Id: (was: 12450841)
> Fix to use only use alias name from ExternalSource
> --------------------------------------------------
>
> Key: TEIIDSB-186
> URL: https://issues.redhat.com/browse/TEIIDSB-186
> Project: Teiid Spring Boot
> Issue Type: Quality Risk
> Components: core
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
> Priority: Major
> Fix For: 1.5.0
>
> Time Spent: 4 days, 2 hours
> Remaining Estimate: 0 minutes
>
> As the code progressed the usage of translator name and alias name from ExternalSource class is interchangeably used. This is leading to confusion in terms of development and documents.
> Need to fix all the places where the translator name used to use alias name with Spring Boot engine.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 9 months