[
https://issues.apache.org/jira/browse/ASTERIXDB-2659?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16962302#comment-16962302
]
ASF subversion and git services commented on ASTERIXDB-2659:
------------------------------------------------------------
Commit 4e4983e07081592a4a71e63c3ac60e324efdd8ef in asterixdb's branch
refs/heads/master from Ali Alsuliman
[ https://gitbox.apache.org/repos/asf?p=asterixdb.git;h=4e4983e ]
[ASTERIXDB-2659][API] validate request parameters
- user model changes: yes
- storage format changes: no
- interface changes: no
Details:
- Return 400 BAD request for invalid request parameters.
- Changes in specifying the output format:
HEADER "Accept": application/json;lossless=<BOOLEAN>,
text/csv;header=absent/present, application/x-adm
Request parameter "format": csv, json (and above mime types)
- when format is supplied in "Accept", only validate value of attribute if the
mime is one of the above
and the attribute name is one of the above (header & lossless).
Change-Id: Ia89fa3179cc36a73fe950f41eab1f0a9d17a541c
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/3767
Tested-by: Jenkins <[email protected]>
Integration-Tests: Jenkins <[email protected]>
Reviewed-by: Ali Alsuliman <[email protected]>
Reviewed-by: Till Westmann <[email protected]>
Contrib: Till Westmann <[email protected]>
> Validate request parameter values
> ---------------------------------
>
> Key: ASTERIXDB-2659
> URL: https://issues.apache.org/jira/browse/ASTERIXDB-2659
> Project: Apache AsterixDB
> Issue Type: Bug
> Components: API - HTTP API
> Affects Versions: 0.9.4
> Reporter: Ali Alsuliman
> Assignee: Ali Alsuliman
> Priority: Major
> Fix For: 0.9.5
>
>
> Validate request parameter values
--
This message was sent by Atlassian Jira
(v8.3.4#803005)