Skip to content

Commit

Permalink
Merge pull request #387 from FAIRDataTeam/hotfix/1.16.2
Browse files Browse the repository at this point in the history
Hotfix 1.16.2
  • Loading branch information
MarekSuchanek authored Feb 17, 2023
2 parents a1adf7b + f5c69c3 commit 51911d6
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 4 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased]


## [1.16.2]

### Fixed

- Target class URIs detection

## [1.16.1]

### Fixed
Expand Down Expand Up @@ -344,3 +350,4 @@ The first release of reference FAIR Data Point implementation.
[1.15.0]: /../../tree/v1.15.0
[1.16.0]: /../../tree/v1.16.0
[1.16.1]: /../../tree/v1.16.1
[1.16.2]: /../../tree/v1.16.2
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ We support the latest major and minor version with patch versions that fix vulne

| Version | Supported |
|---------| ------------------ |
| 1.16.1 | :white_check_mark: |
| 1.16.2 | :white_check_mark: |
| < 1.16 | :x: |

## Current Recommendations
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>nl.dtls</groupId>
<artifactId>fairdatapoint</artifactId>
<version>1.16.1</version>
<version>1.16.2</version>
<packaging>jar</packaging>

<name>FairDataPoint</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public static Set<String> extractTargetClasses(String definition) {

private static boolean isRootNodeOfTargetClass(Model model, String iri) {
final IRI resource = i(iri);
for (Resource subject : model.filter(null, null, resource).subjects()) {
for (Resource subject : model.filter(null, SHACL.TARGET_CLASS, resource).subjects()) {
if (model.contains(null, null, subject)) {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/application.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ metadataProperties:

openapi:
title: FAIR Data Point API
version: 1.16.1
version: 1.16.2
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."
contact:
name: Luiz Bonino
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/application-testing.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
instance:
index: true
clientUrl: http://localhost:8088
persistentUrl: http://localhost:8088

server:
port: 8088
Expand Down

0 comments on commit 51911d6

Please sign in to comment.