Skip to content

Commit

Permalink
Hotfix 1.17.2
Browse files Browse the repository at this point in the history
  • Loading branch information
MarekSuchanek committed Apr 26, 2024
1 parent 49da980 commit 34fb697
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,12 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [Unreleased]

## [1.17.2]

### Fixed

- Fix metadata schemas (defaults, ordering, FDP shape)
- Default license in metadata schemas and configuration

## [1.17.1]

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.17.1</version>
<version>1.17.2</version>
<packaging>jar</packaging>

<name>FairDataPoint</name>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
import io.mongock.api.annotations.RollbackExecution;
import lombok.SneakyThrows;
import nl.dtls.fairdatapoint.Profiles;
import nl.dtls.fairdatapoint.entity.schema.SemVer;
import nl.dtls.fairdatapoint.util.KnownUUIDs;
import org.bson.Document;
import org.springframework.context.annotation.Profile;
Expand Down Expand Up @@ -70,7 +69,7 @@ public void run() {
@SneakyThrows
private void updateSchema(String versionUuid, String name) {
final MongoCollection<Document> schemasCol = database.getCollection(COL_SCHEMAS);
String definition = loadClassResource(format("0016_shape-%s.ttl", name), getClass());
final String definition = loadClassResource(format("0016_shape-%s.ttl", name), getClass());
schemasCol.updateOne(
Filters.and(
Filters.eq(FIELD_VER_UUID, versionUuid),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private Cache parentCache() {
}

@Getter
private static class ResourceDefinitionParents {
private static final class ResourceDefinitionParents {
private final Set<ResourceDefinition> parents = new HashSet<>();

public void add(ResourceDefinition rdParent) {
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 @@ -64,7 +64,7 @@ metadataProperties:

openapi:
title: FAIR Data Point API
version: 1.17.1
version: 1.17.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

0 comments on commit 34fb697

Please sign in to comment.