Permalink
Browse files

[WFLY-7858] Use the same order for the security-domain element in the…

… produced configuration file and the persisted configuration file as used in the schema.
  • Loading branch information...
1 parent 1ba9f4e commit d3ef56b7facf8187d808216c11a38bd7e9f613bb @jamezp jamezp committed Jan 6, 2017
@@ -46,9 +46,9 @@ public void writeContent(final XMLExtendedStreamWriter writer, final SubsystemMa
context.startSubsystemElement(Namespace.CURRENT.getUriString(), false);
final ModelNode model = context.getModelNode();
BatchSubsystemDefinition.DEFAULT_JOB_REPOSITORY.marshallAsElement(model, writer);
- BatchSubsystemDefinition.SECURITY_DOMAIN.marshallAsElement(model, writer);
BatchSubsystemDefinition.DEFAULT_THREAD_POOL.marshallAsElement(model, writer);
BatchSubsystemDefinition.RESTART_JOBS_ON_RESUME.marshallAsElement(model, writer);
+ BatchSubsystemDefinition.SECURITY_DOMAIN.marshallAsElement(model, writer);
// Write the in-memory job repositories
if (model.hasDefined(InMemoryJobRepositoryDefinition.NAME)) {
@@ -29,8 +29,8 @@
<extension-module>org.wildfly.extension.batch.jberet</extension-module>
<subsystem xmlns="urn:jboss:domain:batch-jberet:2.0">
<default-job-repository name="in-memory"/>
- <?ELYTRON?>
<default-thread-pool name="batch"/>
+ <?ELYTRON?>
<job-repository name="in-memory">
<in-memory/>
</job-repository>
@@ -16,9 +16,9 @@
<subsystem xmlns="urn:jboss:domain:batch-jberet:2.0">
<default-job-repository name="in-memory"/>
- <security-domain name="ApplicationDomain"/>
<default-thread-pool name="batch"/>
<restart-jobs-on-resume value="false"/>
+ <security-domain name="ApplicationDomain"/>
<job-repository name="in-memory">
<in-memory/>
</job-repository>

0 comments on commit d3ef56b

Please sign in to comment.