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

Roman Shtykh commented on IGNITE-5649:
--------------------------------------

[~anovikov] Andrey, can you comment on this?
Even in 
tests(_JettyRestProcessorAbstractSelfTest#testMetadataLocal/testMetadataRemote()_),
 it looks like {{cacheName}} is ignored.

Is the documentation wrong, and we have to remove {{cacheName}} from the 
documentation? -> show all cache metadata always.
Or shall we change it to the following?
1. if {{cacheName}} is specified, get its metadata
2. otherwise return error
(if so, I have a solution for that 
https://github.com/shroman/ignite/tree/IGNITE-5649)


> REST API, metadata command always returns list of cache
> -------------------------------------------------------
>
>                 Key: IGNITE-5649
>                 URL: https://issues.apache.org/jira/browse/IGNITE-5649
>             Project: Ignite
>          Issue Type: Bug
>    Affects Versions: 2.0
>            Reporter: Aleksandr
>            Assignee: Roman Shtykh
>
> How to reproduce:
> 1) start Ignite server with example config with Person and Organization.
> 2) run:
> curl http://localhost:8080/ignite?cmd=metadata&cacheName=Person
> curl http://localhost:8080/ignite?cmd=metadata&cacheName=Organization
> curl http://localhost:8080/ignite?cmd=metadata&cacheName=blablabla
> Ignite always returns list of cache instead of information about selected 
> cache or error



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to