Code development platform for open source projects from the European Union institutions

Skip to content
Snippets Groups Projects
Commit 7a411561 authored by Joze RIHTARSIC's avatar Joze RIHTARSIC
Browse files

Pull request #149: [EDELIVERY-13818] fix locale configuration for docker to be...

Pull request #149: [EDELIVERY-13818] fix locale configuration for docker to be inside smo folder for dockers

Merge in EDELIVERY/smp from bugfix/EDELIVERY-13818-fix-locale-folder-dockers to development

* commit '3b2f11fb':
  [EDELIVERY-13818] fix locale configuration for docker to be inside smo folder for dockers
parents 440598ac 3b2f11fb
No related branches found
No related tags found
No related merge requests found
Pipeline #209183 failed
......@@ -108,6 +108,7 @@ init_smp() {
# set smp data/security folder
mkdir -p "${SMP_HOME}/smp/"
mkdir -p "${SMP_HOME}/smp-libs"
mkdir -p ${DATA_DIR}/smp/locales
# copy smp keystore with sml authorized sml certificates
cp /tmp/artefacts/shared-artefacts/smp-logback.xml "${SMP_HOME}/logback.xml"
cp "/tmp/artefacts/shared-artefacts/smp-keystore-docker-demo.p12" "${SMP_HOME}/smp/smp-keystore-docker-demo.p12"
......@@ -127,7 +128,7 @@ init_smp_properties() {
echo "# SMP init parameters"
echo "smp.security.folder=${SMP_HOME}/smp/"
echo "smp.libraries.folder=${SMP_HOME}/smp-libs"
echo "smp.locale.folder=${SMP_HOME}/locales"
echo "smp.locale.folder=${SMP_HOME}/smp/locales"
echo "smp.automation.authentication.external.tls.clientCert.enabled=true"
echo "bdmsl.integration.enabled=false"
echo "bdmsl.participant.multidomain.enabled=false"
......
......@@ -85,7 +85,7 @@ init_tomcat() {
rm -rf ${TOMCAT_HOME}/classes
ln -sf ${TOMCAT_DIR}/classes ${TOMCAT_HOME}/
# set smp data/security folder
mkdir ${DATA_DIR}/smp/
mkdir -p ${DATA_DIR}/smp/locales
# sleep a little to avoid mv issues
sleep 5s
......@@ -243,7 +243,7 @@ init_smp_properties() {
echo "# SMP init parameters"
echo "smp.security.folder=${DATA_DIR}/smp/"
echo "smp.libraries.folder=$SMP_HOME/apache-tomcat-$TOMCAT_VERSION/smp-libs"
echo "smp.locale.folder=$SMP_HOME/apache-tomcat-$TOMCAT_VERSION/locales"
echo "smp.locale.folder=$SMP_HOME/apache-tomcat-$TOMCAT_VERSION/smp/locales"
echo "bdmsl.integration.logical.address=${SMP_LOGICAL_ADDRESS:-http://localhost:8080/smp/}"
echo "smp.automation.authentication.external.tls.clientCert.enabled=true"
echo "bdmsl.integration.enabled=true"
......
smp.security.folder=/data/smp/security
smp.locale.folder=/data/smp/locales
smp.jdbc.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
smp.datasource.jndi=jdbc/eDeliverySmpDs
smp.automation.authentication.external.tls.clientCert.enabled=true
......
smp.security.folder=/data/smp/security
smp.locale.folder=/data/smp/locales
smp.jdbc.hibernate.dialect=org.hibernate.dialect.Oracle10gDialect
smp.datasource.jndi=jdbc/eDeliverySmpDs
smp.automation.authentication.external.tls.clientCert.enabled=true
......
......@@ -93,7 +93,7 @@
"session.expiration.dialog.button.logout": "Logout",
"session.expiration.dialog.title": "Extend session",
"session.expiration.dialog.label.session.about.to.expire": "Your session is about to expire in <b>{{timeLeft}}</b> seconds!<br />Would you like to logout now or extend it<br /> for another <b>{{timeoutMinutes}}</b> minute(s) and <b>{{timeoutSeconds}}</b> second(s)?",
"session.alert.message.logout.expired": "Your session has expired, and you have been logged out",
"session.alert.message.logout.expired": "Your session has expired, and you have been logged out.",
"alert.panel.title": "Alerts",
"alert.panel.user.title": "{{value}} (Email: '{{mailTo}}')",
"certificate.panel.title": "Selected certificate data",
......
......@@ -62,8 +62,11 @@ smp.jdbc.password=secret123
# Extension folder
# *********************************
# path where SMP extensions are located. The Folder is loaded by the SMP classloader at startup.
# smp.libraries.folder=/cef/test/smp/apache-tomcat-8.5.73/smp/ext-lib
# smp.libraries.folder=/data/smp/ext-lib
# *********************************
# Locale folder
# *********************************
# The locale folder contains the translations for the SMP web application.
# smp.libraries.folder=/data/smp/locales
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment