-
Feature Request
-
Resolution: Unresolved
-
Major
-
None
-
None
-
None
-
False
-
False
-
Undefined
-
There is a WildFlyContainerController which adds a stop(String containerId, int timeout) method. We could add a start(String containerId, String... serverArgs) which would append the serverArgs to the ContainerConfiguration. This differs from the start(String containerId, Map<String, String> config) as when that method is used the config overrides the configuration from the arquillian.xml. The advantage to appending the server arguments is a server can be started with different options while not requiring several container definitions in the arquillian.xml file.
As an example you could do something like:
controller.start("default", "--server-config=standalone-full.xml"); // do stuff controller.stop("default"); controller.start("default", "--server-config=standalone.xml", "--start-mode=admin-only"); // do stuff controller.stop("default");
These arguments are not persisted to a server and therefore should be safe to be appended during a start. These arguments should always be appended to the server arguments from the ContainerConfiguration.