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

The jaxrs subsystem had new attributes added without a schema bump

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Blocker Blocker
    • 22.0.0.Beta1, 22.0.0.Final
    • None
    • REST
    • None
    • Release Notes
    • Hide
      In WildFly 19 new attributes were add to the subsystem. The 2.0.0 subsystem model version has been used since WildFly 11. The transformers have been setup to reject all attributes on the 2.0.0 version. Because WildFly 19, 20 and 21 also use the 2.0.0 subsystem model version a system property org.wildfly.jaxrs.unsupported.bypass.2.0.0.transformer was introduced to bypass the 2.0.0 transformers. This should be carefully used.
      Show
      In WildFly 19 new attributes were add to the subsystem. The 2.0.0 subsystem model version has been used since WildFly 11. The transformers have been setup to reject all attributes on the 2.0.0 version. Because WildFly 19, 20 and 21 also use the 2.0.0 subsystem model version a system property org.wildfly.jaxrs.unsupported.bypass.2.0.0.transformer was introduced to bypass the 2.0.0 transformers. This should be carefully used.
    • ---
    • ---

      WFLY-12298 introduced attributes to the jaxrs subsystem. While the schema was bumped, the model version was not. Because of this there is no reliable way to correctly use transformers from WildFly 19 -> WildFly 11. Note that WildFly 11 was the first version to bump to model version 2.0.0 and WildFly 19 kept the same model version, but added the attributes.

      JBoss EAP should not be impacted as no releases contain, with the exception of JBoss EAP CD19 and JBoss EAP CD20 Tech Preview releases, the attributes.

      We should set the transformers up to reject the attributes for model version 2.0.0 and 1.0.0. An unsupported system property should be introduced to allow the rejection of attributes for 2.0.0 on WildFly mixed domain environments. While this is an unlikely scenario it would be nice to have.

              jperkins-rhn James Perkins
              jperkins-rhn James Perkins
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: