Skip to content

Commit

Permalink
changed classpath of importer cron job (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
KeVoSub committed Aug 26, 2024
1 parent 28f1cbd commit 8aa6385
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions charts/sophora-import-job/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
6 changes: 6 additions & 0 deletions charts/sophora-import-job/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
2 changes: 1 addition & 1 deletion charts/sophora-import-job/scripts/run-importer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 8aa6385

Please sign in to comment.