Skip to content

Commit cae6be8

Browse files
committed
[CLOUD-3520] configure every transaction migration cycle with properties files and driver scripts
1 parent 0e8d7ff commit cae6be8

File tree

1 file changed

+8
-1
lines changed
  • jboss/container/wildfly/launch-config/config/added/launch

1 file changed

+8
-1
lines changed

jboss/container/wildfly/launch-config/config/added/launch/launch.sh

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ function configure_server() {
3232

3333
# Configure the server using CLI + embedded server.
3434
function configure_server_with_cli() {
35+
# prepare the cli properties files
36+
createConfigExecutionContext
37+
# cli for drivers are needed to be added to script file as well
38+
if [ -s "${S2I_CLI_DRIVERS_FILE}" ] && [ "${CONFIG_ADJUSTMENT_MODE,,}" != "cli" ]; then
39+
cat "${S2I_CLI_DRIVERS_FILE}" > "${CLI_SCRIPT_FILE}"
40+
fi
41+
3542
configure_scripts
3643
configure_embedded_cli_script
3744
}
@@ -323,4 +330,4 @@ function reload_server() {
323330
return 0
324331
}
325332

326-
# End CLI execution during boot
333+
# End CLI execution during boot

0 commit comments

Comments
 (0)