[teiid-issues] [JBoss JIRA] (TEIID-2694) Support for Blob Input in Teiid REST services

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Thu Oct 10 12:14:02 EDT 2013


    [ https://issues.jboss.org/browse/TEIID-2694?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12813201#comment-12813201 ] 

Steven Hawkins commented on TEIID-2694:
---------------------------------------

Seems like we should do some general tweaking of the parameter handling in general.  Ramesh is there a reason to hard code the parameters as String type rather than the java type corresponding to the Teiid type or just Object type?

It looks like the MultipartForm example from http://www.mkyong.com/webservices/jax-rs/file-upload-example-in-resteasy/ would allow Blob/Clob/XML inputs to be represented as a class, but a new one would need to be generated potentially for every use as an annotation is needed to match the parameter name. 
                
> Support for Blob Input in Teiid REST services
> ---------------------------------------------
>
>                 Key: TEIID-2694
>                 URL: https://issues.jboss.org/browse/TEIID-2694
>             Project: Teiid
>          Issue Type: Enhancement
>    Affects Versions: 8.5
>         Environment: EAP 6.1 Alpha , Teiid 8.5
>            Reporter: Madhu Garimilla
>            Assignee: Steven Hawkins
>
> We are trying to upload large files as Blobs using Teiid REST service through VDB. Though we are writing the Blob objects to HttpUrlConnection object, it is not received on REST method. As per the conversation in the thread "https://community.jboss.org/thread/232840"  Current parameter handling is done through strings and needs be enhanced to support Blob objects.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the teiid-issues mailing list