You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Konstantinov (JIRA)" <ji...@apache.org> on 2018/03/06 07:28:00 UTC

[jira] [Commented] (IGNITE-3345) Implement support for optional key type in REST HTTP get command

    [ https://issues.apache.org/jira/browse/IGNITE-3345?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16387418#comment-16387418 ] 

Pavel Konstantinov commented on IGNITE-3345:
--------------------------------------------

re-tested on master

> Implement support for optional key type in REST HTTP get command
> ----------------------------------------------------------------
>
>                 Key: IGNITE-3345
>                 URL: https://issues.apache.org/jira/browse/IGNITE-3345
>             Project: Ignite
>          Issue Type: Task
>          Components: cache, rest
>    Affects Versions: 1.6
>            Reporter: Alexey Kuznetsov
>            Assignee: Pavel Konstantinov
>            Priority: Major
>             Fix For: 2.5
>
>
> 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



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