Update subsystem archetype to use wildfly-subsystem.#182
Conversation
|
The internal testing script will probably not work as expected (though it does not lead to a failing test): it creates a project from the archetype, applies a patch to add a "System.out.println", then builds and deploys the subsystem. The line https://github.com/wildfly/wildfly-archetypes/blob/main/wildfly-subsystem-archetype/testing/runtest.sh#L61 applies a patch file https://github.com/wildfly/wildfly-archetypes/blob/main/wildfly-subsystem-archetype/testing/debugging_output.patch that adds the output. @pferraro Could you restore this feature? Edit: the failing line for this "patch" operation in the CI build is: https://github.com/wildfly/wildfly-archetypes/actions/runs/18468673006/job/52616879736?pr=182#step:9:62 |
|
And CI build fails when executing "runtest.sh" in the step of registering the subsystem: https://github.com/wildfly/wildfly-archetypes/actions/runs/18468673006/job/52616879736?pr=182#step:9:241 The script file executes this CLI file: https://github.com/wildfly/wildfly-archetypes/blob/main/wildfly-subsystem-archetype/testing/configure.cli |
|
During the WildFly Community Call we discussed this PR and evolving it to create a feature pack that would provision the example subsystem. It would have an impact on the subsystem testing (it would simplify it by making sure that the server provisioned with that feature pack would successfully start WildFly with the extension). @pferraro Do you mind if I take your PR to start working on this feature pack improvement? |
Sounds good. |
|
With the changes in this PR, the subsystem generated by the archetype does not work (it requires an hypothetical This archetype should generate a functional subsystem that:
What do you think how using the example in our doc at https://docs.wildfly.org/38/Extending_WildFly.html#Example_subsystem as the subsystem? |
|
superseded by #194 |
No description provided.