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

galleon-pack incorrect processing of subsystem.jaxrs

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Rejected
    • Affects Version/s: 17.0.0.Beta1
    • Fix Version/s: None
    • Component/s: Build System, REST
    • Labels:
      None

      Description

      The tools are not properly handling a simple attribute addition to subsystem.jaxrs.

      I have added an attribute to jaxrs/src/main/resources/subsystem-templates/jaxrs.xml.
      The new definition is this,
      <subsystem xmlns="urn:jboss:domain:jaxrs:2.0" statistics-enabled="${wildfly.jaxrs.statistics-enabled:${wildfly.statistics-enabled:false}}" />
      The old definition was this
      <subsystem xmlns="urn:jboss:domain:jaxrs:2.0"/>

      I have made the following changes in 2 files galleon-pack files but
      none of this is reflected in the generated standalone*.xml files.

      • to galleon-pack/src/main/resources/feature_groups/basic-profile.xml I added
        <feature spec="subsystem.jaxrs">
        <param name="statistics-enabled" value="${wildfly.jaxrs.statistics-enabled:${wildfly.statistics-jaxrs:false}}"/>
        </feature>
      • to galleon-pack/src/main/resources/layers/standalone/jaxrs/layer-spec.xml I added
        <feature spec="subsystem.jaxrs">
        <param name="statistics-enabled" value="${wildfly.jaxrs.statistics-enabled:${wildfly.statistics-jaxrs:false}}"/>
        </feature>

      This change is required for https://issues.jboss.org/browse/WFLY-11943

      Attached zip file contains the files I changed and tested with.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  brian.stansberry Brian Stansberry
                  Reporter:
                  rsearls r searls
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: