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

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


     [ https://issues.jboss.org/browse/TEIID-2710?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Steven Hawkins resolved TEIID-2710.
-----------------------------------

    Resolution: Done


Changed the procedure call to use the same named parameter syntax that was added for odata.  Optional parameters will only work for post procedures, which use FormParams - more work would be required use QueryParams instead of PathParams for optional get parameters.
                
> 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