[teiid-issues] [JBoss JIRA] (TEIID-2710) Rest procedures should support optional parameters

Steven Hawkins (JIRA) jira-events at lists.jboss.org
Fri Oct 25 12:01:03 EDT 2013


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

Steven Hawkins commented on TEIID-2710:
---------------------------------------

After working through this it doesn't look like PathParams are supposed to be defaultable.   QueryParams are viable though - but it would require additional metadata to indicate whether defaultable parameters should be query or path params.
                
> Rest procedures should support optional parameters
> --------------------------------------------------
>
>                 Key: TEIID-2710
>                 URL: https://issues.jboss.org/browse/TEIID-2710
>             Project: Teiid
>          Issue Type: Enhancement
>          Components: Server
>            Reporter: Steven Hawkins
>            Assignee: Steven Hawkins
>             Fix For: 8.6
>
>
> We need to test our rest logic to ensure it supports optional parameters in the uri pattern.
> And then update the procedure call to use named parameters so that defaultable missing parameters will use defaults (similar to the TeiidProducer/LocalClient logic used for OData).

--
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