From 717fe6dc3c15921afcce2bfeec93f6c1de6a743c Mon Sep 17 00:00:00 2001 From: "stefan.spiska" Date: Tue, 14 May 2024 13:02:08 +0200 Subject: [PATCH 01/13] update version --- application/pom.xml | 2 +- bom/pom.xml | 2 +- pom.xml | 4 ++-- service/pom.xml | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/application/pom.xml b/application/pom.xml index fb7b766..15d9c51 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -11,7 +11,7 @@ org.ehrbase.migration migration-application - 1.1.0 + 1.2.0-SNAPSHOT jar EHRbase Migration Tool Application diff --git a/bom/pom.xml b/bom/pom.xml index 5e2e533..002e452 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -4,7 +4,7 @@ org.ehrbase.migration migration-bom - 1.1.0 + 1.2.0-SNAPSHOT pom EHRbase Migration Tool BOM diff --git a/pom.xml b/pom.xml index 82b03f9..5e0e29a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ org.ehrbase.migration migration-bom - 1.1.0 + 1.2.0-SNAPSHOT bom/pom.xml migration-tool - 1.1.0 + 1.2.0-SNAPSHOT pom EHRbase Migration Tool diff --git a/service/pom.xml b/service/pom.xml index bc3809c..231608e 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -11,7 +11,7 @@ org.ehrbase.migration migration-service - 1.1.0 + 1.2.0-SNAPSHOT jar EHRbase Migration Tool Service From 477299af44aa1250f28be5ab15863bd3b24b386d Mon Sep 17 00:00:00 2001 From: Alexander Lehnert Date: Thu, 30 May 2024 08:13:06 +0200 Subject: [PATCH 02/13] CDR-1442 Fix build and push to skip dependabot docker login --- .github/workflows/build-and-push.yml | 21 ++++++++------------- 1 file changed, 8 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 065037b..f6e35a0 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -13,10 +13,6 @@ on: jobs: build: runs-on: ubuntu-latest - strategy: - matrix: - java: [ '21' ] - steps: - name: Checkout @@ -24,29 +20,28 @@ jobs: with: fetch-depth: 0 - - name: Login to GitLab + - name: Docker - Login uses: docker/login-action@v3 + if: ${{ github.actor != 'dependabot[bot]' }} with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} - - name: Setup Java + - name: Setup - Java uses: actions/setup-java@v4 with: distribution: 'temurin' - java-version: ${{ matrix.java }} + java-version: '21' cache: 'maven' + - name: Build + run: mvn clean verify spring-boot:build-image + - name: Spotless run: mvn spotless:check - - name: Build with Maven - run: mvn clean verify spring-boot:build-image - - - name: Build and push + - name: Docker - Push if: ${{ github.ref == 'refs/heads/main' }} run: | VERSION=$(mvn help:evaluate -Dexpression="project.version" -q -DforceStdout) - echo ${VERSION} docker push ehrbase/migration-tool:${VERSION} - From 7747145ad6348b709a8c0776d1bf41c7a992d993 Mon Sep 17 00:00:00 2001 From: Alexander Lehnert Date: Thu, 30 May 2024 08:14:03 +0200 Subject: [PATCH 03/13] CDR-1442 Ensure IT tests are running only once --- application/pom.xml | 55 ++++++++++------- ...onToolTestIT.java => MigrationToolIT.java} | 8 +-- bom/pom.xml | 1 + pom.xml | 22 +------ service/pom.xml | 60 ++++++++++++------- 5 files changed, 80 insertions(+), 66 deletions(-) rename application/src/test/java/org/ehrbase/migration/application/{MigrationToolTestIT.java => MigrationToolIT.java} (98%) diff --git a/application/pom.xml b/application/pom.xml index 164e81d..53914c7 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -16,11 +16,14 @@ EHRbase Migration Tool Application - ehrbase/migration-tool - ${project.version} 21 21 21 + + false + + ehrbase/migration-tool + ${project.version} @@ -35,14 +38,16 @@ - + org.ehrbase.migration migration-service ${project.version} + + org.springframework.boot spring-boot-starter-test @@ -55,6 +60,10 @@ org.wiremock wiremock + + org.mock-server + mockserver-junit-jupiter + io.jsonwebtoken jjwt-impl @@ -63,14 +72,11 @@ io.jsonwebtoken jjwt-jackson - - org.mock-server - mockserver-junit-jupiter - com.nimbusds nimbus-jose-jwt + @@ -85,6 +91,18 @@ + + org.apache.maven.plugins + maven-jar-plugin + 3.3.0 + + + + test-jar + + + + com.diffplug.spotless spotless-maven-plugin @@ -132,6 +150,7 @@ false + org.jacoco jacoco-maven-plugin @@ -172,12 +191,21 @@ test + + ${skipTests} + + **/*Test.java + + org.apache.maven.plugins maven-failsafe-plugin + + ${skipTests} + integration-test @@ -196,19 +224,6 @@ - - - org.apache.maven.plugins - maven-jar-plugin - 3.3.0 - - - - test-jar - - - - diff --git a/application/src/test/java/org/ehrbase/migration/application/MigrationToolTestIT.java b/application/src/test/java/org/ehrbase/migration/application/MigrationToolIT.java similarity index 98% rename from application/src/test/java/org/ehrbase/migration/application/MigrationToolTestIT.java rename to application/src/test/java/org/ehrbase/migration/application/MigrationToolIT.java index dc8bde3..99796a4 100644 --- a/application/src/test/java/org/ehrbase/migration/application/MigrationToolTestIT.java +++ b/application/src/test/java/org/ehrbase/migration/application/MigrationToolIT.java @@ -83,8 +83,8 @@ @SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.NONE) @Testcontainers -@ContextConfiguration(initializers = MigrationToolTestIT.Initializer.class) -class MigrationToolTestIT { +@ContextConfiguration(initializers = MigrationToolIT.Initializer.class) +class MigrationToolIT { protected static GenericContainer postgresOld; @@ -244,7 +244,7 @@ private static void assertEhrMigration(DefaultRestClient restClientNew, EhrExamp } @NotNull - private MigrationToolTestIT.EhrExampleData createExampleEhr( + private MigrationToolIT.EhrExampleData createExampleEhr( String exampleCompositionName, DefaultRestClient restClient1, String committer1Subject, @@ -356,7 +356,7 @@ private static void assertRevisionHistory( .extracting( r -> r.getVersionId().getVersionTreeId().getValue(), r -> r.getAudits().getFirst().getChangeType().getValue(), - MigrationToolTestIT::getAuditCommitterUuid, + MigrationToolIT::getAuditCommitterUuid, r -> ((PartyIdentified) r.getAudits().getFirst().getCommitter()).getName()) .containsExactly(expectedAudits); } diff --git a/bom/pom.xml b/bom/pom.xml index 002e452..a480567 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -87,6 +87,7 @@ 2.11.5 + org.springframework.boot spring-boot-starter-test diff --git a/pom.xml b/pom.xml index 5e0e29a..4d0a3c3 100644 --- a/pom.xml +++ b/pom.xml @@ -19,6 +19,7 @@ service application + @@ -32,27 +33,6 @@ - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - docker - - build-image-no-fork - - verify - - - - true - - diff --git a/service/pom.xml b/service/pom.xml index 231608e..f21d7f6 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -16,7 +16,11 @@ EHRbase Migration Tool Service + 21 + 21 21 + + false @@ -32,6 +36,8 @@ + + org.springframework.boot spring-boot-starter @@ -87,6 +93,7 @@ zip4j + org.springframework.boot spring-boot-starter-test @@ -123,6 +130,28 @@ + + org.springframework.boot + spring-boot-maven-plugin + + + + repackage + + + + docker + + build-image-no-fork + + verify + + + + true + + + org.jacoco jacoco-maven-plugin @@ -163,12 +192,21 @@ test + + ${skipTests} + + **/*Test.java + + org.apache.maven.plugins maven-failsafe-plugin + + ${skipTests} + integration-test @@ -187,27 +225,7 @@ - - org.springframework.boot - spring-boot-maven-plugin - - - - repackage - - - - docker - - build-image-no-fork - - verify - - - - true - - + From b78445a50ab190f089851ac167a4d462528e01a5 Mon Sep 17 00:00:00 2001 From: Alexander Lehnert Date: Thu, 30 May 2024 08:15:46 +0200 Subject: [PATCH 04/13] CDR-1442 Use spring annotations instead of javax ones --- .../org/ehrbase/migration/importer/v4/FlywayService.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/service/src/main/java/org/ehrbase/migration/importer/v4/FlywayService.java b/service/src/main/java/org/ehrbase/migration/importer/v4/FlywayService.java index 8c65a95..aaee518 100644 --- a/service/src/main/java/org/ehrbase/migration/importer/v4/FlywayService.java +++ b/service/src/main/java/org/ehrbase/migration/importer/v4/FlywayService.java @@ -19,8 +19,6 @@ import java.util.Map; import java.util.Optional; -import javax.annotation.Nonnull; -import javax.annotation.Nullable; import javax.sql.DataSource; import org.apache.commons.lang3.StringUtils; import org.flywaydb.core.Flyway; @@ -30,6 +28,8 @@ import org.springframework.beans.factory.annotation.Value; import org.springframework.jdbc.core.namedparam.MapSqlParameterSource; import org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate; +import org.springframework.lang.NonNull; +import org.springframework.lang.Nullable; import org.springframework.stereotype.Service; @Service @@ -61,8 +61,8 @@ public void migrateEhrSchema(String schema) { } public void migrateSchema( - @Nonnull String schema, - @Nonnull String location, + @NonNull String schema, + @NonNull String location, @Nullable String baseline, @Nullable String schemaPlaceholder) { FluentConfiguration config = From b33f172e81c396ff2d1cc41e5e742bd5e3b1186d Mon Sep 17 00:00:00 2001 From: Alexander Lehnert Date: Thu, 30 May 2024 08:23:34 +0200 Subject: [PATCH 05/13] CDR-1442 Explain export/import a little bit more in readme --- README.md | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 9aed333..759ca26 100644 --- a/README.md +++ b/README.md @@ -19,7 +19,9 @@ The target database needs to be prepared according to the instructions in the [E ## Performing the migration -The migration can be run directly from the source code, or the provided docker image. +The migration can be run directly from the source code, or the provided docker image. As a naming convention an `export` +datasource represents an EHRbase 0.x.x database where an `import` datasource represents an EHRbase 2 database. + The properties must be adjusted according to the set-up: ### Spring boot @@ -28,10 +30,10 @@ mvn package java -jar application/target/migration-tool.jar \ -Dmode=DB2DB \ --Dspring.datasource.import.url=jdbc:postgresql://localhost:5432/ehrbase_import \ +-Dspring.datasource.import.url=jdbc:postgresql://localhost:5432/ehrbase_new \ -Dspring.datasource.import.username=ehrbase \ -Dspring.datasource.import.password=ehrbase \ --Dspring.datasource.export.url=jdbc:postgresql://localhost:5432/ehrbase_export \ +-Dspring.datasource.export.url=jdbc:postgresql://localhost:5432/ehrbase_old \ -Dspring.datasource.export.username=ehrbase \ -Dspring.datasource.export.password=ehrbase \ -Dimport.ehrbase-db-user=ehrbase_restricted @@ -43,10 +45,10 @@ mvn verify docker run ehrbase/migration-tool:1.1.0 \ -e mode=DB2DB \ --e spring.datasource.import.url=jdbc:postgresql://localhost:5432/ehrbase_import \ +-e spring.datasource.import.url=jdbc:postgresql://localhost:5432/ehrbase_new \ -e spring.datasource.import.username=ehrbase \ -e spring.datasource.import.password=ehrbase \ --e spring.datasource.export.url=jdbc:postgresql://localhost:5432/ehrbase_export \ +-e spring.datasource.export.url=jdbc:postgresql://localhost:5432/ehrbase_old \ -e spring.datasource.export.username=ehrbase \ -e spring.datasource.export.password=ehrbase \ -e import.ehrbase-db-user=ehrbase_restricted From 1af0112f830a16dc5fe21dababafac92039d5d2f Mon Sep 17 00:00:00 2001 From: Alexander Lehnert Date: Thu, 30 May 2024 08:33:24 +0200 Subject: [PATCH 06/13] CDR-1442 Use batch-mode and update snapshot during build --- .github/workflows/build-and-push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index f6e35a0..0f6276d 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -35,7 +35,7 @@ jobs: cache: 'maven' - name: Build - run: mvn clean verify spring-boot:build-image + run: mvn --batch-mode --update-snapshots clean verify spring-boot:build-image - name: Spotless run: mvn spotless:check From fa32cdce6bce49cd9335ab9e76a377e2ee8e0f52 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Fri, 31 May 2024 14:42:31 +0000 Subject: [PATCH 07/13] Bump ehrbase.sdk.version from 2.9.1 to 2.11.0 Bumps `ehrbase.sdk.version` from 2.9.1 to 2.11.0. Updates `org.ehrbase.openehr.sdk:validation` from 2.9.1 to 2.11.0 Updates `org.ehrbase.openehr.sdk:client` from 2.9.1 to 2.11.0 --- updated-dependencies: - dependency-name: org.ehrbase.openehr.sdk:validation dependency-type: direct:production update-type: version-update:semver-minor - dependency-name: org.ehrbase.openehr.sdk:client dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- bom/pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bom/pom.xml b/bom/pom.xml index a480567..f90661e 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -14,7 +14,7 @@ 21 21 2.0.0 - 2.9.1 + 2.11.0 3.2.5 From 932a455ccdad0df6f36496ead15ca713190eacf5 Mon Sep 17 00:00:00 2001 From: Alex Vidrean Date: Mon, 10 Jun 2024 13:59:36 +0300 Subject: [PATCH 08/13] New CHANGELOG file and Release GitHub action --- .github/workflows/release.yml | 113 ++++++++++++++++++++++++++++++++++ CHANGELOG.md | 15 +++++ 2 files changed, 128 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 CHANGELOG.md diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..5ee10ec --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,113 @@ +# Create a Release +name: "Release" + +on: + workflow_dispatch: + inputs: + version: + description: "optional: version to release" + required: false + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 + # This will be used by git in all further steps + # We need a PERSONAL ACCESS TOKEN so pushes trigger other GitHub actions + token: ${{ secrets.BOT_ACCESS_TOKEN }} + + - name: Calculate realise version + run: | + if [ -z "${{ github.event.inputs.version }}" ] + then + v=$(grep -oPm1 "(?<=)[^<]+" "pom.xml" | sed 's/-SNAPSHOT//') + echo ${{ github.repository }} + else + v=${{ github.event.inputs.version }} + fi + echo "realise version ${v}" + # Set as Environment for all further steps + echo "VERSION=${v}" >> $GITHUB_ENV + + - name: Create Release Branch + run: | + # Config git + git config --global user.email "bot@ehrbase.org" + git config --global user.name "bot" + # create branch + git checkout -b release/v${VERSION} + # Update version + mvn versions:set -DnewVersion=${VERSION} -DprocessAllModules=true + #edit changelog + replace="s/\[unreleased\]/\[${VERSION}\]/" + sed -i ${replace} CHANGELOG.md + replace="s/...HEAD/\...v${VERSION}/" + sed -i ${replace} CHANGELOG.md + # commit & push + git add -A + git commit -m "release ${VERSION}: updated version to ${VERSION}" + git push -u origin release/v${VERSION} + # wait for status of commit to change from pending + - name: Wait for ci pipeline + run: | + STATUS="pending" + # Get commit last commit of release branch + COMMIT=$(git rev-parse HEAD) + echo "Listen for commit $COMMIT" + WAITED="0" + # Time between calls + SLEEP_TIME="60" + while [ "$STATUS" == "pending" ] && [ "$WAITED" -le 1800 ] + do + sleep ${SLEEP_TIME} + WAITED=$((WAITED+SLEEP_TIME)) + STATUS=$(gh api /repos/${{ github.repository }}/commits/"${COMMIT}"/status -q .state) + echo "status : $STATUS" + echo "waited $WAITED s" + done + echo "status : $STATUS" + if [ "$STATUS" != "success" ] + then exit 1 + fi + env: + GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} + + - name: Merge into Main + run: | + git checkout master + git pull + git merge --no-ff release/v${VERSION} + git tag -a -m "v${VERSION}" "v${VERSION}" + git push --follow-tags + + - name: Create Release + run: | + gh release create "v${VERSION}" -t "v${VERSION}" -F CHANGELOG.md -R ${{ github.repository }} --target master + env: + GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} + + - name: Merge into dev + run: | + # increment minor version and add SNAPSHOT + ARRAY_VERSION=( ${VERSION//./ } ) + git checkout release/v${VERSION} + NEXT_VERSION=${ARRAY_VERSION[0]}.$((ARRAY_VERSION[1]+1)).0-SNAPSHOT + echo "next version: $NEXT_VERSION" + # update version + mvn versions:set -DnewVersion=${NEXT_VERSION} -DprocessAllModules=true + #edit changelog + sed -i '5i ## [unreleased]\n ### Added \n ### Fixed \n' CHANGELOG.md + replace="$ a \[unreleased\]: https:\/\/github.com\/ehrbase\/openEHR_SDK\/compare\/v$VERSION...HEAD" + sed -i "${replace}" CHANGELOG.md + git add -A + git commit -m " updated version to ${NEXT_VERSION}" + git checkout develop + git pull + git merge --no-ff release/v${VERSION} + git push + + diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..24dfdcc --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,15 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres +to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). + +## [unreleased] +### Fixed + +- Fix class not found [[#9](https://github.com/ehrbase/migration-tool/pull/9)] + +## [1.1.0] + +Initial publicly available version. \ No newline at end of file From 55d30185694e89d7d51422c36a3308244147bd17 Mon Sep 17 00:00:00 2001 From: Alex Vidrean Date: Mon, 10 Jun 2024 14:42:19 +0300 Subject: [PATCH 09/13] Add the status workflow for the release --- .github/workflows/build-and-push.yml | 2 +- .github/workflows/status.yml | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/status.yml diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index 0f6276d..a273871 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -1,4 +1,4 @@ -name: Build and push +name: "Build and push" on: push: diff --git a/.github/workflows/status.yml b/.github/workflows/status.yml new file mode 100644 index 0000000..ae90e4e --- /dev/null +++ b/.github/workflows/status.yml @@ -0,0 +1,23 @@ +# Adds the results of a workflow as a commit status +name: "Set test status" + +on: + workflow_run: + workflows: ["Build and push"] # runs after build and test workflow + types: + - completed + +jobs: + set_status: + runs-on: ubuntu-latest + permissions: + statuses: write + steps: + - name: Create status + run: | + gh api repos/${{ github.repository }}/statuses/${{ github.event.workflow_run.head_commit.id }} \ + -f "state"="${{ github.event.workflow_run.conclusion }}" \ + -f "context"="${{ github.event.workflow_run.event }}.${{ github.event.workflow_run.id}}"\ + -f "target_url"="${{ github.event.workflow_run.html_url }}" + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From eb91c12732adcf65ba2f184ddf8c04ff46de8103 Mon Sep 17 00:00:00 2001 From: Alex Vidrean Date: Mon, 10 Jun 2024 14:48:05 +0300 Subject: [PATCH 10/13] Update main branch name in the release action --- .github/workflows/release.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5ee10ec..9a93e14 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -78,7 +78,7 @@ jobs: - name: Merge into Main run: | - git checkout master + git checkout main git pull git merge --no-ff release/v${VERSION} git tag -a -m "v${VERSION}" "v${VERSION}" @@ -86,7 +86,7 @@ jobs: - name: Create Release run: | - gh release create "v${VERSION}" -t "v${VERSION}" -F CHANGELOG.md -R ${{ github.repository }} --target master + gh release create "v${VERSION}" -t "v${VERSION}" -F CHANGELOG.md -R ${{ github.repository }} --target main env: GITHUB_TOKEN: ${{ secrets.BOT_ACCESS_TOKEN }} From 904871b4841edf5bab522e2c82df3be06e58d8c3 Mon Sep 17 00:00:00 2001 From: Alex Vidrean Date: Mon, 10 Jun 2024 15:30:29 +0300 Subject: [PATCH 11/13] Cover release branches for build and push workflow --- .github/workflows/build-and-push.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/build-and-push.yml b/.github/workflows/build-and-push.yml index a273871..f05b210 100644 --- a/.github/workflows/build-and-push.yml +++ b/.github/workflows/build-and-push.yml @@ -5,6 +5,7 @@ on: branches: - main - develop + - release/* pull_request: branches: - main From ed4c387bfd848d5eba55a9f06c4eb8f5e958e3a8 Mon Sep 17 00:00:00 2001 From: Alex Vidrean Date: Mon, 10 Jun 2024 15:36:13 +0300 Subject: [PATCH 12/13] Update changelog with comparison link --- CHANGELOG.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 24dfdcc..fd9f312 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,4 +12,6 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [1.1.0] -Initial publicly available version. \ No newline at end of file +Initial publicly available version. + +[unreleased]: https://github.com/ehrbase/migration-tool/compare/v1.1.0...HEAD \ No newline at end of file From 9f6096f4f3833790530f5b94df795f0d9d19a9bc Mon Sep 17 00:00:00 2001 From: bot Date: Mon, 10 Jun 2024 12:44:27 +0000 Subject: [PATCH 13/13] release 1.2.0: updated version to 1.2.0 --- CHANGELOG.md | 4 ++-- application/pom.xml | 2 +- bom/pom.xml | 2 +- pom.xml | 4 ++-- service/pom.xml | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fd9f312..2db3b45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). -## [unreleased] +## [1.2.0] ### Fixed - Fix class not found [[#9](https://github.com/ehrbase/migration-tool/pull/9)] @@ -14,4 +14,4 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). Initial publicly available version. -[unreleased]: https://github.com/ehrbase/migration-tool/compare/v1.1.0...HEAD \ No newline at end of file +[1.2.0]: https://github.com/ehrbase/migration-tool/compare/v1.1.0...v1.2.0 \ No newline at end of file diff --git a/application/pom.xml b/application/pom.xml index 53914c7..e3427f8 100644 --- a/application/pom.xml +++ b/application/pom.xml @@ -11,7 +11,7 @@ org.ehrbase.migration migration-application - 1.2.0-SNAPSHOT + 1.2.0 jar EHRbase Migration Tool Application diff --git a/bom/pom.xml b/bom/pom.xml index f90661e..f599eac 100644 --- a/bom/pom.xml +++ b/bom/pom.xml @@ -4,7 +4,7 @@ org.ehrbase.migration migration-bom - 1.2.0-SNAPSHOT + 1.2.0 pom EHRbase Migration Tool BOM diff --git a/pom.xml b/pom.xml index 4d0a3c3..f3d4d3a 100644 --- a/pom.xml +++ b/pom.xml @@ -5,12 +5,12 @@ org.ehrbase.migration migration-bom - 1.2.0-SNAPSHOT + 1.2.0 bom/pom.xml migration-tool - 1.2.0-SNAPSHOT + 1.2.0 pom EHRbase Migration Tool diff --git a/service/pom.xml b/service/pom.xml index f21d7f6..b3f5162 100644 --- a/service/pom.xml +++ b/service/pom.xml @@ -11,7 +11,7 @@ org.ehrbase.migration migration-service - 1.2.0-SNAPSHOT + 1.2.0 jar EHRbase Migration Tool Service