-
Bug
-
Resolution: Done
-
Major
-
None
-
-
-
-
-
-
https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-documentation/merge_requests/4537, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-documentation/merge_requests/4538, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-documentation/merge_requests/4541, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-documentation/merge_requests/4557, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-documentation/merge_requests/4559, https://gitlab.cee.redhat.com/red-hat-jboss-enterprise-application-platform-documentation/eap-documentation/merge_requests/4560
We have many subsystem configuration XML examples in the documentation. The XML examples contain namespace entries that contain the version of that subsystem for the release. Since these version can change from release to release, we have defined document attributes for many of these namespaces.
For example, we define the following Undertow namespace attribute:
:UndertowSubsystemNamespace: urn:jboss:domain:undertow:6.0
We use it correctly in many places in our Asciidoc files. NOTE: When using an attribute in the XML example, you need to add the `subs="attributes+"` to the source block.
[source,xml,options="nowrap",subs="attributes+"] ---- <subsystem xmlns="{UndertowSubsystemNamespace}"> ... </subsystem> ----
NOTE: When using an attribute in the XML example, you need to add the subs="attributes+" to the source block declaration.
However, using the grep command, you find many instances where the namespace is still hard-coded in the docs.
[source,xml,options="nowrap"] ---- <subsystem xmlns="urn:jboss:domain:undertow:3.0"> ... </subsystem> ----
We need to do the following:
- Review the latest JBoss EAP configuration files, for example, standalone/configuration/standalone-full-ha.xml, and determine the correct version for each subsystem.
- Update the appropriate attributes in the document-attributes.adoc file to use the correct version for each namespace.
- Find all instances of hard-coded namespaces and replace them with the attribute making sure to update the source block declaration with the subs="attributes+". You can navigate to the docs/ directory and use this command to find hard-coded instances in our files: grep 'subsystem xmlns="u' `find . -name '*.adoc'`
- Add an attribute if one is not defined.
- is related to
-
JBEAP-15676 Update subsystem namespace versions to match the release
- Closed