[infinispan-issues] [JBoss JIRA] (ISPN-10934) RESTv2 HEAD on cache name
Gustavo Fernandes (Jira)
issues at jboss.org
Wed Nov 13 02:59:00 EST 2019
[ https://issues.jboss.org/browse/ISPN-10934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Gustavo Fernandes updated ISPN-10934:
-------------------------------------
Status: Pull Request Sent (was: Open)
Git Pull Request: https://github.com/infinispan/infinispan/pull/7584
> RESTv2 HEAD on cache name
> -------------------------
>
> Key: ISPN-10934
> URL: https://issues.jboss.org/browse/ISPN-10934
> Project: Infinispan
> Issue Type: Bug
> Components: JMX, reporting and management
> Affects Versions: 10.0.1.Final
> Reporter: Galder Zamarreño
> Assignee: Gustavo Fernandes
> Priority: Major
>
> Checking whether a cache is already defined can be done several ways: One way is to get the list of caches and see if the cache is there. Although it works, it requires the client to parse the list...etc. Another way is to call:
> {code}
> HEAD rest/v2/caches/{cache_name}?action=config
> {code}
> This works, but it shouldn't be necessary to add {{?action=config}} to find out if the cache is defined or not. The following should be possible:
> {code}
> HEAD rest/v2/caches/{cache_name}
> {code}
> Currently that returns {{400}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the infinispan-issues
mailing list