-
Notifications
You must be signed in to change notification settings - Fork 465
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[WFCORE-6679]: ManagementReadXmlTestCase inputs are too fragile.
* Generating the servers configuration through scripts to make them less fragile. Jira: https://issues.redhat.com/browse/WFCORE-6679 Signed-off-by: Emmanuel Hugonnet <[email protected]>
- Loading branch information
Showing
4 changed files
with
158 additions
and
418 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
testsuite/domain/src/test/resources/base-server-config.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
|
||
<server xmlns="urn:jboss:domain:20.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="urn:jboss:domain:20.0 wildfly-config_20_0.xsd"> | ||
<extensions> | ||
<extension module="org.jboss.as.jmx"/> | ||
<extension module="org.jboss.as.logging"/> | ||
<extension module="org.jboss.as.remoting"/> | ||
<extension module="org.wildfly.extension.core-management"/> | ||
<extension module="org.wildfly.extension.elytron"/> | ||
<extension module="org.wildfly.extension.io"/> | ||
<extension module="org.wildfly.extension.request-controller"/> | ||
<extension module="org.wildfly.extension.security.manager"/> | ||
</extensions> | ||
<system-properties> | ||
<property name="jboss.domain.test.property.one" value="ONE"/> | ||
<property name="jboss.domain.test.property.two" value="${jboss.domain.test.property.one}"/> | ||
</system-properties> | ||
<paths> | ||
<path name="domainTestPath" path="main-one" relative-to="jboss.server.temp.dir"/> | ||
</paths> | ||
<management> | ||
<audit-log> | ||
<formatters> | ||
<json-formatter name="json-formatter"/> | ||
</formatters> | ||
<handlers> | ||
<file-handler name="host-file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.domain.data.dir"/> | ||
<file-handler name="server-file" formatter="json-formatter" path="audit-log.log" relative-to="jboss.server.data.dir"/> | ||
</handlers> | ||
<logger log-boot="true" log-read-only="true" enabled="false"> | ||
<handlers> | ||
<handler name="server-file"/> | ||
</handlers> | ||
</logger> | ||
</audit-log> | ||
<access-control provider="simple"> | ||
<role-mapping> | ||
<role name="SuperUser"> | ||
<include> | ||
<user name="$local"/> | ||
</include> | ||
</role> | ||
</role-mapping> | ||
</access-control> | ||
</management> | ||
<profile> | ||
</profile> | ||
<interfaces> | ||
<interface name="management"> | ||
<inet-address value="${jboss.test.host.primary.address}"/> | ||
</interface> | ||
<interface name="public"> | ||
<inet-address value="${jboss.test.host.primary.address}"/> | ||
</interface> | ||
</interfaces> | ||
<socket-binding-group name="standard-sockets" default-interface="public" port-offset="0"> | ||
<socket-binding name="ajp" port="8009"/> | ||
<socket-binding name="http" port="8080"/> | ||
<socket-binding name="https" port="8443"/> | ||
<socket-binding name="jmx-connector-registry" interface="management" port="1090"/> | ||
<socket-binding name="jmx-connector-server" interface="management" port="1091"/> | ||
<socket-binding name="messaging" port="5445"/> | ||
<socket-binding name="messaging-throughput" port="5455"/> | ||
<socket-binding name="remoting" port="4447"/> | ||
<socket-binding name="txn-recovery-environment" port="4712"/> | ||
<socket-binding name="txn-status-manager" port="4713"/> | ||
<outbound-socket-binding name="mail-smtp"> | ||
<remote-destination host="localhost" port="25"/> | ||
</outbound-socket-binding> | ||
</socket-binding-group> | ||
</server> |
Oops, something went wrong.