[ 
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:25 PM:
---------------------------------------------------------------

[~ilyak], I tried to start a node by setting the system property  -

{{-DIGNITE_system_property=IGNITE_REST_GETALL_AS_ARRAY }}

and put 2 key- value pairs 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,"sessionToken":null,"response":\{"1":"11","2":"22"}}}}

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)

Reply via email to