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
[WFCORE-6206] Installation Manager integration #5420
Conversation
Dependency Tree Analyzer Output: New Dependencies:
CC @wildfly/prod |
769735e
to
d63a16d
Compare
Hi @yersan , thank you for this MR! I'm checking this MR and trying to use https://github.com/wildfly-extras/creaper for calling the installer CLI command. Creaper is using default CommandContext implementation ( Do you please have any experiences with this or do you know how to tweak CLI client to be able to use your new installer CLI command? Maybe that I just missed to configure something. Or maybe that CommandContextImpl needs to be updated in this MR? |
Requires wildfly/wildfly#16652 (in order to be able to run the full integration tests) |
@yersan Thank you for your feedback! But I'm not sure, which mvn dependency from wildfly/wildfly#16652 should I (and customers) use in standalone client in order to get rid of previous issue. Can you please be more specific? Generally other CLI commands initiated here works, but new |
Hi @marekkopecky , I have no experience with creaper, but the Installation Manager command is loaded as an extra handler via a ServiceLoader. The entry point is here: https://github.com/yersan/wildfly-core/blob/WFCORE-6206/cli/src/main/java/org/jboss/as/cli/impl/CommandContextImpl.java#L688. Its integration is similar to the Patch tool, so if you see the patch tool you should see the Installation Manager as well. However, you have to take into account that the tool is activated only if the management resource is available. [/host=*]/core-service=installer There are two key points to see the installation manager integrated, one for the integration into the standard management operations and the other to see it available as a high-level command. The latter requires the former.
Let me know if those explanations helps you to discover the issue with creaper, otherwise I can also try your scenario to find the root cause. |
We crossed comments, my comment about the requires was unrelated to your question. I hope the previous explanation clarifies your doubts, basically, if the management operations are available, the CLI must find the implementation of |
@yersan Thank you for your feedback. Generally
The tricky thing is, that Thank you for your explanation, it directed me to proper solution! |
Rebased to fix conflicts |
Rebased to get the latest changes |
…ng offline maven files
Jira issue: https://issues.redhat.com/browse/WFCORE-6206