Open simkam opened 2 months ago
If we would be ok with introducing subsystem support in creaper core, one solution could be this. But I also think that we should evaluate whether subsystem detection is really needed, because creaper use in in one command only where is a check for >WF10 (extra old WF).
The last time WildFly updated the domain namespace in the configuration file was with WildFly 27 (Version 20.0). There has been no change since then, so
OfflineServerVersion
reports version 20.0 for WildFly 27 (currently -33). Version updates are no longer needed after WFCORE-5640.One option to get a version might be
but Creaper doesn't always have path to the server, only path to configuration file be used.
Another approach might be adding support for versioned subsystems instead of relying on the root version.
Or only documenting current behavior and leaving it to
OfflineCommand
implementations to handle different subsystems versions. One example is https://github.com/wildfly-extras/creaper/pull/235