[infinispan-issues] [JBoss JIRA] (ISPN-10934) RESTv2 HEAD on cache name

Tristan Tarrant (Jira) issues at jboss.org
Wed Nov 13 07:54:00 EST 2019


     [ https://issues.jboss.org/browse/ISPN-10934?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tristan Tarrant updated ISPN-10934:
-----------------------------------
           Status: Resolved  (was: Pull Request Sent)
    Fix Version/s: 10.1.0.Beta1
       Resolution: Done


> 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
>             Fix For: 10.1.0.Beta1
>
>
> 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