From 757e8f2fdc6b8105cfb10518789f1c3f329cead2 Mon Sep 17 00:00:00 2001 From: iromli Date: Tue, 8 Nov 2022 22:53:48 +0700 Subject: [PATCH 1/2] chore(image): sync missing localized attributes for sql and spanner --- docker-jans-persistence-loader/Dockerfile | 2 +- docker-jans-persistence-loader/scripts/spanner_setup.py | 5 +++++ docker-jans-persistence-loader/scripts/sql_setup.py | 5 +++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/docker-jans-persistence-loader/Dockerfile b/docker-jans-persistence-loader/Dockerfile index db530233b36..b8f0b2c6125 100644 --- a/docker-jans-persistence-loader/Dockerfile +++ b/docker-jans-persistence-loader/Dockerfile @@ -24,7 +24,7 @@ RUN python3 -m ensurepip \ # ===================== # janssenproject/jans SHA commit -ENV JANS_SOURCE_VERSION=d1890e76c13c8c2c3dcdcc0625edd04cf552bbf9 +ENV JANS_SOURCE_VERSION=0cc7fc1508366a7c64f850cb1f8ef5eba5b72693 ARG JANS_SETUP_DIR=jans-linux-setup/jans_setup ARG JANS_SCRIPT_CATALOG_DIR=docs/script-catalog ARG JANS_CONFIG_API_DOCS=jans-config-api/docs diff --git a/docker-jans-persistence-loader/scripts/spanner_setup.py b/docker-jans-persistence-loader/scripts/spanner_setup.py index 91a13bef29c..ae676e669ef 100644 --- a/docker-jans-persistence-loader/scripts/spanner_setup.py +++ b/docker-jans-persistence-loader/scripts/spanner_setup.py @@ -364,6 +364,11 @@ def column_int_to_string(table_name, col_name): ("jansStatEntry", "jansData"), ("jansSessId", "deviceSecret"), ("jansSsa", "jansState"), + ("jansClnt", "jansClntURILocalized"), + ("jansClnt", "jansLogoURILocalized"), + ("jansClnt", "jansPolicyURILocalized"), + ("jansClnt", "jansTosURILocalized"), + ("jansClnt", "displayNameLocalized"), ]: add_column(mod[0], mod[1]) diff --git a/docker-jans-persistence-loader/scripts/sql_setup.py b/docker-jans-persistence-loader/scripts/sql_setup.py index a83e46bb2a5..9c8320f4b81 100644 --- a/docker-jans-persistence-loader/scripts/sql_setup.py +++ b/docker-jans-persistence-loader/scripts/sql_setup.py @@ -369,6 +369,11 @@ def column_from_json(table_name, col_name): ("jansStatEntry", "jansData"), ("jansSessId", "deviceSecret"), ("jansSsa", "jansState"), + ("jansClnt", "jansClntURILocalized"), + ("jansClnt", "jansLogoURILocalized"), + ("jansClnt", "jansPolicyURILocalized"), + ("jansClnt", "jansTosURILocalized"), + ("jansClnt", "displayNameLocalized"), ]: add_column(mod[0], mod[1]) From db9fdea210cfd17952e6b576ad0a7d9781e77166 Mon Sep 17 00:00:00 2001 From: iromli Date: Wed, 9 Nov 2022 00:53:38 +0700 Subject: [PATCH 2/2] chore(image): sync jans-schema.json template --- docker-jans-persistence-loader/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-jans-persistence-loader/Dockerfile b/docker-jans-persistence-loader/Dockerfile index b8f0b2c6125..33baf854aa4 100644 --- a/docker-jans-persistence-loader/Dockerfile +++ b/docker-jans-persistence-loader/Dockerfile @@ -24,7 +24,7 @@ RUN python3 -m ensurepip \ # ===================== # janssenproject/jans SHA commit -ENV JANS_SOURCE_VERSION=0cc7fc1508366a7c64f850cb1f8ef5eba5b72693 +ENV JANS_SOURCE_VERSION=eea281de11013b18f715b77a5c7cf69537c668cc ARG JANS_SETUP_DIR=jans-linux-setup/jans_setup ARG JANS_SCRIPT_CATALOG_DIR=docs/script-catalog ARG JANS_CONFIG_API_DOCS=jans-config-api/docs