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

galleon-pack incorrect processing of subsystem.jaxrs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 17.0.0.Beta1
    • Build System, REST
    • None

      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.

            bstansbe@redhat.com Brian Stansberry
            rsearls r searls
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: