[jboss-jira] [JBoss JIRA] (WFLY-12091) galleon-pack incorrect processing of subsyste.jaxrs

r searls (Jira) issues at jboss.org
Fri May 17 17:54:00 EDT 2019


r searls created WFLY-12091:
-------------------------------

             Summary: galleon-pack incorrect processing of subsyste.jaxrs
                 Key: WFLY-12091
                 URL: https://issues.jboss.org/browse/WFLY-12091
             Project: WildFly
          Issue Type: Bug
          Components: Build System
    Affects Versions: 17.0.0.Beta1
         Environment: Fedora
jdk-10
mvn 3.3.9
wfly 17.0.0.Beta1-SNAPSHOT
            Reporter: r searls
            Assignee: Brian Stansberry
         Attachments: xgalleon-pack-issue-may17.zip


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.



--
This message was sent by Atlassian Jira
(v7.12.1#712002)


More information about the jboss-jira mailing list