[JBoss JIRA] (TEIID-2848) MongoDB: Provide Array support
by Ivan Chan (JIRA)
[ https://issues.jboss.org/browse/TEIID-2848?page=com.atlassian.jira.plugin... ]
Ivan Chan commented on TEIID-2848:
----------------------------------
Yes, Object[] is a good solution. And maybe you guys can also consider to provide 2 different ways to handle mongoDB array object.
1. map mongoDB array to java object array
2. flatten the data to create separate column for each array element (similar to unwind):
>From the example above:
CREATE FOREIGN TABLE Sample (
CustomerId integer PRIMARY KEY,
name varchar(25),
array_0 varchar(25),
array_1 integer,
array_2, timestamp,
array_3, integer,
num varchar(6),
) OPTIONS(UPDATABLE 'TRUE');
> MongoDB: Provide Array support
> -------------------------------
>
> Key: TEIID-2848
> URL: https://issues.jboss.org/browse/TEIID-2848
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Reporter: Ramesh Reddy
> Assignee: Ramesh Reddy
>
> Provide array support for primitive data types in MongoDB translator. The arrays are supported but as embedded documents in the one-2-many situation.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (TEIID-2917) Cassandra: update to cassandra driver to version 2.X
by Steven Hawkins (JIRA)
[ https://issues.jboss.org/browse/TEIID-2917?page=com.atlassian.jira.plugin... ]
Steven Hawkins resolved TEIID-2917.
-----------------------------------
Resolution: Done
Updated to 2.0.1
> Cassandra: update to cassandra driver to version 2.X
> -----------------------------------------------------
>
> Key: TEIID-2917
> URL: https://issues.jboss.org/browse/TEIID-2917
> Project: Teiid
> Issue Type: Enhancement
> Components: Misc. Connectors
> Affects Versions: 8.7
> Environment: Teiid with Cassandra
> Reporter: Ivan Chan
> Assignee: Steven Hawkins
> Labels: teiid
> Fix For: 8.8
>
>
> The current cassandra driver is 2.X and API has been changed in this new driver. However, Teiid is using Cassandra driver 1.0.4. It will be nice if you guys can upgrade your cassandra driver version 2.X in the next release. Thanks.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (TEIID-2913) Remove Logging Quickstart
by Van Halbert (JIRA)
[ https://issues.jboss.org/browse/TEIID-2913?page=com.atlassian.jira.plugin... ]
Van Halbert updated TEIID-2913:
-------------------------------
Summary: Remove Logging Quickstart (was: Enhance Logging Quickstart)
Issue Type: Task (was: Enhancement)
> Remove Logging Quickstart
> -------------------------
>
> Key: TEIID-2913
> URL: https://issues.jboss.org/browse/TEIID-2913
> Project: Teiid
> Issue Type: Task
> Components: Quick Starts
> Affects Versions: 8.7.1
> Reporter: Van Halbert
> Assignee: Van Halbert
>
> Add the following enhancements to the logging quick start:
> - add example for audit logging to a database (use h2)
> - add dynamic VDB's to expose the audit and command logging schemas
> - add a preconfigured dashboard to present the audit and command logs
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (TEIID-2956) NullPointerException using webservice translator against a webservice that's missing 'Content-Type' in the response header
by gaurav singhal (JIRA)
[ https://issues.jboss.org/browse/TEIID-2956?page=com.atlassian.jira.plugin... ]
gaurav singhal commented on TEIID-2956:
---------------------------------------
This could be fixed with the 2 following approaches:
1. Provide an optional parameter to the stored proc, so that a client can pass a default Content-Type if none is received in the response header.
2. If no default Content-Type is passed via the stored proc then check for Content-Type in response header and throw an IllegalArgumentException with a proper message stating the issue.
> NullPointerException using webservice translator against a webservice that's missing 'Content-Type' in the response header
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-2956
> URL: https://issues.jboss.org/browse/TEIID-2956
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.7
> Environment: windows 7, teiid 8.7
> Reporter: gaurav singhal
> Assignee: Steven Hawkins
>
> If you deploy a vdb that uses the webservices translator in teiid 8.7, and that webservice doesn't have 'Content-Type' set in the response headers then the web service connector code throws a NullPointerException as it tries to retrieve the Content-Type and use it. This happens in the WSConnectionImpl.java class on these 2 lines specifically:
> ArrayList contentTypes = (ArrayList)this.responseContext.get("content-type"); //$NON-NLS-1$
> return new HttpDataSource(url, (InputStream)response.getEntity(), (String)contentTypes.get(0));
> so basically the contentTypes array is null if the response header doesn't containt any 'Content-Type' specified and then 2nd line gets the NullPointerException.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (TEIID-2956) NullPointerException using webservice translator against a webservice that's missing 'Content-Type' in the response header
by gaurav singhal (JIRA)
gaurav singhal created TEIID-2956:
-------------------------------------
Summary: NullPointerException using webservice translator against a webservice that's missing 'Content-Type' in the response header
Key: TEIID-2956
URL: https://issues.jboss.org/browse/TEIID-2956
Project: Teiid
Issue Type: Bug
Components: Misc. Connectors
Affects Versions: 8.7
Environment: windows 7, teiid 8.7
Reporter: gaurav singhal
Assignee: Steven Hawkins
If you deploy a vdb that uses the webservices translator in teiid 8.7, and that webservice doesn't have 'Content-Type' set in the response headers then the web service connector code throws a NullPointerException as it tries to retrieve the Content-Type and use it. This happens in the WSConnectionImpl.java class on these 2 lines specifically:
ArrayList contentTypes = (ArrayList)this.responseContext.get("content-type"); //$NON-NLS-1$
return new HttpDataSource(url, (InputStream)response.getEntity(), (String)contentTypes.get(0));
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months
[JBoss JIRA] (TEIID-2956) NullPointerException using webservice translator against a webservice that's missing 'Content-Type' in the response header
by gaurav singhal (JIRA)
[ https://issues.jboss.org/browse/TEIID-2956?page=com.atlassian.jira.plugin... ]
gaurav singhal updated TEIID-2956:
----------------------------------
Description:
If you deploy a vdb that uses the webservices translator in teiid 8.7, and that webservice doesn't have 'Content-Type' set in the response headers then the web service connector code throws a NullPointerException as it tries to retrieve the Content-Type and use it. This happens in the WSConnectionImpl.java class on these 2 lines specifically:
ArrayList contentTypes = (ArrayList)this.responseContext.get("content-type"); //$NON-NLS-1$
return new HttpDataSource(url, (InputStream)response.getEntity(), (String)contentTypes.get(0));
so basically the contentTypes array is null if the response header doesn't containt any 'Content-Type' specified and then 2nd line gets the NullPointerException.
was:
If you deploy a vdb that uses the webservices translator in teiid 8.7, and that webservice doesn't have 'Content-Type' set in the response headers then the web service connector code throws a NullPointerException as it tries to retrieve the Content-Type and use it. This happens in the WSConnectionImpl.java class on these 2 lines specifically:
ArrayList contentTypes = (ArrayList)this.responseContext.get("content-type"); //$NON-NLS-1$
return new HttpDataSource(url, (InputStream)response.getEntity(), (String)contentTypes.get(0));
> NullPointerException using webservice translator against a webservice that's missing 'Content-Type' in the response header
> --------------------------------------------------------------------------------------------------------------------------
>
> Key: TEIID-2956
> URL: https://issues.jboss.org/browse/TEIID-2956
> Project: Teiid
> Issue Type: Bug
> Components: Misc. Connectors
> Affects Versions: 8.7
> Environment: windows 7, teiid 8.7
> Reporter: gaurav singhal
> Assignee: Steven Hawkins
>
> If you deploy a vdb that uses the webservices translator in teiid 8.7, and that webservice doesn't have 'Content-Type' set in the response headers then the web service connector code throws a NullPointerException as it tries to retrieve the Content-Type and use it. This happens in the WSConnectionImpl.java class on these 2 lines specifically:
> ArrayList contentTypes = (ArrayList)this.responseContext.get("content-type"); //$NON-NLS-1$
> return new HttpDataSource(url, (InputStream)response.getEntity(), (String)contentTypes.get(0));
> so basically the contentTypes array is null if the response header doesn't containt any 'Content-Type' specified and then 2nd line gets the NullPointerException.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
11 years, 10 months