Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-3456

Synchronize default values provided by Infinispan xsd and Management AttributeDefinitions

    XMLWordPrintable

Details

    • Task
    • Resolution: Done
    • Major
    • 7.1.0.Final
    • 7.1.0.CR1b
    • Domain Management
    • 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

      Attachments

        Activity

          People

            rachmato@redhat.com Richard Achmatowicz
            rachmato@redhat.com Richard Achmatowicz
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: