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

Implement support for optional key type in REST HTTP get command

    XMLWordPrintableJSON

    Details

    • Type: Task
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 2.5
    • Component/s: cache, rest
    • Labels:
      None

      Description

      It seems that in current implementation (https://apacheignite.readme.io/docs/rest-api#get)
      GET command could work only with String keys.

      We can add optional parameter "keyType" and implement support for common built-in types such as Integer, Long, UUID,... and user classes that a valid JavaBeans.

      Sample: http://host:port/ignite?cmd=get&key=1&cacheName=myCache&keyType=Long

        Attachments

          Activity

            People

            • Assignee:
              pkonstantinov Pavel Konstantinov
              Reporter:
              kuaw26 Alexey Kuznetsov
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: