diff --git a/NEWS.md b/NEWS.md index ff1e0ef..0a7d05e 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,4 +1,7 @@ -## 6.1.0 In progress +## 6.1.0 2024-10-30 + * ERM-3369 Update module license, guidance and dependencies for mod-licenses + * ERM-3089 missing content-type header in /licenses/licenses/${uuid}/linkedAgreements response + * Fix and automatically validate module descriptor (Eureka) ## 6.0.4 2024-10-18 * ERM-3387 Description can be too long for index, causing mod-licenses error when updating from 5.0.x to later versions or failure on saving licenses with a long description diff --git a/service/build.gradle b/service/build.gradle index 0673e36..312df6b 100644 --- a/service/build.gradle +++ b/service/build.gradle @@ -263,6 +263,8 @@ project.gradle.projectsEvaluated { // Get a System property properties.setProperty('build.java.version', System.getProperty('java.version')) + properties.setProperty('okapiInterfaceVersion', "$okapiInterfaceVersion") + // Write the properties back to the file grailsBuildInfoFile.withOutputStream { properties.store(it,null) diff --git a/service/gradle.properties b/service/gradle.properties index 89ef211..b406e16 100644 --- a/service/gradle.properties +++ b/service/gradle.properties @@ -4,7 +4,8 @@ gormVersion=8.0.3 # Application appName=mod-licenses -appVersion=6.1.0-SNAPSHOT +appVersion=6.1.0 +okapiInterfaceVersion=6.1 dockerTagSuffix= dockerRepo=folioci diff --git a/service/src/main/okapi/ModuleDescriptor-template.json b/service/src/main/okapi/ModuleDescriptor-template.json index 6aebd89..aee75c5 100644 --- a/service/src/main/okapi/ModuleDescriptor-template.json +++ b/service/src/main/okapi/ModuleDescriptor-template.json @@ -4,7 +4,7 @@ "provides": [ { "id": "licenses", - "version": "${info.app.minorVersion}", + "version": "${okapiInterfaceVersion}", "handlers": [ { "methods": [