Skip to content

Commit 9fe3442

Browse files
Merge pull request #432 from FAIRDataTeam/release/1.17.0
Release 1.17.0
2 parents 51911d6 + 54eef7b commit 9fe3442

File tree

118 files changed

+401
-369
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+401
-369
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ jobs:
99
name: Test
1010
strategy:
1111
matrix:
12-
os: [ubuntu-20.04, windows-2022, macos-12]
12+
os:
13+
- ubuntu-20.04
14+
# - windows-2022 (MongoDB issues in CI)
15+
- macos-12
1316
runs-on: ${{ matrix.os }}
1417

1518
steps:
@@ -28,7 +31,7 @@ jobs:
2831
mongo --eval "db.version()"
2932
3033
- name: Set up JDK 17 (Temurin)
31-
uses: actions/setup-java@v3.9.0
34+
uses: actions/setup-java@v3
3235
with:
3336
java-version: '17'
3437
distribution: 'temurin'
@@ -87,7 +90,7 @@ jobs:
8790
type=sha
8891
8992
- name: Docker build+push [test]
90-
uses: docker/build-push-action@v3
93+
uses: docker/build-push-action@v4
9194
with:
9295
context: .
9396
file: ./Dockerfile.build
@@ -117,7 +120,7 @@ jobs:
117120
type=semver,pattern={{version}}
118121
119122
- name: Docker build+push [private]
120-
uses: docker/build-push-action@v3
123+
uses: docker/build-push-action@v4
121124
if: github.event_name == 'push' && env.PRIVATE_REGISTRY_URL != '' && steps.meta-private.outputs.tags != ''
122125
with:
123126
context: .
@@ -150,7 +153,7 @@ jobs:
150153
type=semver,pattern={{major}},enable=${{ !startsWith(github.ref, 'refs/tags/v0.') }}
151154
152155
- name: Docker build+push [public]
153-
uses: docker/build-push-action@v3
156+
uses: docker/build-push-action@v4
154157
if: github.event_name == 'push' && env.DOCKER_HUB_USERNAME != '' && steps.meta-public.outputs.tags != ''
155158
with:
156159
context: .

.github/workflows/code-style.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
uses: actions/checkout@v3
2020

2121
- name: Setup Java
22-
uses: actions/setup-java@v3.9.0
22+
uses: actions/setup-java@v3
2323
with:
2424
distribution: ${{ env.JAVA_DISTRIBUTION }}
2525
java-version: ${{ env.JAVA_VERSION }}
@@ -46,7 +46,7 @@ jobs:
4646
uses: actions/checkout@v3
4747

4848
- name: Setup Java
49-
uses: actions/setup-java@v3.9.0
49+
uses: actions/setup-java@v3
5050
with:
5151
distribution: ${{ env.JAVA_DISTRIBUTION }}
5252
java-version: ${{ env.JAVA_VERSION }}
@@ -73,7 +73,7 @@ jobs:
7373
uses: actions/checkout@v3
7474

7575
- name: Setup Java
76-
uses: actions/setup-java@v3.9.0
76+
uses: actions/setup-java@v3
7777
with:
7878
distribution: ${{ env.JAVA_DISTRIBUTION }}
7979
java-version: ${{ env.JAVA_VERSION }}

.github/workflows/security.yml

Lines changed: 8 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -18,64 +18,33 @@ jobs:
1818
security-events: write
1919

2020
env:
21-
JDK_VERSION: 17
22-
JDK_FILE: openjdk-17_linux-x64_bin.tar.gz
23-
JDK_URL: https://download.java.net/java/GA/jdk17/0d483333a00540d886896bac774ff48b/35/GPL/openjdk-17_linux-x64_bin.tar.gz
21+
JAVA_DISTRIBUTION: temurin
22+
JAVA_VERSION: 17
2423

2524
steps:
26-
- uses: actions/checkout@v3
27-
28-
- name: Fetch all history for all tags and branches
29-
run: git fetch --prune --unshallow
30-
31-
- name: Prepare JDK folder
32-
run: mkdir -p ~/jdk
33-
34-
# (1) -> Prepare cache and Java
35-
- name: Cache ~/.m2
36-
uses: actions/cache@v3.2.2
37-
with:
38-
path: ~/.m2
39-
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
40-
41-
- name: Cache JDK folder
42-
uses: actions/cache@v3.2.2
43-
with:
44-
path: ~/jdk
45-
key: ${{ env.JDK_FILE }}
46-
47-
# (2) -> Prepare Java
48-
- name: Download JDK
49-
run: |
50-
if [ ! -f ~/jdk/$JDK_FILE ]; then
51-
wget --quiet $JDK_URL -O ~/jdk/$JDK_FILE
52-
fi
53-
cp ~/jdk/$JDK_FILE .
25+
- name: Checkout repository
26+
uses: actions/checkout@v3
5427

5528
- name: Setup Java
56-
uses: actions/setup-java@v3.9.0
29+
uses: actions/setup-java@v3
5730
with:
58-
distribution: 'jdkfile'
59-
java-version: ${{ env.JDK_VERSION }}
60-
jdkFile: ${{ env.JDK_FILE }}
61-
architecture: x64
31+
distribution: ${{ env.JAVA_DISTRIBUTION }}
32+
java-version: ${{ env.JAVA_VERSION }}
33+
cache: 'maven'
6234

6335
- name: Verify Maven and Java
6436
run: |
6537
mvn --version
6638
67-
# (3) -> Init CodeQL
6839
- name: Initialize CodeQL
6940
uses: github/codeql-action/init@v2
7041
with:
7142
languages: 'java'
7243

73-
# (3) -> Build
7444
- name: Build package
7545
run: |
7646
mvn --quiet -B -U --fail-fast -DskipTests package
7747
78-
# (4) -> CodeQL Analysis
7948
- name: Perform CodeQL Analysis
8049
uses: github/codeql-action/analyze@v2
8150

CHANGELOG.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,22 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
88
## [Unreleased]
99

1010

11+
## [1.17.0]
12+
13+
### Added
14+
15+
- Support for configuration using environment variables
16+
17+
### Changed
18+
19+
- Updated to Spring Boot 3
20+
- Updated several other dependencies
21+
22+
### Fixed
23+
24+
- Reset metadata schema to defaults
25+
- Validation on metadata record deletion
26+
1127
## [1.16.2]
1228

1329
### Fixed
@@ -351,3 +367,4 @@ The first release of reference FAIR Data Point implementation.
351367
[1.16.0]: /../../tree/v1.16.0
352368
[1.16.1]: /../../tree/v1.16.1
353369
[1.16.2]: /../../tree/v1.16.2
370+
[1.17.0]: /../../tree/v1.17.0

CITATION.CFF

Lines changed: 0 additions & 34 deletions
This file was deleted.

CITATION.cff

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# This CITATION.cff file was generated with cffinit.
2+
# Visit https://bit.ly/cffinit to generate yours today!
3+
4+
cff-version: 1.2.0
5+
title: FAIR Data Point
6+
message: >-
7+
If you use this software, please cite it using the
8+
metadata from this file.
9+
type: software
10+
authors:
11+
- given-names: Luiz Olavo
12+
family-names: Bonino da Silva Santos
13+
email: l.o.boninodasilvasantos@utwente.nl
14+
affiliation: University of Twente
15+
orcid: 'https://orcid.org/0000-0002-1164-1351'
16+
- given-names: Kees
17+
family-names: Burger
18+
affiliation: Leiden University Medical Center
19+
- given-names: Rajaram
20+
family-names: Kaliyaperumal
21+
affiliation: 'Leiden University Medical Center '
22+
email: r.kaliyaperumal@lumc.nl
23+
orcid: 'https://orcid.org/0000-0002-1215-167X'
24+
- given-names: Marek
25+
family-names: Suchánek
26+
affiliation: Czech Technical University in Prague
27+
orcid: 'https://orcid.org/0000-0001-7525-9218'
28+
- given-names: Jan
29+
family-names: Slifka
30+
orcid: 'https://orcid.org/0000-0002-4941-0575'
31+
affiliation: Czech Technical University in Prague
32+
- given-names: Mark
33+
family-names: Wilkinson
34+
affiliation: Universidad Politécnica de Madrid (UPM)
35+
orcid: 'https://orcid.org/0000-0001-6960-357X'
36+
license: MIT

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2017 Dutch Techncentre for Life Sciences
3+
Copyright (c) 2017 FAIR Data Team
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

SECURITY.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ We support the latest major and minor version with patch versions that fix vulne
66

77
| Version | Supported |
88
|---------| ------------------ |
9-
| 1.16.2 | :white_check_mark: |
10-
| < 1.16 | :x: |
9+
| 1.17.0 | :white_check_mark: |
10+
| < 1.17 | :x: |
1111

1212
## Current Recommendations
1313

14-
* Use 1.16.1 with the newest dependencies (and no known vulnerabilities)
14+
* Use 1.17.0 with the newest dependencies (and no known vulnerabilities)
1515

1616
## Reporting a Vulnerability
1717

pom.xml

Lines changed: 25 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@
55
<parent>
66
<groupId>org.springframework.boot</groupId>
77
<artifactId>spring-boot-starter-parent</artifactId>
8-
<version>2.7.5</version>
8+
<version>3.1.1</version>
99
<relativePath/> <!-- lookup parent from repository -->
1010
</parent>
1111
<groupId>nl.dtls</groupId>
1212
<artifactId>fairdatapoint</artifactId>
13-
<version>1.16.2</version>
13+
<version>1.17.0</version>
1414
<packaging>jar</packaging>
1515

1616
<name>FairDataPoint</name>
@@ -55,28 +55,26 @@
5555
<spring.security.acl.mongo.version>5.2.4.RELEASE</spring.security.acl.mongo.version>
5656

5757
<!-- Core -->
58-
<springdoc.version>1.6.14</springdoc.version>
59-
<mongock.version>5.2.2</mongock.version>
60-
<mongodb.spring-data.v3.version>3.4.5</mongodb.spring-data.v3.version>
61-
<rdf4j.version>4.2.2</rdf4j.version>
58+
<springdoc.version>2.1.0</springdoc.version>
59+
<mongock.version>5.3.1</mongock.version>
60+
<mongodb.spring-data.version>4.1.1</mongodb.spring-data.version>
61+
<rdf4j.version>4.3.2</rdf4j.version>
6262
<jwt.version>0.11.5</jwt.version>
63-
<lombok.version>1.18.24</lombok.version>
63+
<lombok.version>1.18.28</lombok.version>
6464
<rdf-resolver.version>0.1.2-SNAPSHOT</rdf-resolver.version>
65-
<log4j2.version>2.17.1</log4j2.version>
65+
66+
<!-- Test -->
67+
<httpclient5.version>5.2.1</httpclient5.version>
6668

6769
<!-- Plugins -->
68-
<plugin.license.version>4.1</plugin.license.version>
70+
<plugin.license.version>4.2</plugin.license.version>
6971
<plugin.jacoco.version>0.7.6.201602180812</plugin.jacoco.version>
7072
<plugin.coveralls.version>4.3.0</plugin.coveralls.version>
7173
<plugin.javax_xml_bind.version>2.3.1</plugin.javax_xml_bind.version>
72-
<plugin.git_commit_id.version>5.0.0</plugin.git_commit_id.version>
74+
<plugin.git_commit_id.version>6.0.0</plugin.git_commit_id.version>
7375
<plugin.rdf4j_generator.version>0.2.0</plugin.rdf4j_generator.version>
74-
<plugin.checkstyle.version>3.2.0</plugin.checkstyle.version>
75-
<plugin.spotbugs.version>4.7.3.0</plugin.spotbugs.version>
76-
77-
<!-- override for security -->
78-
<snakeyaml.version>1.31</snakeyaml.version>
79-
<spring-security.version>5.7.5</spring-security.version>
76+
<plugin.checkstyle.version>3.3.0</plugin.checkstyle.version>
77+
<plugin.spotbugs.version>4.7.3.5</plugin.spotbugs.version>
8078
</properties>
8179

8280
<repositories>
@@ -189,20 +187,20 @@
189187
</dependency>
190188
<dependency>
191189
<groupId>io.mongock</groupId>
192-
<artifactId>mongodb-springdata-v3-driver</artifactId>
190+
<artifactId>mongodb-springdata-v4-driver</artifactId>
193191
</dependency>
194192
<dependency>
195193
<groupId>org.springframework.data</groupId>
196194
<artifactId>spring-data-mongodb</artifactId>
197-
<version>${mongodb.spring-data.v3.version}</version>
195+
<version>${mongodb.spring-data.version}</version>
198196
</dependency>
199197

200198
<!-- ////////////////// -->
201199
<!-- Core -->
202200
<!-- ////////////////// -->
203201
<dependency>
204202
<groupId>org.springdoc</groupId>
205-
<artifactId>springdoc-openapi-ui</artifactId>
203+
<artifactId>springdoc-openapi-starter-webmvc-ui</artifactId>
206204
<version>${springdoc.version}</version>
207205
</dependency>
208206
<dependency>
@@ -279,6 +277,12 @@
279277
<artifactId>spring-security-test</artifactId>
280278
<scope>test</scope>
281279
</dependency>
280+
<dependency>
281+
<groupId>org.apache.httpcomponents.client5</groupId>
282+
<artifactId>httpclient5</artifactId>
283+
<version>${httpclient5.version}</version>
284+
<scope>test</scope>
285+
</dependency>
282286
</dependencies>
283287

284288
<build>
@@ -370,12 +374,12 @@
370374
<dependency>
371375
<groupId>com.puppycrawl.tools</groupId>
372376
<artifactId>checkstyle</artifactId>
373-
<version>10.6.0</version>
377+
<version>10.12.1</version>
374378
</dependency>
375379
<dependency>
376380
<groupId>io.spring.javaformat</groupId>
377381
<artifactId>spring-javaformat-checkstyle</artifactId>
378-
<version>0.0.35</version>
382+
<version>0.0.39</version>
379383
</dependency>
380384
</dependencies>
381385
</plugin>
@@ -456,5 +460,4 @@
456460
</plugin>
457461
</plugins>
458462
</build>
459-
460463
</project>

0 commit comments

Comments
 (0)