<?xml version='1.0' encoding='UTF-8'?>
<!--
  ~ Copyright 2016 Red Hat, Inc. and/or its affiliates
  ~ and other contributors as indicated by the @author tags.
  ~
  ~ Licensed under the Apache License, Version 2.0 (the "License");
  ~ you may not use this file except in compliance with the License.
  ~ You may obtain a copy of the License at
  ~
  ~ http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing, software
  ~ distributed under the License is distributed on an "AS IS" BASIS,
  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  ~ See the License for the specific language governing permissions and
  ~ limitations under the License.
  -->

<!--  See src/resources/configuration/ReadMe.txt for how the configuration assembly works -->
<config>
   <subsystems name="load-balancer">
      <!-- Each subsystem to be included relative to the src/main/resources directory -->
      <subsystem>logging.xml</subsystem>
      <subsystem>io.xml</subsystem>
      <subsystem supplement="domain">jmx.xml</subsystem>
      <subsystem>naming.xml</subsystem>
      <subsystem>remoting.xml</subsystem>
      <subsystem>request-controller.xml</subsystem>
      <subsystem>security.xml</subsystem>
      <subsystem>security-manager.xml</subsystem>
   </subsystems>
   <subsystems name="auth-server-standalone">
      <!-- Each subsystem to be included relative to the src/main/resources directory -->
      <subsystem>logging.xml</subsystem>
      <subsystem>bean-validation.xml</subsystem>
      <subsystem supplement="default">keycloak-datasources.xml</subsystem>
      <subsystem>ee.xml</subsystem>
      <subsystem>ejb3.xml</subsystem>
      <subsystem>io.xml</subsystem>
      <subsystem>keycloak-infinispan.xml</subsystem>
      <subsystem>jaxrs.xml</subsystem>
      <subsystem>jca.xml</subsystem>
      <subsystem>jdr.xml</subsystem>
      <subsystem supplement="domain">jmx.xml</subsystem>
      <subsystem>jpa.xml</subsystem>
      <subsystem>jsf.xml</subsystem>
      <subsystem>mail.xml</subsystem>
      <subsystem>naming.xml</subsystem>
      <subsystem>remoting.xml</subsystem>
      <subsystem>request-controller.xml</subsystem>
      <subsystem>security.xml</subsystem>
      <subsystem>security-manager.xml</subsystem>
      <subsystem>transactions.xml</subsystem>
      <subsystem>undertow.xml</subsystem>
      <subsystem>keycloak-server.xml</subsystem>
   </subsystems>

   <subsystems name="auth-server-clustered">
      <!-- Each subsystem to be included relative to the src/main/resources directory -->
      <subsystem>logging.xml</subsystem>
      <subsystem>bean-validation.xml</subsystem>
      <subsystem supplement="domain">keycloak-datasources.xml</subsystem>
      <subsystem>ee.xml</subsystem>
      <subsystem supplement="ha">ejb3.xml</subsystem>
      <subsystem>io.xml</subsystem>
      <subsystem supplement="ha">keycloak-infinispan.xml</subsystem>
      <subsystem>jaxrs.xml</subsystem>
      <subsystem>jca.xml</subsystem>
      <subsystem>jdr.xml</subsystem>
      <subsystem>jgroups.xml</subsystem>
      <subsystem supplement="domain">jmx.xml</subsystem>
      <subsystem>jpa.xml</subsystem>
      <subsystem>jsf.xml</subsystem>
      <subsystem>mail.xml</subsystem>
      <subsystem>mod_cluster.xml</subsystem>
      <subsystem>naming.xml</subsystem>
      <subsystem>remoting.xml</subsystem>
      <subsystem>request-controller.xml</subsystem>
      <subsystem>security.xml</subsystem>
      <subsystem>security-manager.xml</subsystem>
      <subsystem>transactions.xml</subsystem>
      <subsystem supplement="ha">undertow.xml</subsystem>
      <subsystem>keycloak-server.xml</subsystem>
   </subsystems>
</config>
