[infinispan-issues] [JBoss JIRA] (ISPN-8851) Make creating remote caches out of XML more user friendly

Galder Zamarreño (JIRA) issues at jboss.org
Tue Feb 20 07:44:01 EST 2018


Galder Zamarreño created ISPN-8851:
--------------------------------------

             Summary: Make creating remote caches out of XML more user friendly
                 Key: ISPN-8851
                 URL: https://issues.jboss.org/browse/ISPN-8851
             Project: Infinispan
          Issue Type: Bug
          Components: JMX, reporting and management, Remote Protocols
    Affects Versions: 9.2.0.CR2
            Reporter: Galder Zamarreño


When it comes to the XML to use to create a cache remotely, we should be able to do just this:

{code}
createCache("my-cache", "<local-cache />");
{code}

There are a couple of issues with this right now:

1. You need to pass in {{<infinispan><cache-container>...</cache-container></infinispan>}}

2. The cache in the XML needs a name. This should be needed. The name of the cache is already given as 1st parameter to {{createCache}} and others. In fact, probably any cache name in the XML itself (since it's a valid attribute), should be ignored.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the infinispan-issues mailing list