[infinispan-issues] [JBoss JIRA] (ISPN-8941) RemoteCacheAdmin configuration name should use cache name
Radoslav Husar (JIRA)
issues at jboss.org
Wed Apr 18 13:05:00 EDT 2018
[ https://issues.jboss.org/browse/ISPN-8941?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Radoslav Husar updated ISPN-8941:
---------------------------------
Issue Type: Bug (was: Enhancement)
Reclassifying as an actual bug, there is no way to customize the name in org.infinispan.configuration.cache.Configuration; the name is written out org.infinispan.client.hotrod.impl.RemoteCacheManagerAdminImpl#getOrCreateCache(java.lang.String, org.infinispan.commons.configuration.BasicConfiguration). So this is a breaking change as well.
Wrapping org.infinispan.commons.configuration.BasicConfiguration in a fashion to woarkound hotrod logic
{code} @Override
public String toXMLString(String name) {
ParserRegistry reg = new ParserRegistry();
return reg.serialize("configuration", configuration);
}{code} breaks compatibility with future versions.
> RemoteCacheAdmin configuration name should use cache name
> ---------------------------------------------------------
>
> Key: ISPN-8941
> URL: https://issues.jboss.org/browse/ISPN-8941
> Project: Infinispan
> Issue Type: Bug
> Components: Configuration, Hot Rod, Server
> Affects Versions: 9.2.0.Final
> Reporter: Tristan Tarrant
> Assignee: Tristan Tarrant
> Fix For: 9.2.1.Final
>
>
> The current implementation of the server-side for remote cache admin expects the name of the configuration in the supplied XML to be "configuration" . This would be more intuitive if it used the actual name.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the infinispan-issues
mailing list