[JBoss JIRA] (ISPN-11878) Embedded configuration builders should automatically be enabled when attributes configured
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11878?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11878:
--------------------------------
Description:
Currently it's neccessary for a user to do the following to configure the global state, as well serveral other configuration elements:
{{globalBuilder.globalState().enable().persistentLocation(location)}}
However the configuration of {{persistentLocation}} should be sufficient to enable the global state, i.e. the following should result in enabled(true) being called:
{{globalBuilder.globalState().persistentLocation(location);}}
was:
Currently it's neccessary for a user to do the following to configure the global state:
{{globalBuilder.globalState().enable().persistentLocation(location)}}
However the configuration of {{persistentLocation}} should be sufficient to enable the global state, i.e. the following should result in enabled(true) being called:
{{globalBuilder.globalState().persistentLocation(location);}}
> Embedded configuration builders should automatically be enabled when attributes configured
> ------------------------------------------------------------------------------------------
>
> Key: ISPN-11878
> URL: https://issues.redhat.com/browse/ISPN-11878
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> Currently it's neccessary for a user to do the following to configure the global state, as well serveral other configuration elements:
> {{globalBuilder.globalState().enable().persistentLocation(location)}}
> However the configuration of {{persistentLocation}} should be sufficient to enable the global state, i.e. the following should result in enabled(true) being called:
> {{globalBuilder.globalState().persistentLocation(location);}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11878) Embedded configuration builders should automatically be enabled when attributes configured
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11878?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11878:
--------------------------------
Summary: Embedded configuration builders should automatically be enabled when attributes configured (was: GlobalState should automatically be enabled when attributes configured)
> Embedded configuration builders should automatically be enabled when attributes configured
> ------------------------------------------------------------------------------------------
>
> Key: ISPN-11878
> URL: https://issues.redhat.com/browse/ISPN-11878
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> Currently it's neccessary for a user to do the following to configure the global state:
> {{globalBuilder.globalState().enable().persistentLocation(location)}}
> However the configuration of {{persistentLocation}} should be sufficient to enable the global state, i.e. the following should result in enabled(true) being called:
> {{globalBuilder.globalState().persistentLocation(location);}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11865) Deprecate the @Store annotation
by Nistor Adrian (Jira)
[ https://issues.redhat.com/browse/ISPN-11865?page=com.atlassian.jira.plugi... ]
Nistor Adrian updated ISPN-11865:
---------------------------------
Status: Resolved (was: Pull Request Sent)
Fix Version/s: 11.0.0.CR1
Resolution: Done
> Deprecate the @Store annotation
> -------------------------------
>
> Key: ISPN-11865
> URL: https://issues.redhat.com/browse/ISPN-11865
> Project: Infinispan
> Issue Type: Enhancement
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The {{@Store}} annotation was originally added in 9.0 to allow store capabilities to be defined without having to utilise yet another interface, however other than for {{shared}} stores this was never utilised.
> The new SPI introduced Characteristics that make this annotation redundant, therefore we should deprecate and remove in Infinispan 14.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11878) GlobalState should automatically be enabled when attributes configured
by Ryan Emerson (Jira)
[ https://issues.redhat.com/browse/ISPN-11878?page=com.atlassian.jira.plugi... ]
Ryan Emerson updated ISPN-11878:
--------------------------------
Status: Open (was: New)
> GlobalState should automatically be enabled when attributes configured
> ----------------------------------------------------------------------
>
> Key: ISPN-11878
> URL: https://issues.redhat.com/browse/ISPN-11878
> Project: Infinispan
> Issue Type: Enhancement
> Components: Configuration
> Affects Versions: 11.0.0.Dev05
> Reporter: Ryan Emerson
> Assignee: Ryan Emerson
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> Currently it's neccessary for a user to do the following to configure the global state:
> {{globalBuilder.globalState().enable().persistentLocation(location)}}
> However the configuration of {{persistentLocation}} should be sufficient to enable the global state, i.e. the following should result in enabled(true) being called:
> {{globalBuilder.globalState().persistentLocation(location);}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months
[JBoss JIRA] (ISPN-11800) Convert BackupReceiver to component
by Pedro Ruivo (Jira)
[ https://issues.redhat.com/browse/ISPN-11800?page=com.atlassian.jira.plugi... ]
Pedro Ruivo updated ISPN-11800:
-------------------------------
Sprint: DataGrid Sprint #44
> Convert BackupReceiver to component
> -----------------------------------
>
> Key: ISPN-11800
> URL: https://issues.redhat.com/browse/ISPN-11800
> Project: Infinispan
> Issue Type: Enhancement
> Components: Core, Cross-Site Replication
> Affects Versions: 11.0.0.Dev05
> Reporter: Pedro Ruivo
> Assignee: Pedro Ruivo
> Priority: Major
> Fix For: 11.0.0.CR1
>
>
> The {{BackupReceiver}} instance is created by {{BackupReceiverRepository}} and it needs access to the {{Cache}} instance for its dependencies.
> However, with the latest changes in Cross-Site Replication, it needs to be accessed by commands and the only way to do it is by doing:
> {code:java}
> BackupReceiver backupReceiver = registry.getGlobalComponentRegistry()
> .getComponent(BackupReceiverRepository.class)
> .getBackupReceiver(cache);
> {code}
> Bottom line: tt should be converted to a component.
> Another alternative would be to merge it with {{PerCacheInboundInvocationHandler}}... but it doesn't sound too good since it will increase the complexity and size of {{PerCacheInboundInvocationHandler}}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
4 years, 7 months