Skip to content

Commit 51911d6

Browse files
Merge pull request #387 from FAIRDataTeam/hotfix/1.16.2
Hotfix 1.16.2
2 parents a1adf7b + f5c69c3 commit 51911d6

File tree

6 files changed

+12
-4
lines changed

6 files changed

+12
-4
lines changed

CHANGELOG.md

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

1010

11+
## [1.16.2]
12+
13+
### Fixed
14+
15+
- Target class URIs detection
16+
1117
## [1.16.1]
1218

1319
### Fixed
@@ -344,3 +350,4 @@ The first release of reference FAIR Data Point implementation.
344350
[1.15.0]: /../../tree/v1.15.0
345351
[1.16.0]: /../../tree/v1.16.0
346352
[1.16.1]: /../../tree/v1.16.1
353+
[1.16.2]: /../../tree/v1.16.2

SECURITY.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ We support the latest major and minor version with patch versions that fix vulne
66

77
| Version | Supported |
88
|---------| ------------------ |
9-
| 1.16.1 | :white_check_mark: |
9+
| 1.16.2 | :white_check_mark: |
1010
| < 1.16 | :x: |
1111

1212
## Current Recommendations

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<groupId>nl.dtls</groupId>
1212
<artifactId>fairdatapoint</artifactId>
13-
<version>1.16.1</version>
13+
<version>1.16.2</version>
1414
<packaging>jar</packaging>
1515

1616
<name>FairDataPoint</name>

src/main/java/nl/dtls/fairdatapoint/service/schema/MetadataSchemaShaclUtils.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public static Set<String> extractTargetClasses(String definition) {
4949

5050
private static boolean isRootNodeOfTargetClass(Model model, String iri) {
5151
final IRI resource = i(iri);
52-
for (Resource subject : model.filter(null, null, resource).subjects()) {
52+
for (Resource subject : model.filter(null, SHACL.TARGET_CLASS, resource).subjects()) {
5353
if (model.contains(null, null, subject)) {
5454
return false;
5555
}

src/main/resources/application.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ metadataProperties:
5959

6060
openapi:
6161
title: FAIR Data Point API
62-
version: 1.16.1
62+
version: 1.16.2
6363
description: "The reference implementation of the metadata registration service: A service implementing the API specification. It contains an authentication system to allow maintainers to define and update metadata. Read-only access to the data is public."
6464
contact:
6565
name: Luiz Bonino

src/test/resources/application-testing.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
instance:
22
index: true
33
clientUrl: http://localhost:8088
4+
persistentUrl: http://localhost:8088
45

56
server:
67
port: 8088

0 commit comments

Comments
 (0)