From dccfbb79dea54d98c90c556998b78b3c89a8c650 Mon Sep 17 00:00:00 2001 From: iromli Date: Wed, 26 Jun 2024 17:16:48 +0700 Subject: [PATCH] feat(cloud-native): disable timezone for pgsql Signed-off-by: iromli --- docker-jans-auth-server/Dockerfile | 2 +- docker-jans-auth-server/templates/jans-pgsql.properties | 3 +++ docker-jans-casa/Dockerfile | 2 +- docker-jans-casa/templates/jans-pgsql.properties | 3 +++ docker-jans-config-api/Dockerfile | 2 +- docker-jans-config-api/templates/jans-pgsql.properties | 3 +++ docker-jans-fido2/Dockerfile | 2 +- docker-jans-fido2/templates/jans-pgsql.properties | 3 +++ docker-jans-keycloak-link/Dockerfile | 2 +- docker-jans-keycloak-link/templates/jans-pgsql.properties | 3 +++ docker-jans-link/Dockerfile | 2 +- docker-jans-link/templates/jans-pgsql.properties | 3 +++ docker-jans-scim/Dockerfile | 2 +- docker-jans-scim/templates/jans-pgsql.properties | 3 +++ 14 files changed, 28 insertions(+), 7 deletions(-) diff --git a/docker-jans-auth-server/Dockerfile b/docker-jans-auth-server/Dockerfile index f46b34f03c3..229530cb731 100644 --- a/docker-jans-auth-server/Dockerfile +++ b/docker-jans-auth-server/Dockerfile @@ -51,7 +51,7 @@ RUN /opt/jython/bin/pip uninstall -y pip setuptools # =========== ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-07 15:39' +ENV CN_BUILD_DATE='2024-06-25 12:28' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-auth-server/${CN_VERSION}/jans-auth-server-${CN_VERSION}.war diff --git a/docker-jans-auth-server/templates/jans-pgsql.properties b/docker-jans-auth-server/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-auth-server/templates/jans-pgsql.properties +++ b/docker-jans-auth-server/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true diff --git a/docker-jans-casa/Dockerfile b/docker-jans-casa/Dockerfile index 48558687dfe..e069f88e244 100644 --- a/docker-jans-casa/Dockerfile +++ b/docker-jans-casa/Dockerfile @@ -30,7 +30,7 @@ RUN wget -q https://repo1.maven.org/maven2/org/eclipse/jetty/jetty-home/${JETTY_ # ==== ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-07 16:01' +ENV CN_BUILD_DATE='2024-06-25 09:04' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/casa/${CN_VERSION}/casa-${CN_VERSION}.war diff --git a/docker-jans-casa/templates/jans-pgsql.properties b/docker-jans-casa/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-casa/templates/jans-pgsql.properties +++ b/docker-jans-casa/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true diff --git a/docker-jans-config-api/Dockerfile b/docker-jans-config-api/Dockerfile index db0daeb79df..03faac3b783 100644 --- a/docker-jans-config-api/Dockerfile +++ b/docker-jans-config-api/Dockerfile @@ -41,7 +41,7 @@ RUN wget -q https://maven.jans.io/maven/io/jans/jython-installer/${JYTHON_VERSIO # ========== ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-24 12:02' +ENV CN_BUILD_DATE='2024-06-25 12:43' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-config-api-server/${CN_VERSION}/jans-config-api-server-${CN_VERSION}.war diff --git a/docker-jans-config-api/templates/jans-pgsql.properties b/docker-jans-config-api/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-config-api/templates/jans-pgsql.properties +++ b/docker-jans-config-api/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true diff --git a/docker-jans-fido2/Dockerfile b/docker-jans-fido2/Dockerfile index 5219a80da93..15ee053e858 100644 --- a/docker-jans-fido2/Dockerfile +++ b/docker-jans-fido2/Dockerfile @@ -42,7 +42,7 @@ RUN wget -q https://maven.jans.io/maven/io/jans/jython-installer/${JYTHON_VERSIO ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-07 15:45' +ENV CN_BUILD_DATE='2024-06-25 12:53' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-fido2-server/${CN_VERSION}/jans-fido2-server-${CN_VERSION}.war diff --git a/docker-jans-fido2/templates/jans-pgsql.properties b/docker-jans-fido2/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-fido2/templates/jans-pgsql.properties +++ b/docker-jans-fido2/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true diff --git a/docker-jans-keycloak-link/Dockerfile b/docker-jans-keycloak-link/Dockerfile index 9a74d431051..e5201dc8f61 100644 --- a/docker-jans-keycloak-link/Dockerfile +++ b/docker-jans-keycloak-link/Dockerfile @@ -42,7 +42,7 @@ RUN wget -q https://maven.jans.io/maven/io/jans/jython-installer/${JYTHON_VERSIO ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-07 15:51' +ENV CN_BUILD_DATE='2024-06-25 08:52' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-keycloak-link-server/${CN_VERSION}/jans-keycloak-link-server-${CN_VERSION}.war diff --git a/docker-jans-keycloak-link/templates/jans-pgsql.properties b/docker-jans-keycloak-link/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-keycloak-link/templates/jans-pgsql.properties +++ b/docker-jans-keycloak-link/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true diff --git a/docker-jans-link/Dockerfile b/docker-jans-link/Dockerfile index f1f2a4188b6..69095c31ea7 100644 --- a/docker-jans-link/Dockerfile +++ b/docker-jans-link/Dockerfile @@ -42,7 +42,7 @@ RUN wget -q https://maven.jans.io/maven/io/jans/jython-installer/${JYTHON_VERSIO ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-07 15:42' +ENV CN_BUILD_DATE='2024-06-25 08:41' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-link-server/${CN_VERSION}/jans-link-server-${CN_VERSION}.war diff --git a/docker-jans-link/templates/jans-pgsql.properties b/docker-jans-link/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-link/templates/jans-pgsql.properties +++ b/docker-jans-link/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true diff --git a/docker-jans-scim/Dockerfile b/docker-jans-scim/Dockerfile index 8714a6dc92a..52c0632be55 100644 --- a/docker-jans-scim/Dockerfile +++ b/docker-jans-scim/Dockerfile @@ -41,7 +41,7 @@ RUN wget -q https://maven.jans.io/maven/io/jans/jython-installer/${JYTHON_VERSIO # ==== ENV CN_VERSION=1.1.3-SNAPSHOT -ENV CN_BUILD_DATE='2024-06-24 11:57' +ENV CN_BUILD_DATE='2024-06-25 12:38' ENV CN_SOURCE_URL=https://jenkins.jans.io/maven/io/jans/jans-scim-server/${CN_VERSION}/jans-scim-server-${CN_VERSION}.war diff --git a/docker-jans-scim/templates/jans-pgsql.properties b/docker-jans-scim/templates/jans-pgsql.properties index 577cabb7149..ac8d7b064a5 100644 --- a/docker-jans-scim/templates/jans-pgsql.properties +++ b/docker-jans-scim/templates/jans-pgsql.properties @@ -27,3 +27,6 @@ connection.pool.min-evictable-idle-time-millis=1800000 binaryAttributes=objectGUID certificateAttributes=userCertificate + +# disable time zone +db.disable.time-zone=true