From 8aa6385b121094fc61022e5af540ebab8f146043 Mon Sep 17 00:00:00 2001 From: KeVoSub <156054053+KeVoSub@users.noreply.github.com> Date: Mon, 26 Aug 2024 12:11:23 +0200 Subject: [PATCH] changed classpath of importer cron job (#117) --- charts/sophora-import-job/Chart.yaml | 4 ++-- charts/sophora-import-job/README.md | 6 ++++++ charts/sophora-import-job/scripts/run-importer.sh | 2 +- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/charts/sophora-import-job/Chart.yaml b/charts/sophora-import-job/Chart.yaml index 6b24c3a..83da5bd 100644 --- a/charts/sophora-import-job/Chart.yaml +++ b/charts/sophora-import-job/Chart.yaml @@ -15,9 +15,9 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 1.1.0 +version: 1.2.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to # follow Semantic Versioning. They should reflect the version the application is using. -appVersion: '4.4.1' +appVersion: '5.4.0' diff --git a/charts/sophora-import-job/README.md b/charts/sophora-import-job/README.md index 14de1eb..9535e82 100644 --- a/charts/sophora-import-job/README.md +++ b/charts/sophora-import-job/README.md @@ -67,3 +67,9 @@ transformation: In on-premise solutions it was easy to access the `failure` directory. In case of this k8s-Job we don't have access to any files after the job has finished. Therefore, the import-job has a feature that lets you upload the `failure` directory to a s3 bucket (see `importFailureFilesUpload` in `values.yaml`). + +## Notable Changes + +## 1.2.0 (Breaking Change) + +Supports Sophora Importer using Spring Boot 3 starting with version 5.4.0. Use version < 1.2.0 for previous versions with Spring Boot version 2.7. \ No newline at end of file diff --git a/charts/sophora-import-job/scripts/run-importer.sh b/charts/sophora-import-job/scripts/run-importer.sh index f57efe8..26794e7 100755 --- a/charts/sophora-import-job/scripts/run-importer.sh +++ b/charts/sophora-import-job/scripts/run-importer.sh @@ -6,7 +6,7 @@ count_files() { cd /sophora || exit echo "Starting importer." importerStart=$(date +%s%3N) -java -cp classpath org.springframework.boot.loader.PropertiesLauncher +java -cp classpath org.springframework.boot.loader.launch.PropertiesLauncher importerStop=$(date +%s%3N) echo "Importer stopped." importDurationMillis=$((importerStop-importerStart))