KEYCLOAK-4764 Fixes for distribution
This commit is contained in:
parent
e54c1d7de1
commit
038c4765a3
19 changed files with 709 additions and 154 deletions
|
@ -79,6 +79,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
||||||
|
<version>${wildfly.build-tools.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>feature-pack-build</id>
|
<id>feature-pack-build</id>
|
||||||
|
|
|
@ -28,6 +28,43 @@
|
||||||
<fileSet>
|
<fileSet>
|
||||||
<directory>target/${project.build.finalName}</directory>
|
<directory>target/${project.build.finalName}</directory>
|
||||||
<outputDirectory/>
|
<outputDirectory/>
|
||||||
|
<excludes>
|
||||||
|
<exclude>configuration/**</exclude>
|
||||||
|
</excludes>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>target/unpacked-themes/theme</directory>
|
||||||
|
<outputDirectory>content/themes</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>src/main/resources/identity/module</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/**</include>
|
||||||
|
</includes>
|
||||||
|
<outputDirectory>modules/system/layers/keycloak/org/jboss/as/product/${product.slot}</outputDirectory>
|
||||||
|
<filtered>true</filtered>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>src/main/resources/identity</directory>
|
||||||
|
<includes>
|
||||||
|
<include>product.conf</include>
|
||||||
|
</includes>
|
||||||
|
<outputDirectory>content/bin</outputDirectory>
|
||||||
|
<filtered>true</filtered>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>${configDir}</directory>
|
||||||
|
<includes>
|
||||||
|
<include>**/**</include>
|
||||||
|
</includes>
|
||||||
|
<outputDirectory>configuration</outputDirectory>
|
||||||
|
</fileSet>
|
||||||
|
<fileSet>
|
||||||
|
<directory>../../../</directory>
|
||||||
|
<includes>
|
||||||
|
<include>License.html</include>
|
||||||
|
</includes>
|
||||||
|
<outputDirectory>content</outputDirectory>
|
||||||
</fileSet>
|
</fileSet>
|
||||||
</fileSets>
|
</fileSets>
|
||||||
</assembly>
|
</assembly>
|
|
@ -74,126 +74,6 @@
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-resources-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-configuration</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/configuration</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/configuration</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-modules</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/modules</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/modules</directory>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-content</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/content</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/content</directory>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-identity</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/content/bin</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/identity</directory>
|
|
||||||
<includes>
|
|
||||||
<include>**/product.conf</include>
|
|
||||||
</includes>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-identity-module</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/modules/system/layers/keycloak/org/jboss/as/product/${product.slot}</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>src/main/resources/identity/module</directory>
|
|
||||||
<filtering>true</filtering>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-themes</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/content/themes</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>target/unpacked-themes/theme</directory>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
<execution>
|
|
||||||
<id>copy-license</id>
|
|
||||||
<phase>validate</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-resources</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>target/resources/content</outputDirectory>
|
|
||||||
<resources>
|
|
||||||
<resource>
|
|
||||||
<directory>../../../</directory>
|
|
||||||
<includes>
|
|
||||||
<include>License.html</include>
|
|
||||||
</includes>
|
|
||||||
</resource>
|
|
||||||
</resources>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
||||||
|
@ -206,11 +86,11 @@
|
||||||
<phase>compile</phase>
|
<phase>compile</phase>
|
||||||
<configuration>
|
<configuration>
|
||||||
<config-file>feature-pack-build.xml</config-file>
|
<config-file>feature-pack-build.xml</config-file>
|
||||||
<resources-dir>target/resources</resources-dir>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
<artifactId>maven-assembly-plugin</artifactId>
|
||||||
|
@ -226,7 +106,6 @@
|
||||||
<descriptor>assembly.xml</descriptor>
|
<descriptor>assembly.xml</descriptor>
|
||||||
</descriptors>
|
</descriptors>
|
||||||
<recompressZippedFiles>true</recompressZippedFiles>
|
<recompressZippedFiles>true</recompressZippedFiles>
|
||||||
<finalName>${project.build.finalName}</finalName>
|
|
||||||
<appendAssemblyId>false</appendAssemblyId>
|
<appendAssemblyId>false</appendAssemblyId>
|
||||||
<outputDirectory>target/</outputDirectory>
|
<outputDirectory>target/</outputDirectory>
|
||||||
<workDirectory>target/assembly/work</workDirectory>
|
<workDirectory>target/assembly/work</workDirectory>
|
||||||
|
@ -247,8 +126,9 @@
|
||||||
</activation>
|
</activation>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<build-tools.version>${wildfly.build-tools.version}</build-tools.version>
|
||||||
<feature.parent>org.wildfly:wildfly-feature-pack</feature.parent>
|
<feature.parent>org.wildfly:wildfly-feature-pack</feature.parent>
|
||||||
<xmlns.domain>urn:jboss:domain:4.0</xmlns.domain>
|
<configDir>src/main/resources/configuration</configDir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -265,7 +145,9 @@
|
||||||
<id>wf11</id>
|
<id>wf11</id>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<xmlns.domain>urn:jboss:domain:5.0</xmlns.domain>
|
<build-tools.version>${wildfly11.build-tools.version}</build-tools.version>
|
||||||
|
<feature.parent>org.wildfly:wildfly-feature-pack</feature.parent>
|
||||||
|
<configDir>src/main/resources-wf11/configuration</configDir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
@ -303,6 +185,7 @@
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>product</id>
|
<id>product</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -312,8 +195,9 @@
|
||||||
</activation>
|
</activation>
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
|
<build-tools.version>${eap.build-tools.version}</build-tools.version>
|
||||||
<feature.parent>org.jboss.eap:wildfly-feature-pack</feature.parent>
|
<feature.parent>org.jboss.eap:wildfly-feature-pack</feature.parent>
|
||||||
<xmlns.domain>urn:jboss:domain:5.0</xmlns.domain>
|
<configDir>src/main/resources-wf11/configuration</configDir>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
|
@ -0,0 +1,85 @@
|
||||||
|
<?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>
|
|
@ -0,0 +1,146 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<domain xmlns="urn:jboss:domain:4.0">
|
||||||
|
|
||||||
|
<extensions>
|
||||||
|
<?EXTENSIONS?>
|
||||||
|
</extensions>
|
||||||
|
|
||||||
|
<system-properties>
|
||||||
|
<!-- IPv4 is not required, but setting this helps avoid unintended use of IPv6 -->
|
||||||
|
<property name="java.net.preferIPv4Stack" value="true"/>
|
||||||
|
</system-properties>
|
||||||
|
|
||||||
|
<management>
|
||||||
|
<access-control provider="simple">
|
||||||
|
<role-mapping>
|
||||||
|
<role name="SuperUser">
|
||||||
|
<include>
|
||||||
|
<user name="$local"/>
|
||||||
|
</include>
|
||||||
|
</role>
|
||||||
|
</role-mapping>
|
||||||
|
</access-control>
|
||||||
|
</management>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<!-- Non clustered authentication server profile -->
|
||||||
|
<profile name="auth-server-standalone">
|
||||||
|
<?SUBSYSTEMS socket-binding-group="standard-sockets"?>
|
||||||
|
</profile>
|
||||||
|
<!--
|
||||||
|
Clustering authentication server setup.
|
||||||
|
|
||||||
|
You must configure a remote shared external database like PostgreSQL or MySql if you want this to be
|
||||||
|
able to work on multiple machines.
|
||||||
|
-->
|
||||||
|
<profile name="auth-server-clustered">
|
||||||
|
<?SUBSYSTEMS socket-binding-group="ha-sockets"?>
|
||||||
|
</profile>
|
||||||
|
<!--
|
||||||
|
This is a profile for the built-in Underto Loadbalancer
|
||||||
|
It should be removed in production systems and replaced with a better software or hardware based one
|
||||||
|
-->
|
||||||
|
<profile name="load-balancer">
|
||||||
|
<?SUBSYSTEMS socket-binding-group="load-balancer-sockets"?>
|
||||||
|
<subsystem xmlns="urn:jboss:domain:undertow:3.0">
|
||||||
|
<buffer-cache name="default"/>
|
||||||
|
<server name="default-server">
|
||||||
|
<http-listener name="default" socket-binding="http" redirect-socket="https"/>
|
||||||
|
<host name="default-host" alias="localhost">
|
||||||
|
<location name="/" handler="lb-handler"/>
|
||||||
|
<filter-ref name="server-header"/>
|
||||||
|
<filter-ref name="x-powered-by-header"/>
|
||||||
|
</host>
|
||||||
|
</server>
|
||||||
|
<servlet-container name="default">
|
||||||
|
<jsp-config/>
|
||||||
|
<websockets/>
|
||||||
|
</servlet-container>
|
||||||
|
<handlers>
|
||||||
|
<reverse-proxy name="lb-handler">
|
||||||
|
<host name="host1" outbound-socket-binding="remote-host1" scheme="ajp" path="/" instance-id="myroute1"/>
|
||||||
|
<host name="host2" outbound-socket-binding="remote-host2" scheme="ajp" path="/" instance-id="myroute2"/>
|
||||||
|
</reverse-proxy>
|
||||||
|
</handlers>
|
||||||
|
<filters>
|
||||||
|
<response-header name="server-header" header-name="Server" header-value="WildFly/10"/>
|
||||||
|
<response-header name="x-powered-by-header" header-name="X-Powered-By" header-value="Undertow/1"/>
|
||||||
|
</filters>
|
||||||
|
</subsystem>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Named interfaces that can be referenced elsewhere in the configuration. The configuration
|
||||||
|
for how to associate these logical names with an actual network interface can either
|
||||||
|
be specified here or can be declared on a per-host basis in the equivalent element in host.xml.
|
||||||
|
|
||||||
|
These default configurations require the binding specification to be done in host.xml.
|
||||||
|
-->
|
||||||
|
<interfaces>
|
||||||
|
<interface name="management">
|
||||||
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
<interface name="public">
|
||||||
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
<?INTERFACES?>
|
||||||
|
</interfaces>
|
||||||
|
|
||||||
|
<socket-binding-groups>
|
||||||
|
<socket-binding-group name="standard-sockets" default-interface="public">
|
||||||
|
<?SOCKET-BINDINGS?>
|
||||||
|
</socket-binding-group>
|
||||||
|
<socket-binding-group name="ha-sockets" default-interface="public">
|
||||||
|
<?SOCKET-BINDINGS?>
|
||||||
|
</socket-binding-group>
|
||||||
|
<!-- load-balancer-sockets should be removed in production systems and replaced with a better softare or hardare based one -->
|
||||||
|
<socket-binding-group name="load-balancer-sockets" default-interface="public">
|
||||||
|
<socket-binding name="ajp" port="${jboss.ajp.port:8009}"/>
|
||||||
|
<socket-binding name="http" port="${jboss.http.port:8080}"/>
|
||||||
|
<socket-binding name="https" port="${jboss.https.port:8443}"/>
|
||||||
|
<outbound-socket-binding name="remote-host1">
|
||||||
|
<remote-destination host="localhost" port="8159"/>
|
||||||
|
</outbound-socket-binding>
|
||||||
|
<outbound-socket-binding name="remote-host2">
|
||||||
|
<remote-destination host="localhost" port="8259"/>
|
||||||
|
</outbound-socket-binding>
|
||||||
|
<?SOCKET-BINDINGS?>
|
||||||
|
</socket-binding-group>
|
||||||
|
</socket-binding-groups>
|
||||||
|
|
||||||
|
<server-groups>
|
||||||
|
<!-- load-balancer-group should be removed in production systems and replaced with a better softare or hardare based one -->
|
||||||
|
<server-group name="load-balancer-group" profile="load-balancer">
|
||||||
|
<jvm name="default">
|
||||||
|
<heap size="64m" max-size="512m"/>
|
||||||
|
</jvm>
|
||||||
|
<socket-binding-group ref="load-balancer-sockets"/>
|
||||||
|
</server-group>
|
||||||
|
<server-group name="auth-server-group" profile="auth-server-clustered">
|
||||||
|
<jvm name="default">
|
||||||
|
<heap size="64m" max-size="512m"/>
|
||||||
|
</jvm>
|
||||||
|
<socket-binding-group ref="ha-sockets"/>
|
||||||
|
</server-group>
|
||||||
|
</server-groups>
|
||||||
|
|
||||||
|
</domain>
|
|
@ -0,0 +1,127 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Runs an HTTP Loadbalancer that balances to two separate auth server instances. The first auth server instance
|
||||||
|
is also started by this host controller file. The other instance must be started
|
||||||
|
via host-slave.xml
|
||||||
|
-->
|
||||||
|
<host name="master" xmlns="urn:jboss:domain:4.0">
|
||||||
|
<extensions>
|
||||||
|
<?EXTENSIONS?>
|
||||||
|
</extensions>
|
||||||
|
|
||||||
|
<management>
|
||||||
|
<security-realms>
|
||||||
|
<security-realm name="ManagementRealm">
|
||||||
|
<authentication>
|
||||||
|
<local default-user="$local" skip-group-loading="true"/>
|
||||||
|
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authentication>
|
||||||
|
<authorization map-groups-to-roles="false">
|
||||||
|
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authorization>
|
||||||
|
</security-realm>
|
||||||
|
<security-realm name="ApplicationRealm">
|
||||||
|
<authentication>
|
||||||
|
<local default-user="$local" allowed-users="*" skip-group-loading="true"/>
|
||||||
|
<properties path="application-users.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authentication>
|
||||||
|
<authorization>
|
||||||
|
<properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authorization>
|
||||||
|
</security-realm>
|
||||||
|
</security-realms>
|
||||||
|
<audit-log>
|
||||||
|
<formatters>
|
||||||
|
<json-formatter name="json-formatter"/>
|
||||||
|
</formatters>
|
||||||
|
<handlers>
|
||||||
|
<file-handler name="host-file" formatter="json-formatter" relative-to="jboss.domain.data.dir" path="audit-log.log"/>
|
||||||
|
<file-handler name="server-file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
|
||||||
|
</handlers>
|
||||||
|
<logger log-boot="true" log-read-only="false" enabled="false">
|
||||||
|
<handlers>
|
||||||
|
<handler name="host-file"/>
|
||||||
|
</handlers>
|
||||||
|
</logger>
|
||||||
|
<server-logger log-boot="true" log-read-only="false" enabled="false">
|
||||||
|
<handlers>
|
||||||
|
<handler name="server-file"/>
|
||||||
|
</handlers>
|
||||||
|
</server-logger>
|
||||||
|
</audit-log>
|
||||||
|
<management-interfaces>
|
||||||
|
<native-interface security-realm="ManagementRealm">
|
||||||
|
<socket interface="management" port="${jboss.management.native.port:9999}"/>
|
||||||
|
</native-interface>
|
||||||
|
<http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">
|
||||||
|
<socket interface="management" port="${jboss.management.http.port:9990}"/>
|
||||||
|
</http-interface>
|
||||||
|
</management-interfaces>
|
||||||
|
</management>
|
||||||
|
|
||||||
|
<domain-controller>
|
||||||
|
<local/>
|
||||||
|
</domain-controller>
|
||||||
|
|
||||||
|
<interfaces>
|
||||||
|
<interface name="management">
|
||||||
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
<interface name="public">
|
||||||
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
|
||||||
|
<?INTERFACES?>
|
||||||
|
|
||||||
|
</interfaces>
|
||||||
|
|
||||||
|
<jvms>
|
||||||
|
<jvm name="default">
|
||||||
|
<heap size="64m" max-size="256m"/>
|
||||||
|
<jvm-options>
|
||||||
|
<option value="-server"/>
|
||||||
|
</jvm-options>
|
||||||
|
</jvm>
|
||||||
|
</jvms>
|
||||||
|
|
||||||
|
<servers>
|
||||||
|
<!-- load-balancer should be removed in production systems and replaced with a better softare or hardare based one -->
|
||||||
|
<server name="load-balancer" group="load-balancer-group">
|
||||||
|
</server>
|
||||||
|
<server name="server-one" group="auth-server-group" auto-start="true">
|
||||||
|
<!-- Remote JPDA debugging for a specific server
|
||||||
|
<jvm name="default">
|
||||||
|
<jvm-options>
|
||||||
|
<option value="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"/>
|
||||||
|
</jvm-options>
|
||||||
|
</jvm>
|
||||||
|
-->
|
||||||
|
<!-- server-two avoids port conflicts by incrementing the ports in
|
||||||
|
the default socket-group declared in the server-group -->
|
||||||
|
<socket-bindings port-offset="150"/>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<?SUBSYSTEMS socket-binding-group="standard-sockets"?>
|
||||||
|
</profile>
|
||||||
|
|
||||||
|
</host>
|
|
@ -0,0 +1,117 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<host xmlns="urn:jboss:domain:4.0">
|
||||||
|
<extensions>
|
||||||
|
<?EXTENSIONS?>
|
||||||
|
</extensions>
|
||||||
|
|
||||||
|
<management>
|
||||||
|
<security-realms>
|
||||||
|
<security-realm name="ManagementRealm">
|
||||||
|
<server-identities>
|
||||||
|
<!-- Replace this with either a base64 password of your own, or use a vault with a vault expression -->
|
||||||
|
<secret value="c2xhdmVfdXNlcl9wYXNzd29yZA=="/>
|
||||||
|
</server-identities>
|
||||||
|
|
||||||
|
<authentication>
|
||||||
|
<local default-user="$local" skip-group-loading="true"/>
|
||||||
|
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authentication>
|
||||||
|
<authorization map-groups-to-roles="false">
|
||||||
|
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authorization>
|
||||||
|
</security-realm>
|
||||||
|
<security-realm name="ApplicationRealm">
|
||||||
|
<authentication>
|
||||||
|
<local default-user="$local" allowed-users="*" skip-group-loading="true"/>
|
||||||
|
<properties path="application-users.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authentication>
|
||||||
|
<authorization>
|
||||||
|
<properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authorization>
|
||||||
|
</security-realm>
|
||||||
|
</security-realms>
|
||||||
|
<audit-log>
|
||||||
|
<formatters>
|
||||||
|
<json-formatter name="json-formatter"/>
|
||||||
|
</formatters>
|
||||||
|
<handlers>
|
||||||
|
<file-handler name="host-file" formatter="json-formatter" relative-to="jboss.domain.data.dir" path="audit-log.log"/>
|
||||||
|
<file-handler name="server-file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
|
||||||
|
</handlers>
|
||||||
|
<logger log-boot="true" log-read-only="false" enabled="false">
|
||||||
|
<handlers>
|
||||||
|
<handler name="host-file"/>
|
||||||
|
</handlers>
|
||||||
|
</logger>
|
||||||
|
<server-logger log-boot="true" log-read-only="false" enabled="false">
|
||||||
|
<handlers>
|
||||||
|
<handler name="server-file"/>
|
||||||
|
</handlers>
|
||||||
|
</server-logger>
|
||||||
|
</audit-log>
|
||||||
|
<management-interfaces>
|
||||||
|
<native-interface security-realm="ManagementRealm">
|
||||||
|
<socket interface="management" port="${jboss.management.native.port:3456}"/>
|
||||||
|
</native-interface>
|
||||||
|
</management-interfaces>
|
||||||
|
</management>
|
||||||
|
|
||||||
|
<domain-controller>
|
||||||
|
<remote security-realm="ManagementRealm">
|
||||||
|
<discovery-options>
|
||||||
|
<static-discovery name="primary" protocol="${jboss.domain.master.protocol:remote}" host="${jboss.domain.master.address:127.0.0.1}" port="${jboss.domain.master.port:9999}"/>
|
||||||
|
</discovery-options>
|
||||||
|
</remote>
|
||||||
|
</domain-controller>
|
||||||
|
|
||||||
|
<interfaces>
|
||||||
|
<interface name="management">
|
||||||
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
<interface name="public">
|
||||||
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
|
||||||
|
<?INTERFACES?>
|
||||||
|
|
||||||
|
</interfaces>
|
||||||
|
|
||||||
|
<jvms>
|
||||||
|
<jvm name="default">
|
||||||
|
<heap size="64m" max-size="256m"/>
|
||||||
|
<jvm-options>
|
||||||
|
<option value="-server"/>
|
||||||
|
</jvm-options>
|
||||||
|
</jvm>
|
||||||
|
</jvms>
|
||||||
|
|
||||||
|
<servers>
|
||||||
|
<server name="server-two" group="auth-server-group" auto-start="true">
|
||||||
|
<!-- server-two avoids port conflicts by incrementing the ports in
|
||||||
|
the default socket-group declared in the server-group -->
|
||||||
|
<socket-bindings port-offset="250"/>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<?SUBSYSTEMS socket-binding-group="standard-sockets"?>
|
||||||
|
</profile>
|
||||||
|
</host>
|
|
@ -0,0 +1,127 @@
|
||||||
|
<?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.
|
||||||
|
-->
|
||||||
|
|
||||||
|
<!--
|
||||||
|
Runs an HTTP Loadbalancer that balances to two separate auth server instances. The first auth server instance
|
||||||
|
is also started by this host controller file. The other instance must be started
|
||||||
|
via host-slave.xml
|
||||||
|
-->
|
||||||
|
|
||||||
|
<host name="master" xmlns="urn:jboss:domain:4.0">
|
||||||
|
<extensions>
|
||||||
|
<?EXTENSIONS?>
|
||||||
|
</extensions>
|
||||||
|
|
||||||
|
<management>
|
||||||
|
<security-realms>
|
||||||
|
<security-realm name="ManagementRealm">
|
||||||
|
<authentication>
|
||||||
|
<local default-user="$local" skip-group-loading="true"/>
|
||||||
|
<properties path="mgmt-users.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authentication>
|
||||||
|
<authorization map-groups-to-roles="false">
|
||||||
|
<properties path="mgmt-groups.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authorization>
|
||||||
|
</security-realm>
|
||||||
|
<security-realm name="ApplicationRealm">
|
||||||
|
<authentication>
|
||||||
|
<local default-user="$local" allowed-users="*" skip-group-loading="true"/>
|
||||||
|
<properties path="application-users.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authentication>
|
||||||
|
<authorization>
|
||||||
|
<properties path="application-roles.properties" relative-to="jboss.domain.config.dir"/>
|
||||||
|
</authorization>
|
||||||
|
</security-realm>
|
||||||
|
</security-realms>
|
||||||
|
<audit-log>
|
||||||
|
<formatters>
|
||||||
|
<json-formatter name="json-formatter"/>
|
||||||
|
</formatters>
|
||||||
|
<handlers>
|
||||||
|
<file-handler name="host-file" formatter="json-formatter" relative-to="jboss.domain.data.dir" path="audit-log.log"/>
|
||||||
|
<file-handler name="server-file" formatter="json-formatter" relative-to="jboss.server.data.dir" path="audit-log.log"/>
|
||||||
|
</handlers>
|
||||||
|
<logger log-boot="true" log-read-only="false" enabled="false">
|
||||||
|
<handlers>
|
||||||
|
<handler name="host-file"/>
|
||||||
|
</handlers>
|
||||||
|
</logger>
|
||||||
|
<server-logger log-boot="true" log-read-only="false" enabled="false">
|
||||||
|
<handlers>
|
||||||
|
<handler name="server-file"/>
|
||||||
|
</handlers>
|
||||||
|
</server-logger>
|
||||||
|
</audit-log>
|
||||||
|
<management-interfaces>
|
||||||
|
<native-interface security-realm="ManagementRealm">
|
||||||
|
<socket interface="management" port="${jboss.management.native.port:9999}"/>
|
||||||
|
</native-interface>
|
||||||
|
<http-interface security-realm="ManagementRealm" http-upgrade-enabled="true">
|
||||||
|
<socket interface="management" port="${jboss.management.http.port:9990}"/>
|
||||||
|
</http-interface>
|
||||||
|
</management-interfaces>
|
||||||
|
</management>
|
||||||
|
|
||||||
|
<domain-controller>
|
||||||
|
<local/>
|
||||||
|
</domain-controller>
|
||||||
|
|
||||||
|
<interfaces>
|
||||||
|
<interface name="management">
|
||||||
|
<inet-address value="${jboss.bind.address.management:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
<interface name="public">
|
||||||
|
<inet-address value="${jboss.bind.address:127.0.0.1}"/>
|
||||||
|
</interface>
|
||||||
|
|
||||||
|
<?INTERFACES?>
|
||||||
|
|
||||||
|
</interfaces>
|
||||||
|
|
||||||
|
<jvms>
|
||||||
|
<jvm name="default">
|
||||||
|
<heap size="64m" max-size="256m"/>
|
||||||
|
<jvm-options>
|
||||||
|
<option value="-server"/>
|
||||||
|
</jvm-options>
|
||||||
|
</jvm>
|
||||||
|
</jvms>
|
||||||
|
|
||||||
|
<servers>
|
||||||
|
<!-- load-balancer should be removed in production systems and replaced with a better softare or hardare based one -->
|
||||||
|
<server name="load-balancer" group="load-balancer-group">
|
||||||
|
</server>
|
||||||
|
<server name="server-one" group="auth-server-group" auto-start="true">
|
||||||
|
<!-- Remote JPDA debugging for a specific server
|
||||||
|
<jvm name="default">
|
||||||
|
<jvm-options>
|
||||||
|
<option value="-agentlib:jdwp=transport=dt_socket,address=8787,server=y,suspend=n"/>
|
||||||
|
</jvm-options>
|
||||||
|
</jvm>
|
||||||
|
-->
|
||||||
|
<!-- server-two avoids port conflicts by incrementing the ports in
|
||||||
|
the default socket-group declared in the server-group -->
|
||||||
|
<socket-bindings port-offset="150"/>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<?SUBSYSTEMS socket-binding-group="standard-sockets"?>
|
||||||
|
</profile>
|
||||||
|
</host>
|
|
@ -0,0 +1,24 @@
|
||||||
|
<?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>
|
||||||
|
<subsystem>jmx.xml</subsystem>
|
||||||
|
</subsystems>
|
||||||
|
</config>
|
|
@ -1,6 +1,6 @@
|
||||||
<?xml version='1.0' encoding='UTF-8'?>
|
<?xml version='1.0' encoding='UTF-8'?>
|
||||||
|
|
||||||
<server xmlns="${xmlns.domain}">
|
<server xmlns="urn:jboss:domain:5.0">
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<domain xmlns="${xmlns.domain}">
|
<domain xmlns="urn:jboss:domain:4.0">
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
|
|
|
@ -22,7 +22,7 @@
|
||||||
is also started by this host controller file. The other instance must be started
|
is also started by this host controller file. The other instance must be started
|
||||||
via host-slave.xml
|
via host-slave.xml
|
||||||
-->
|
-->
|
||||||
<host name="master" xmlns="${xmlns.domain}">
|
<host name="master" xmlns="urn:jboss:domain:4.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<host xmlns="${xmlns.domain}">
|
<host xmlns="urn:jboss:domain:4.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
|
@ -23,7 +23,7 @@
|
||||||
via host-slave.xml
|
via host-slave.xml
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<host name="master" xmlns="${xmlns.domain}">
|
<host name="master" xmlns="urn:jboss:domain:4.0">
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
</extensions>
|
</extensions>
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
~ limitations under the License.
|
~ limitations under the License.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<server xmlns="${xmlns.domain}">
|
<server xmlns="urn:jboss:domain:4.0">
|
||||||
|
|
||||||
<extensions>
|
<extensions>
|
||||||
<?EXTENSIONS?>
|
<?EXTENSIONS?>
|
||||||
|
|
|
@ -42,6 +42,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
|
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
|
||||||
|
<version>${build-tools.version}</version>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<id>server-provisioning</id>
|
<id>server-provisioning</id>
|
||||||
|
@ -113,6 +114,7 @@
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
|
<build-tools.version>${wildfly.build-tools.version}</build-tools.version>
|
||||||
<assemblyFile>assembly.xml</assemblyFile>
|
<assemblyFile>assembly.xml</assemblyFile>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
|
@ -120,6 +122,13 @@
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
|
||||||
|
<profile>
|
||||||
|
<id>wf11</id>
|
||||||
|
<properties>
|
||||||
|
<build-tools.version>${wildfly11.build-tools.version}</build-tools.version>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
|
||||||
<profile>
|
<profile>
|
||||||
<id>product</id>
|
<id>product</id>
|
||||||
<activation>
|
<activation>
|
||||||
|
@ -128,6 +137,7 @@
|
||||||
</property>
|
</property>
|
||||||
</activation>
|
</activation>
|
||||||
<properties>
|
<properties>
|
||||||
|
<build-tools.version>${eap.build-tools.version}</build-tools.version>
|
||||||
<assemblyFile>assembly.xml</assemblyFile>
|
<assemblyFile>assembly.xml</assemblyFile>
|
||||||
<profileExcludes>%regex[(providers.*)|(docs/contrib.*)|(docs/examples.*)|(docs/schema.*)]</profileExcludes>
|
<profileExcludes>%regex[(providers.*)|(docs/contrib.*)|(docs/examples.*)|(docs/schema.*)]</profileExcludes>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
9
pom.xml
9
pom.xml
|
@ -42,10 +42,12 @@
|
||||||
<!-- WildFly -->
|
<!-- WildFly -->
|
||||||
<jboss.as.version>7.2.0.Final</jboss.as.version>
|
<jboss.as.version>7.2.0.Final</jboss.as.version>
|
||||||
<wildfly.version>10.0.0.Final</wildfly.version>
|
<wildfly.version>10.0.0.Final</wildfly.version>
|
||||||
|
<wildfly.build-tools.version>1.1.3.Final</wildfly.build-tools.version>
|
||||||
<wildfly11.version>11.0.0.Alpha1</wildfly11.version> <!-- for testing with wf11 pre-releases -->
|
<wildfly11.version>11.0.0.Alpha1</wildfly11.version> <!-- for testing with wf11 pre-releases -->
|
||||||
|
<wildfly11.build-tools.version>1.1.8.Final</wildfly11.build-tools.version>
|
||||||
<eap.version>7.1.0.Alpha1-redhat-16</eap.version>
|
<eap.version>7.1.0.Alpha1-redhat-16</eap.version>
|
||||||
|
<eap.build-tools.version>1.1.8.Final</eap.build-tools.version>
|
||||||
<wildfly.core.version>2.0.10.Final</wildfly.core.version>
|
<wildfly.core.version>2.0.10.Final</wildfly.core.version>
|
||||||
<wildfly.build-tools.version>1.1.8.Final</wildfly.build-tools.version>
|
|
||||||
|
|
||||||
<version.org.wildfly.security.wildfly-elytron>1.1.0.Beta32</version.org.wildfly.security.wildfly-elytron>
|
<version.org.wildfly.security.wildfly-elytron>1.1.0.Beta32</version.org.wildfly.security.wildfly-elytron>
|
||||||
<version.org.wildfly.security.elytron-web.undertow-server>1.0.0.Beta14</version.org.wildfly.security.elytron-web.undertow-server>
|
<version.org.wildfly.security.elytron-web.undertow-server>1.0.0.Beta14</version.org.wildfly.security.elytron-web.undertow-server>
|
||||||
|
@ -1468,11 +1470,6 @@
|
||||||
<artifactId>liquibase-maven-plugin</artifactId>
|
<artifactId>liquibase-maven-plugin</artifactId>
|
||||||
<version>${liquibase.version}</version>
|
<version>${liquibase.version}</version>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<groupId>org.wildfly.build</groupId>
|
|
||||||
<artifactId>wildfly-feature-pack-build-maven-plugin</artifactId>
|
|
||||||
<version>${wildfly.build-tools.version}</version>
|
|
||||||
</plugin>
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.wildfly.build</groupId>
|
<groupId>org.wildfly.build</groupId>
|
||||||
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
|
<artifactId>wildfly-server-provisioning-maven-plugin</artifactId>
|
||||||
|
|
|
@ -59,9 +59,6 @@
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
<file-store passivation="false" purge="false"/>
|
<file-store passivation="false" purge="false"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
<local-cache name="concurrent">
|
|
||||||
<file-store passivation="true" purge="false"/>
|
|
||||||
</local-cache>
|
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
|
<cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
|
||||||
<local-cache name="passivation">
|
<local-cache name="passivation">
|
||||||
|
@ -75,7 +72,7 @@
|
||||||
<file-store passivation="false" purge="false"/>
|
<file-store passivation="false" purge="false"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="hibernate" module="org.hibernate.infinispan">
|
<cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
|
||||||
<local-cache name="entity">
|
<local-cache name="entity">
|
||||||
<transaction mode="NON_XA"/>
|
<transaction mode="NON_XA"/>
|
||||||
<eviction strategy="LRU" max-entries="10000"/>
|
<eviction strategy="LRU" max-entries="10000"/>
|
||||||
|
@ -111,24 +108,21 @@
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
|
<cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
|
||||||
<transport lock-timeout="60000"/>
|
<transport lock-timeout="60000"/>
|
||||||
<replicated-cache name="default">
|
<replicated-cache name="default" mode="SYNC">
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
</replicated-cache>
|
</replicated-cache>
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
|
<cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
|
||||||
<transport lock-timeout="60000"/>
|
<transport lock-timeout="60000"/>
|
||||||
<distributed-cache name="dist">
|
<distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
|
||||||
<locking isolation="REPEATABLE_READ"/>
|
<locking isolation="REPEATABLE_READ"/>
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
<file-store/>
|
<file-store/>
|
||||||
</distributed-cache>
|
</distributed-cache>
|
||||||
<distributed-cache name="concurrent">
|
|
||||||
<file-store/>
|
|
||||||
</distributed-cache>
|
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
|
<cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
|
||||||
<transport lock-timeout="60000"/>
|
<transport lock-timeout="60000"/>
|
||||||
<distributed-cache name="dist">
|
<distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
|
||||||
<locking isolation="REPEATABLE_READ"/>
|
<locking isolation="REPEATABLE_READ"/>
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
<file-store/>
|
<file-store/>
|
||||||
|
@ -140,7 +134,7 @@
|
||||||
<eviction strategy="LRU" max-entries="10000"/>
|
<eviction strategy="LRU" max-entries="10000"/>
|
||||||
<expiration max-idle="100000"/>
|
<expiration max-idle="100000"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
<invalidation-cache name="entity">
|
<invalidation-cache name="entity" mode="SYNC">
|
||||||
<transaction mode="NON_XA"/>
|
<transaction mode="NON_XA"/>
|
||||||
<eviction strategy="LRU" max-entries="10000"/>
|
<eviction strategy="LRU" max-entries="10000"/>
|
||||||
<expiration max-idle="100000"/>
|
<expiration max-idle="100000"/>
|
||||||
|
|
|
@ -59,6 +59,9 @@
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
<file-store passivation="false" purge="false"/>
|
<file-store passivation="false" purge="false"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
|
<local-cache name="concurrent">
|
||||||
|
<file-store passivation="true" purge="false"/>
|
||||||
|
</local-cache>
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
|
<cache-container name="ejb" aliases="sfsb" default-cache="passivation" module="org.wildfly.clustering.ejb.infinispan">
|
||||||
<local-cache name="passivation">
|
<local-cache name="passivation">
|
||||||
|
@ -72,7 +75,7 @@
|
||||||
<file-store passivation="false" purge="false"/>
|
<file-store passivation="false" purge="false"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="hibernate" default-cache="local-query" module="org.hibernate.infinispan">
|
<cache-container name="hibernate" module="org.hibernate.infinispan">
|
||||||
<local-cache name="entity">
|
<local-cache name="entity">
|
||||||
<transaction mode="NON_XA"/>
|
<transaction mode="NON_XA"/>
|
||||||
<eviction strategy="LRU" max-entries="10000"/>
|
<eviction strategy="LRU" max-entries="10000"/>
|
||||||
|
@ -108,21 +111,24 @@
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
|
<cache-container name="server" aliases="singleton cluster" default-cache="default" module="org.wildfly.clustering.server">
|
||||||
<transport lock-timeout="60000"/>
|
<transport lock-timeout="60000"/>
|
||||||
<replicated-cache name="default" mode="SYNC">
|
<replicated-cache name="default">
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
</replicated-cache>
|
</replicated-cache>
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
|
<cache-container name="web" default-cache="dist" module="org.wildfly.clustering.web.infinispan">
|
||||||
<transport lock-timeout="60000"/>
|
<transport lock-timeout="60000"/>
|
||||||
<distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
|
<distributed-cache name="dist">
|
||||||
<locking isolation="REPEATABLE_READ"/>
|
<locking isolation="REPEATABLE_READ"/>
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
<file-store/>
|
<file-store/>
|
||||||
</distributed-cache>
|
</distributed-cache>
|
||||||
|
<distributed-cache name="concurrent">
|
||||||
|
<file-store/>
|
||||||
|
</distributed-cache>
|
||||||
</cache-container>
|
</cache-container>
|
||||||
<cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
|
<cache-container name="ejb" aliases="sfsb" default-cache="dist" module="org.wildfly.clustering.ejb.infinispan">
|
||||||
<transport lock-timeout="60000"/>
|
<transport lock-timeout="60000"/>
|
||||||
<distributed-cache name="dist" mode="ASYNC" l1-lifespan="0" owners="2">
|
<distributed-cache name="dist">
|
||||||
<locking isolation="REPEATABLE_READ"/>
|
<locking isolation="REPEATABLE_READ"/>
|
||||||
<transaction mode="BATCH"/>
|
<transaction mode="BATCH"/>
|
||||||
<file-store/>
|
<file-store/>
|
||||||
|
@ -134,7 +140,7 @@
|
||||||
<eviction strategy="LRU" max-entries="10000"/>
|
<eviction strategy="LRU" max-entries="10000"/>
|
||||||
<expiration max-idle="100000"/>
|
<expiration max-idle="100000"/>
|
||||||
</local-cache>
|
</local-cache>
|
||||||
<invalidation-cache name="entity" mode="SYNC">
|
<invalidation-cache name="entity">
|
||||||
<transaction mode="NON_XA"/>
|
<transaction mode="NON_XA"/>
|
||||||
<eviction strategy="LRU" max-entries="10000"/>
|
<eviction strategy="LRU" max-entries="10000"/>
|
||||||
<expiration max-idle="100000"/>
|
<expiration max-idle="100000"/>
|
||||||
|
|
Loading…
Reference in a new issue