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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Victor.x.qu created IGNITE-4195:
-----------------------------------

             Summary: 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: rest
    Affects Versions: 1.7
            Reporter: Victor.x.qu
            Priority: Critical


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="<a href="http://xx:xx/ignite?cacheName=xx&cmd=getall&k1=100001">http://xx:xx/ignite?cacheName=xx&cmd=getall&k1=100001"><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
(v6.3.4#6332)