Details
-
Task
-
Resolution: Done
-
Major
-
7.1.0.CR1b
-
None
Description
Need to make sure that the default values for Infinispan cache configuration elements and attributes are correctly picked up, whether from XML (via definition in the xsd) or from the management interface, programmatically or via the command line (via CommonAttribute definitions).
The main tasks here are to:
- correctly define the default values for all common attributes used
- make sure that any resource handlers make use of the appropriate AttributeDefinition methods which use the attribute definition to correctly pick up default values for parameters which have not had values specified:
attr.validateOperation(operation) // validate the value of the attribute in the operation and return it
attr.validateAndSet(operation, model) // as above and set the value in the model
attr.validateResolvedOperation(operation) // validate the resolved value for the EXPRESSION type