Uploaded image for project: 'WildFly Core'
  1. WildFly Core
  2. WFCORE-6878

Expose the deployment ManagementResourceRegistration via DeploymentResourceSupport

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • None
    • Management
    • None

      DeploymentModelUtils is deprecated, telling users to use DeploymentResourceSupport. But DeploymentResourceSupport doesn't provide access to the ManagementResourceRegistration, so there is no replacement for the access available via DeploymentModelUtils.MUTABLE_REGISTRATION_ATTACHMENT.

      Use cases I see for accessing the MRR:

      1) Adding child registrations with attributes that depend on the deployment specifics. (Driver statistics for ds.xml deployments; JPA provider stats for JPA deployments).

      2) Iterating over the deployment tree to find metrics to make available via wildfly-metrics or Micrometer. (This only needs ImmutableManagementResourceRegistration.)

              yborgess1@redhat.com Yeray Borges Santana
              bstansbe@redhat.com Brian Stansberry
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: