Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-141

JCA workmanager and bootstrap-context "name" attributes are read-write

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 8.0.0.Alpha1
    • None
    • JCA, Management
    • None

    Description

      The "name" attributes for workmanager and bootstrap-context resources are read-write and should be read-only. They represent the value of the last element of the resource address and thus should not be changed independently of adding/removing the resource.

      Where we find these "name" attributes we've been converting their handling such that when they get registered in ManagementResourceRegistration, it is done like this:

      mrr.registerReadOnlyAttribute(NAME, ReadResourceNameOperationStepHandler.INSTANCE);

      where "NAME" is an AttributeDefinition.

      With that, the "add" handler for the resource shouldn't store the name in the model.

      Attachments

        Activity

          People

            smaestri@redhat.com Stefano Maestri
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: