Skip to content

Commit

Permalink
Merge branch 'release/v2.9.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
bot committed Apr 8, 2024
2 parents 4e55a2b + 337b203 commit bf971b5
Show file tree
Hide file tree
Showing 82 changed files with 468 additions and 7,183 deletions.
1,778 changes: 0 additions & 1,778 deletions .circleci/config.yml

This file was deleted.

36 changes: 5 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,7 @@ name: build

on:
push:
branches:
- master
- develop
pull_request:
workflow_dispatch:

jobs:
Expand All @@ -23,34 +21,10 @@ jobs:
java-version: '17'
cache: 'maven'

- name: Build with Maven
run: mvn -B verify

- name: Setup Maven Central
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_TOKEN
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE
- name: Spotless
run: mvn -B spotless:apply

- name: Publish to Maven Central
run: mvn -B deploy -P release -DskipTests
env:
OSSRH_USERNAME: ${{ secrets.S01_OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.S01_OSSRH_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}
- name: Build with Maven
run: mvn -B verify

- name: 'Trigger ehrbase:next build'
if: github.ref == 'refs/heads/develop'
run: |
curl \
-X POST \
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Content-Type: application/json" \
https://api.github.com/repos/ehrbase/ehrbase/dispatches \
-d '{"event_type":"build-ehrbase-next"}'
56 changes: 56 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
name: publish

on:
push:
branches:
- master
- develop
workflow_dispatch:

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Setup Java
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'

- name: Build with Maven
run: mvn -B verify

- name: Setup Maven Central
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '17'
cache: 'maven'
server-id: ossrh
server-username: OSSRH_USERNAME
server-password: OSSRH_TOKEN
gpg-private-key: ${{ secrets.GPG_PRIVATE_KEY }}
gpg-passphrase: GPG_PASSPHRASE

- name: Publish to Maven Central
run: mvn -B deploy -P release -DskipTests
env:
OSSRH_USERNAME: ${{ secrets.S01_OSSRH_USERNAME }}
OSSRH_TOKEN: ${{ secrets.S01_OSSRH_TOKEN }}
GPG_PASSPHRASE: ${{ secrets.GPG_PASSPHRASE }}

- name: 'Trigger ehrbase:next build'
if: github.ref == 'refs/heads/develop'
run: |
curl \
-X POST \
-H "Authorization: token ${{ secrets.PERSONAL_ACCESS_TOKEN }}" \
-H "Content-Type: application/json" \
https://api.github.com/repos/ehrbase/ehrbase/dispatches \
-d '{"event_type":"build-ehrbase-next"}'
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

Note: version releases in the 0.x.y range may introduce breaking changes.

## [2.9.0]
### Added
### Fixed

## [2.8.0]
### Added
### Fixed
Expand Down Expand Up @@ -381,3 +385,4 @@ Note: version releases in the 0.x.y range may introduce breaking changes.
[2.6.0]: https://github.com/ehrbase/openEHR_SDK/compare/v2.5.0...v2.6.0
[2.7.0]: https://github.com/ehrbase/openEHR_SDK/compare/v2.6.0...v2.7.0
[2.8.0]: https://github.com/ehrbase/openEHR_SDK/compare/v2.7.0...v2.8.0
[2.9.0]: https://github.com/ehrbase/openEHR_SDK/compare/v2.8.0...v2.9.0
2 changes: 1 addition & 1 deletion aql/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<parent>
<groupId>org.ehrbase.openehr.sdk</groupId>
<artifactId>sdk-parent</artifactId>
<version>2.8.0</version>
<version>2.9.0</version>
</parent>

<artifactId>aql</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,22 +21,6 @@

import org.junit.jupiter.api.Test;

/*
* Copyright (c) 2022. vitasystems GmbH and Hannover Medical School.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/

class AqlQueryVisitorTest {

@Test
Expand Down
14 changes: 13 additions & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<artifactId>bom</artifactId>
<groupId>org.ehrbase.openehr.sdk</groupId>
<version>2.8.0</version>
<version>2.9.0</version>
<packaging>pom</packaging>

<name>openEHR SDK</name>
Expand Down Expand Up @@ -352,6 +352,18 @@
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<version>1.19.7</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<version>1.19.7</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>

Expand Down
12 changes: 11 additions & 1 deletion client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<parent>
<groupId>org.ehrbase.openehr.sdk</groupId>
<artifactId>sdk-parent</artifactId>
<version>2.8.0</version>
<version>2.9.0</version>
</parent>

<artifactId>client</artifactId>
Expand Down Expand Up @@ -156,6 +156,16 @@
<artifactId>junit-vintage-engine</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>testcontainers</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
Expand Down
Loading

0 comments on commit bf971b5

Please sign in to comment.