]
Brian Stansberry reassigned WFCORE-340:
---------------------------------------
Assignee: Yeray Santana Borges
A write-config operation
------------------------
Key: WFCORE-340
URL:
https://issues.jboss.org/browse/WFCORE-340
Project: WildFly Core
Issue Type: Feature Request
Components: Domain Management
Reporter: Brian Stansberry
Assignee: Yeray Santana Borges
Operation to force the server to write its config file, without making any actual config
change.
One use case mentioned was to get the config file updated to the latest xml namespaces
following an upgrade.
This should be trivial to implement with an operation step handler that simply does
context.readResourceForUpdate(PathAddress.EMPT_ADDRESS);
context.stepCompleted();
That handler would be registered on:
1) The root resource for a non-managed-domain server (for standalone.xml).
2) The host=* resource on any HostController (for host.xml).
3) The root resource on a HostController that is the master (for domain.xml).