Choosing a default template configuration for new caches in Infinispan Remote dialect

Description

Give the user the possibility to use a predefined cache as a template to configure all caches created by the dialect.
This could be done by configuring a suitable property of the dialect and maybe a default value (ex: "default").
Before applying the configuration, it will be up to the dialect to check if the template cache exists and if not, throwing an appropriate exception.

Environment

None

Activity

Show:
Fabio Massimo Ercoli
February 20, 2018, 8:16 AM

Another issue is providing similar feature: OGM-1329.

the difference between them are that the application of configuration has:

  • The scope is all created by dialect caches (this one)

  • The scope is "per Entity" cache (other one)

Maybe we can merge the issues together, where a "per Entity" definition overrides the all cache definition.

Davide D'Alto
February 26, 2018, 11:40 AM

This has been merged but I will wait to close this issue because I want to update the documentation

Fabio Massimo Ercoli
February 26, 2018, 2:33 PM

I'm agree with you. Thank you Davide

Davide D'Alto
March 13, 2018, 11:47 AM

I'm going to close this one and create a separate issue

Fixed

Assignee

Fabio Massimo Ercoli

Reporter

Fabio Massimo Ercoli

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

backportDecision

None

backportReEvaluate

None

Components

Fix versions

Priority

Major