You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Prachi Garg (JIRA)" <ji...@apache.org> on 2018/10/24 20:23:00 UTC
[jira] [Comment Edited] (IGNITE-9619) Document REST "getall" array
format
[ https://issues.apache.org/jira/browse/IGNITE-9619?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662798#comment-16662798 ]
Prachi Garg edited comment on IGNITE-9619 at 10/24/18 8:22 PM:
---------------------------------------------------------------
[~ilyak], I tried to start a node using \{{-DIGNITE_system_property=IGNITE_REST_GETALL_AS_ARRAY }}and put keys in cache.
When I give the rest command -
{{localhost:8080/ignite?cmd=getall&k1=1&k2=2}}
I get the following output-
{{{"successStatus":0,"affinityNodeId":null,"error":null,"sessionToken":null,"response":\{"1":"11","2":"22"}}}}
Is this the desired output format?
was (Author: pgarg):
[~ilyak], I tried to start a node using {{-DIGNITE_system_property=IGNITE_REST_GETALL_AS_ARRAY }}and put keys in cache.
When I give the rest command -
{{localhost:8080/ignite?cmd=getall&k1=1&k2=2}}
I get the following output-
{{{"successStatus":0,"affinityNodeId":null,"error":null,"response":\{"2":"22","3":"33"},"sessionToken":null}}}
Is this the desired output format?
> Document REST "getall" array format
> -----------------------------------
>
> Key: IGNITE-9619
> URL: https://issues.apache.org/jira/browse/IGNITE-9619
> Project: Ignite
> Issue Type: Improvement
> Components: documentation
> Reporter: Ilya Kasnacheev
> Assignee: Prachi Garg
> Priority: Minor
> Labels: documentation
> Fix For: 2.7
>
>
> https://apacheignite.readme.io/docs/rest-api#get-all <-- this page should have a section about new IGNITE_REST_GETALL_AS_ARRAY System Property, as well as an example of response after it is set.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)