Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-4195

rest-http can't get data if key is Integer or others

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 1.7
    • Fix Version/s: None
    • Component/s: clients
    • Labels:
      None

      Description

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              fs7744 Victor.x.qu
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: