You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Victor.x.qu (JIRA)" <ji...@apache.org> on 2016/11/08 23:49:58 UTC
[jira] [Created] (IGNITE-4195) rest-http can't get data if key is
Integer or others
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="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)