From a5aced95f4b87b1b6855169e3d23bf281a4c446d Mon Sep 17 00:00:00 2001 From: Michael Folz Date: Tue, 10 Dec 2024 14:42:21 +0100 Subject: [PATCH] #412 - Switch - Ontology - get from assets - change download url for ontology files accordingly --- .github/scripts/download-and-unpack-ontology.sh | 2 +- .github/workflows/ci.yml | 4 ++-- docker-compose.yml | 6 +++--- pom.xml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/scripts/download-and-unpack-ontology.sh b/.github/scripts/download-and-unpack-ontology.sh index 3770c794..f7e89724 100755 --- a/.github/scripts/download-and-unpack-ontology.sh +++ b/.github/scripts/download-and-unpack-ontology.sh @@ -1,7 +1,7 @@ #!/bin/bash -e mkdir --parents .github/integration-test/ontology/ui_profiles .github/integration-test/ontology/migration -curl -L https://github.com/medizininformatik-initiative/fhir-ontology-generator/raw/${ONTOLOGY_GIT_TAG}/example/fdpg-ontology/backend.zip -o .github/integration-test/ontology/backend.zip +curl -L https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download/${ONTOLOGY_GIT_TAG}/backend.zip -o .github/integration-test/ontology/backend.zip unzip -jod .github/integration-test/ontology/ui_profiles/ .github/integration-test/ontology/backend.zip mv .github/integration-test/ontology/ui_profiles/R__Load_latest_ui_profile.sql .github/integration-test/ontology/migration/ rm .github/integration-test/ontology/backend.zip diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 178c8fe5..a8f8d7bd 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -148,9 +148,9 @@ jobs: needs: tests runs-on: ubuntu-latest env: - ONTOLOGY_GIT_TAG: v3.0.0-test.11 + ONTOLOGY_GIT_TAG: v3.0.1 ELASTIC_HOST: http://localhost:9200 - ELASTIC_FILEPATH: https://github.com/medizininformatik-initiative/fhir-ontology-generator/raw/TAGPLACEHOLDER/example/fdpg-ontology/ + ELASTIC_FILEPATH: https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download/TAGPLACEHOLDER/ ELASTIC_FILENAME: elastic.zip OVERRIDE_EXISTING: true diff --git a/docker-compose.yml b/docker-compose.yml index 04e1205f..f1dfb3f7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -139,9 +139,9 @@ services: environment: ES_HOST: http://dataportal-elastic ES_PORT: 9200 - ONTO_GIT_TAG: v3.0.0 - ONTO_REPO: https://github.com/medizininformatik-initiative/fhir-ontology-generator/raw/ - ONTO_RELATIVE_PATH: /example/fdpg-ontology/ + ONTO_GIT_TAG: v3.0.1 + ONTO_REPO: https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download/ + ONTO_RELATIVE_PATH: / DOWNLOAD_FILENAME: elastic.zip EXIT_ON_EXISTING_INDICES: false FORCE_INDEX_CREATION: true diff --git a/pom.xml b/pom.xml index c35542b3..cc717620 100644 --- a/pom.xml +++ b/pom.xml @@ -423,7 +423,7 @@ download-single - https://github.com/medizininformatik-initiative/fhir-ontology-generator/raw/${ontology-tag}/example/fdpg-ontology + https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download/${ontology-tag}/ backend.zip ${ontoDirectory.download} @@ -435,7 +435,7 @@ download-single - https://github.com/medizininformatik-initiative/fhir-ontology-generator/raw/${ontology-tag}/example/fdpg-ontology + https://github.com/medizininformatik-initiative/fhir-ontology-generator/releases/download/${ontology-tag}/ mapping.zip ${ontoDirectory.download}