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

DataSourceDefinition is registering capabilities for deployment tree resources

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 10.0.0.CR5
    • 10.0.0.CR4
    • JCA
    • None

    Description

      The same DataSourceDefinition class is used for registering the MRR for the subsystem=data-sources/(xa-)data-source=* resources and for their equivalents in the /deployment=* tree. In both cases the registerCapabilities() method is recording the datasource capability.

      The deployment resources are not actually able to provide the capability[1], so it shouldn't be registered in that case. I believe the DataSourceDefinition.deployed field can be used to turn this off.

      [1] Capabilities are management model concepts and can't be provided by services and runtime-only resources. The /deployment=/subsystem= resources are runtime-only.

      Attachments

        Activity

          People

            jpederse@redhat.com Jesper Pedersen
            bstansbe@redhat.com Brian Stansberry
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: