Skip to content

Commit

Permalink
fix(docker-jans-persistence-loader): data type too small for jansDevi…
Browse files Browse the repository at this point in the history
…ce data (#5951)
  • Loading branch information
iromli authored Sep 5, 2023
1 parent 1197089 commit 06a8bcd
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion docker-jans-persistence-loader/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ RUN python3 -m ensurepip \
# =====================

# janssenproject/jans SHA commit
ENV JANS_SOURCE_VERSION=38653c9cb9eb992213c5f230a5f36ce1187d0197
ENV JANS_SOURCE_VERSION=39ffb3a35b397d8cac1a7472908a6aa6d17e1a33
ARG JANS_SETUP_DIR=jans-linux-setup/jans_setup
ARG JANS_SCRIPT_CATALOG_DIR=docs/script-catalog
ARG JANS_CONFIG_API_RESOURCES=jans-config-api/server/src/main/resources
Expand Down
4 changes: 4 additions & 0 deletions docker-jans-persistence-loader/scripts/spanner_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,10 @@ def column_int_to_string(table_name, col_name):
("jansFido2AuthnEntry", "jansApp"),
("jansFido2RegistrationEntry", "jansApp"),
("adsPrjDeployment", "adsPrjDeplDetails"),
("jansFido2RegistrationEntry", "jansDeviceData"),
("jansDeviceRegistration", "jansDeviceData"),
("jansFido2RegistrationEntry", "jansDeviceNotificationConf"),
("jansDeviceRegistration", "jansDeviceNotificationConf"),
]:
change_column_type(mod[0], mod[1])

Expand Down
4 changes: 4 additions & 0 deletions docker-jans-persistence-loader/scripts/sql_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,10 @@ def column_from_json(table_name, col_name):
("jansFido2AuthnEntry", "jansApp"),
("jansFido2RegistrationEntry", "jansApp"),
("adsPrjDeployment", "adsPrjDeplDetails"),
("jansFido2RegistrationEntry", "jansDeviceData"),
("jansDeviceRegistration", "jansDeviceData"),
("jansFido2RegistrationEntry", "jansDeviceNotificationConf"),
("jansDeviceRegistration", "jansDeviceNotificationConf"),
]:
change_column_type(mod[0], mod[1])

Expand Down

0 comments on commit 06a8bcd

Please sign in to comment.