You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Alexey Kuznetsov (JIRA)" <ji...@apache.org> on 2018/04/27 16:04:00 UTC

[jira] [Resolved] (IGNITE-4195) rest-http can't get data if key is Integer or others

     [ https://issues.apache.org/jira/browse/IGNITE-4195?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexey Kuznetsov resolved IGNITE-4195.
--------------------------------------
    Resolution: Duplicate

REST API was improved.

See issues: 
 * IGNITE-3345 Implement support for optional key type in REST HTTP get command
 * IGNITE-7803 REST: Add support to get values inserted via API or SQL
 * IGNITE-8201 Refactor REST API for authentication

> rest-http can't get data if key is Integer or others
> ----------------------------------------------------
>
>                 Key: IGNITE-4195
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4195
>             Project: Ignite
>          Issue Type: Bug
>          Components: clients
>    Affects Versions: 1.7
>            Reporter: Victor.x.qu
>            Priority: Major
>
> I created a cache which key is java.lang.Integer in ignite 1.7.0 
> But when i use rest to get the data like the url : 
>   <a href="http://xx:xx/ignite?cacheName=xx&cmd=getall&k1=100001">http://xx:xx/ignite?cacheName=xx&cmd=getall&k1=100001
> It didn't return data 
> I check the GridJettyRestHandler.java 
> It didn't support which key is  java.lang.Integer or others 
> So i add some simple code to support this  ( some code is for Cross-origin when use in js) 
> The code you can see below : 
>   https://github.com/apache/ignite/pull/1214/files
> Can support this situation by official ? 
> Thanks



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)