-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update AddDataSource offline command based on WFLY-18324 #235
Conversation
@simkam Can you please check this PR? |
We need to use the correct command depending on the server version
The problem is that our last version in creaper is WildfFly 28. There is WIP #232, but we need at least also 30 because WFLY-18324 was fixed there. |
@marekkopecky we have added WF30 support, can you please rebase this and include condition mentioned above, WF30 management version is |
@simkam Thank you for your feedback! Do you know how creaper parse server version? I'm using WF from master branch (34.0.0.Beta1-SNAPSHOT which is using wf-core 26.0.0.Beta2), but creaper reports server-version 20.0.0. I updated PR and add version detection, but it just doesn't work during CI runs, because creaper detect server version wrongly ... |
8ce7dd2
to
154bdf9
Compare
Hmm, Creaper relies on the root namespace version in the configuration file and expects it to be the same as the management version. It might be a bug in WildFly; let's take a closer look. |
Ok, got it, thanks! management versions:
namespace version:
|
@simkam The change from WFLY-18324 has been implemented in WF30. WF29 has the same xmlns as wf34: |
154bdf9
to
ce08561
Compare
Anyway, I reverted latest commit, because it doesn't seem to be working. Please let me know if you prefer another effort on this PR ... |
dcf0d3b
to
ce08561
Compare
I added a workaround for a detection of datasource subsystem version, as we discussed on chat |
Thank You! |
WFLY-18324 introduce new user-name and password attributes and drop user-name and password elements in configuration.
security-domain element in security element hasn't been changed, see latest xsd here.
This PR changes AddDataSource creaper command based on the latest changes.