[jboss-jira] [JBoss JIRA] (WFLY-9458) Support expressions for "site" attribute inside "backup" element in infinispan subsystem
Marek Posolda (JIRA)
issues at jboss.org
Tue Oct 24 08:56:00 EDT 2017
[ https://issues.jboss.org/browse/WFLY-9458?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13481197#comment-13481197 ]
Marek Posolda edited comment on WFLY-9458 at 10/24/17 8:55 AM:
---------------------------------------------------------------
Closing as it's duplicate of already existing WFLY-7871 . Thanks [~rhusar] for pointing that.
was (Author: mposolda):
Closing as it's duplicate of already existing WFLY-7871
> Support expressions for "site" attribute inside "backup" element in infinispan subsystem
> ----------------------------------------------------------------------------------------
>
> Key: WFLY-9458
> URL: https://issues.jboss.org/browse/WFLY-9458
> Project: WildFly
> Issue Type: Feature Request
> Components: Clustering
> Affects Versions: 11.0.0.CR1
> Reporter: Marek Posolda
> Assignee: Paul Ferraro
> Priority: Minor
>
> Assume I have this in standalone.xml in infinispan subsystem:
> {code}
> <distributed-cache name="foo">
> <backups>
> <backup site="${remote.site}" failure-policy="${backup.policy}" strategy="SYNC" enabled="true"/>
> </backups>
> </distributed-cache>
> {code}
> and I run server with:
> {code}
> ./standalone.sh -Dremote.site=mysite -Dbackup.policy=FAIL
> {code}
> I can see that "backup.policy" expression is correctly resolved, but "remote.site" is not. Indeed BackupResourceDefinition class, enum "Attribute" doesn't contain SITE attribute.
> It will be nice if expressions are supported for "site" attribute too, so that I can have single ZIP distribution and use it for simulate testing with more sites and just use different system properties to simulate different site.
> BTV. JGroups subsystem already supports the expressions inside "relay" element.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list