-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #264 from luck3y/CLOUD-4107
[CLOUD-4107] OpenJDK 17 images
- Loading branch information
Showing
58 changed files
with
1,352 additions
and
85 deletions.
There are no files selected for viewing
563 changes: 563 additions & 0 deletions
563
jboss/container/config/7.4/ee-elytron/standalone-openshift.xml
Large diffs are not rendered by default.
Oops, something went wrong.
17 changes: 17 additions & 0 deletions
17
...ap/galleon/eap-s2i-galleon-pack/src/main/resources/feature_groups/os-undertow-elytron.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,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature-group-spec name="os-undertow-elytron" xmlns="urn:jboss:galleon:feature-group:1.0"> | ||
<feature-group name="undertow-elytron-security"/> | ||
<feature spec="subsystem.undertow"> | ||
<feature spec="subsystem.undertow.server"> | ||
<param name="server" value="default-server" /> | ||
<feature spec="subsystem.undertow.server.host"> | ||
<param name="host" value="default-host" /> | ||
<feature spec="subsystem.undertow.server.host.setting.http-invoker"> | ||
<unset param="security-realm"/> | ||
<param name="http-authentication-factory" value="application-http-authentication"/> | ||
</feature> | ||
</feature> | ||
</feature> | ||
</feature> | ||
<feature-group name="os-undertow"/> | ||
</feature-group-spec> |
File renamed without changes.
File renamed without changes.
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,13 @@ | ||
#!/bin/sh | ||
# Configure module | ||
set -e | ||
|
||
SCRIPT_DIR=$(dirname $0) | ||
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts | ||
|
||
chown -R jboss:root $SCRIPT_DIR | ||
chmod -R ug+rwX $SCRIPT_DIR | ||
|
||
pushd ${ARTIFACTS_DIR} | ||
cp -pr * / | ||
popd |
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,7 @@ | ||
schema_version: 1 | ||
name: jboss.container.eap.galleon.config.ee.common | ||
version: '1.0' | ||
description: Install Galleon ee default configuration. | ||
|
||
execute: | ||
- script: configure.sh |
107 changes: 107 additions & 0 deletions
107
...leon/eap-s2i-galleon-pack/src/main/resources/configs/standalone/standalone.xml/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,107 @@ | ||
<?xml version="1.0" ?> | ||
|
||
<config xmlns="urn:jboss:galleon:config:1.0" name="standalone.xml" model="standalone"> | ||
<layers> | ||
<!-- we already have all required in default config --> | ||
<!-- Although logically correct, galleon doesn't actually support excluding from model --> | ||
<!-- This is harmless, keeping the exclusion commented for reference until GAL-308 is fixed --> | ||
<!--<exclude name="operator-required"/>--> | ||
<include name="amq6-rar"/> | ||
</layers> | ||
|
||
<!-- No sso packages for JDK17 techpreview --> | ||
<!-- <feature-group name="sso"/> --> | ||
|
||
<!-- JDK 17 --> | ||
<exclude feature-id="core-service.management.security-realm:security-realm=ApplicationRealm"/> | ||
<exclude feature-id="core-service.management.security-realm:security-realm=ManagementRealm"/> | ||
<feature spec="subsystem.batch-jberet"> | ||
<param name="security-domain" value="ApplicationDomain"/> | ||
</feature> | ||
<!-- JDK 17, remoting secured with elytron --> | ||
<feature spec="subsystem.remoting.http-connector"> | ||
<param name="http-connector" value="http-remoting-connector"/> | ||
<unset param="security-realm"/> | ||
<param name="sasl-authentication-factory" value="application-sasl-authentication"/> | ||
</feature> | ||
|
||
<!-- management --> | ||
<!-- JDK 17, do not exclude identity --> | ||
<!--<exclude spec="core-service.management.access.identity"/>--> | ||
<feature spec="core-service.management.management-interface.http-interface"> | ||
<param name="socket-binding" value="management-http"/> | ||
<unset param="http-authentication-factory"/> | ||
<feature spec="core-service.management.management-interface.http-interface.http-upgrade"> | ||
<param name="sasl-authentication-factory" value="management-sasl-authentication"/> | ||
</feature> | ||
</feature> | ||
<exclude spec="subsystem.core-management"/> | ||
<feature-group name="os-management"/> | ||
|
||
<!-- messaging --> | ||
<feature spec="subsystem.messaging-activemq"/> | ||
<feature-group name="os-messaging"/> | ||
|
||
<!-- logging --> | ||
<exclude feature-id="subsystem.logging.pattern-formatter:pattern-formatter=PATTERN"/> | ||
<exclude feature-id="subsystem.logging.periodic-rotating-file-handler:periodic-rotating-file-handler=FILE"/> | ||
<feature-group name="os-logging"/> | ||
|
||
<!-- jberet We can't remove it... needs a default job repository --> | ||
<!--<feature spec="subsystem.batch-jberet"> | ||
<unset param="default-job-repository"/> | ||
</feature>--> | ||
|
||
<!-- datasources --> | ||
<!-- We are not keeping the ExampleDS in the config --> | ||
<exclude feature-id="subsystem.datasources.data-source:data-source=ExampleDS"/> | ||
<feature spec="subsystem.ee.service.default-bindings"> | ||
<unset param="datasource"/> | ||
</feature> | ||
|
||
<!-- ejb3 --> | ||
<feature spec="subsystem.ejb3"> | ||
<param name="default-sfsb-cache" value="distributable"/> | ||
<param name="default-sfsb-passivation-disabled-cache" value="simple"/> | ||
<param name="default-mdb-instance-pool" value="mdb-strict-max-pool"/> | ||
<param name="default-resource-adapter-name" value="${ejb.resource-adapter-name:activemq-ra.rar}"/> | ||
<!-- JDK 17, elytron security --> | ||
<feature spec="subsystem.ejb3.application-security-domain"> | ||
<param name="application-security-domain" value="other"/> | ||
<param name="security-domain" value="ApplicationDomain"/> | ||
</feature> | ||
</feature> | ||
<exclude spec="subsystem.ejb3.service.timer-service"/> | ||
|
||
<!-- elytron --> | ||
<feature-group name="os-elytron"/> | ||
|
||
<!-- clustering --> | ||
<exclude spec="subsystem.infinispan"/> | ||
<exclude spec="subsystem.distributable-web"/> | ||
<feature-group name="os-clustering"/> | ||
|
||
<!-- legacy security --> | ||
<!-- JDK 17 excluded fully --> | ||
<exclude feature-id="subsystem.security.security-domain:security-domain=jaspitest"/> | ||
<exclude feature-id="subsystem.security.security-domain:security-domain=other"/> | ||
<exclude feature-id="subsystem.security.security-domain:security-domain=jboss-web-policy"/> | ||
<exclude feature-id="subsystem.security.security-domain:security-domain=jboss-ejb-policy"/> | ||
<exclude spec="subsystem.security"/> | ||
<!-- transactions --> | ||
<feature-group name="tx-recovery"/> | ||
|
||
<!-- undertow --> | ||
<exclude feature-id="subsystem.undertow.server.https-listener:server=default-server,https-listener=https"/> | ||
|
||
<!-- web-services --> | ||
<feature spec="subsystem.webservices"> | ||
<param name="modify-wsdl-address" value="true"/> | ||
<param name="wsdl-host" value="jbossws.undefined.host"/> | ||
</feature> | ||
|
||
<feature-group name="os-socket"/> | ||
|
||
<feature-group name="os-undertow-elytron"/> | ||
|
||
</config> |
4 changes: 4 additions & 0 deletions
4
...lleon-pack/src/main/resources/layers/standalone/application-security-realm/layer-spec.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,4 @@ | ||
<?xml version="1.0" ?> | ||
<layer-spec xmlns="urn:jboss:galleon:layer-spec:1.0" name="application-security-realm"> | ||
<exclude feature-id="core-service.management.security-realm:security-realm=ApplicationRealm"/> | ||
</layer-spec> |
4 changes: 4 additions & 0 deletions
4
...alleon-pack/src/main/resources/layers/standalone/management-security-realm/layer-spec.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,4 @@ | ||
<?xml version="1.0" ?> | ||
<layer-spec xmlns="urn:jboss:galleon:layer-spec:1.0" name="management-security-realm"> | ||
<exclude feature-id="core-service.management.security-realm:security-realm=ManagementRealm"/> | ||
</layer-spec> |
17 changes: 17 additions & 0 deletions
17
jboss/container/eap/galleon/config/ee-elytron/configure.sh
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,17 @@ | ||
#!/bin/sh | ||
# Configure module | ||
set -e | ||
|
||
SCRIPT_DIR=$(dirname $0) | ||
ARTIFACTS_DIR=${SCRIPT_DIR}/artifacts | ||
|
||
chown -R jboss:root $SCRIPT_DIR | ||
chmod -R ug+rwX $SCRIPT_DIR | ||
|
||
pushd ${ARTIFACTS_DIR} | ||
cp -pr * / | ||
popd | ||
|
||
# Remove sso content for JDK17 tech preview image. To be removed when supported. | ||
rm "${GALLEON_FP_PATH}/src/main/resources/feature_groups/sso.xml" | ||
rm -r "${GALLEON_FP_PATH}/src/main/resources/layers/standalone/sso" |
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,11 @@ | ||
schema_version: 1 | ||
name: jboss.container.eap.galleon.config.ee | ||
version: '1.0-elytron' | ||
description: Install Galleon ee default configuration. | ||
|
||
execute: | ||
- script: configure.sh | ||
|
||
modules: | ||
install: | ||
- name: jboss.container.eap.galleon.config.ee.common |
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
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion
2
jboss/container/eap/launch/module.yaml → ...s/container/eap/launch/common/module.yaml
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
39 changes: 39 additions & 0 deletions
39
jboss/container/eap/launch/ee-no-sso/added/launch/launch-config.sh
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,39 @@ | ||
#!/bin/sh | ||
|
||
# Centralised configuration file to set variables that affect the launch scripts in wildfly-cekit-modules. | ||
|
||
# Scripts that modify the configuration. Either via xml marker replacement or via CLI commands. | ||
# wildfly-cekit-modules will look for each of the listed files and run them if they exist. | ||
CONFIG_SCRIPT_CANDIDATES=( | ||
$JBOSS_HOME/bin/launch/backward-compatibility.sh | ||
$JBOSS_HOME/bin/launch/configure_extensions.sh | ||
$JBOSS_HOME/bin/launch/passwd.sh | ||
$JBOSS_HOME/bin/launch/messaging.sh | ||
$JBOSS_HOME/bin/launch/datasource.sh | ||
$JBOSS_HOME/bin/launch/resource-adapter.sh | ||
$JBOSS_HOME/bin/launch/admin.sh | ||
# Keep this order, jgroups.sh before ha.sh. jgroups.sh is the script which initializes the protocol list store | ||
# used to share changes in the protocol list when a protocol is added either by ha.sh or by jgroups.sh. | ||
# This protocol store is just a set of files under temporal directory. We need them to be able to share changes | ||
# done by the ha.sh and jgroups.sh routines which are executed in subshells | ||
$JBOSS_HOME/bin/launch/jgroups.sh | ||
$JBOSS_HOME/bin/launch/ha.sh | ||
$JBOSS_HOME/bin/launch/https.sh | ||
$JBOSS_HOME/bin/launch/elytron.sh | ||
$JBOSS_HOME/bin/launch/json_logging.sh | ||
$JBOSS_HOME/bin/launch/configure_logger_category.sh | ||
$JBOSS_HOME/bin/launch/security-domains.sh | ||
$JBOSS_HOME/bin/launch/jboss_modules_system_pkgs.sh | ||
$JBOSS_HOME/bin/launch/deploymentScanner.sh | ||
$JBOSS_HOME/bin/launch/ports.sh | ||
$JBOSS_HOME/bin/launch/access_log_valve.sh | ||
$JBOSS_HOME/bin/launch/filters.sh | ||
$JBOSS_HOME/bin/launch/statefulset.sh | ||
/opt/run-java/proxy-options | ||
) | ||
# The server configuration file to use. If not set, wildfly-cekit-modules defaults to standalone.xml. | ||
# For EAP we want standalone-openshift.xml | ||
WILDFLY_SERVER_CONFIGURATION=standalone-openshift.xml | ||
# The configuration adjustment mode. For EAP we want both xml marker replacement and CLI commands. | ||
# Notice that the value of this variable must be aligned with the value configured in assemble | ||
export CONFIG_ADJUSTMENT_MODE="xml_cli" |
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,13 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
SCRIPT_DIR=$(dirname $0) | ||
ADDED_DIR=${SCRIPT_DIR}/added | ||
|
||
mkdir -p ${JBOSS_HOME}/bin/launch | ||
#Overwrite openshift-launch.sh | ||
|
||
cp -p ${ADDED_DIR}/launch/* ${JBOSS_HOME}/bin/launch | ||
|
||
#Ensure permissions | ||
chmod -R g+rwX ${JBOSS_HOME}/bin/launch/ |
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,11 @@ | ||
schema_version: 1 | ||
name: jboss.container.eap.launch | ||
version: '1.0-no-sso' | ||
description: Module that enables CLI configuration for standalone-openshift.xml file, no SSO script | ||
execute: | ||
- script: configure.sh | ||
user: '185' | ||
|
||
modules: | ||
install: | ||
- name: jboss.container.eap.launch.common |
File renamed without changes.
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,13 @@ | ||
#!/bin/sh | ||
set -e | ||
|
||
SCRIPT_DIR=$(dirname $0) | ||
ADDED_DIR=${SCRIPT_DIR}/added | ||
|
||
mkdir -p ${JBOSS_HOME}/bin/launch | ||
#Overwrite openshift-launch.sh | ||
|
||
cp -p ${ADDED_DIR}/launch/* ${JBOSS_HOME}/bin/launch | ||
|
||
#Ensure permissions | ||
chmod -R g+rwX ${JBOSS_HOME}/bin/launch/ |
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,11 @@ | ||
schema_version: 1 | ||
name: jboss.container.eap.launch | ||
version: '1.0' | ||
description: Module that enables CLI configuration for standalone-openshift.xml file | ||
execute: | ||
- script: configure.sh | ||
user: '185' | ||
|
||
modules: | ||
install: | ||
- name: jboss.container.eap.launch.common |
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
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
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
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
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
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
Oops, something went wrong.