-
Bug
-
Resolution: Won't Do
-
Major
-
None
-
17.0.0.Beta1
-
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.
- blocks
-
WFLY-11943 Statistics of REST endpoints
- Open