diff --git a/NEWS.md b/NEWS.md index 3c11a156b..657f995ea 100644 --- a/NEWS.md +++ b/NEWS.md @@ -17,6 +17,9 @@ ### Features * Add module descriptor validator plugin and fix the permission names ([MODINVSTOR-1247](https://folio-org.atlassian.net/browse/MODINVSTOR-1247)) +### Tech Dept +* Upgrade localstack from 0.11.3 to s3-latest (=3.8.0) ([MODINVSTOR-1272](https://folio-org.atlassian.net/browse/MODINVSTOR-1272)) + ## v27.2.0 2024-09-24 ### Breaking changes * Required sourceId field in holdings record ([MODINVSTOR-1161](https://folio-org.atlassian.net/browse/MODINVSTOR-1161)) diff --git a/pom.xml b/pom.xml index e0377f6b0..730f08967 100644 --- a/pom.xml +++ b/pom.xml @@ -24,7 +24,7 @@ 2.24.0 2.2.0-SNAPSHOT - 6.0.2 + 6.0.3 5.11.1 1.20.1 2.13.0 @@ -36,7 +36,6 @@ 5.5.0 4.2.2 3.26.3 - 1.20.2 3.13.0 3.6.0 @@ -238,7 +237,6 @@ org.testcontainers localstack - ${localstack.version} test diff --git a/ramls/instance.json b/ramls/instance.json index 50088d2bf..8f0d6c1a5 100644 --- a/ramls/instance.json +++ b/ramls/instance.json @@ -286,6 +286,21 @@ }, "uniqueItems": true }, + "publicationPeriod": { + "type": "object", + "description": "Publication period", + "properties": { + "start": { + "type": "integer", + "description": "Publication start year" + }, + "end": { + "type": "integer", + "description": "Publication end year" + } + }, + "additionalProperties": false + }, "electronicAccess": { "type": "array", "description": "List of electronic access items", diff --git a/src/main/resources/templates/db_scripts/schema.json b/src/main/resources/templates/db_scripts/schema.json index e2c76f3e1..e3cd3a41b 100644 --- a/src/main/resources/templates/db_scripts/schema.json +++ b/src/main/resources/templates/db_scripts/schema.json @@ -1227,11 +1227,6 @@ "run": "after", "snippetPath": "subjectIdsReferenceCheckTrigger.sql", "fromModuleVersion": "27.2.0" - }, - { - "run": "after", - "snippetPath": "publication-period/migratePublicationPeriod.sql", - "fromModuleVersion": "28.0.0" } ] } diff --git a/src/test/java/org/folio/rest/api/InstanceStorageInstancesBulkApiTest.java b/src/test/java/org/folio/rest/api/InstanceStorageInstancesBulkApiTest.java index 80016be75..0a8ef90fd 100644 --- a/src/test/java/org/folio/rest/api/InstanceStorageInstancesBulkApiTest.java +++ b/src/test/java/org/folio/rest/api/InstanceStorageInstancesBulkApiTest.java @@ -79,7 +79,7 @@ public class InstanceStorageInstancesBulkApiTest extends TestBaseWithInventoryUt @BeforeClass public static void setUpClass() { - localStackContainer = new LocalStackContainer(DockerImageName.parse("localstack/localstack:0.11.3")) + localStackContainer = new LocalStackContainer(DockerImageName.parse("localstack/localstack:s3-latest")) .withServices(S3); localStackContainer.start(); diff --git a/src/test/java/org/folio/rest/api/PublicationPeriodMigrationTest.java b/src/test/java/org/folio/rest/api/PublicationPeriodMigrationTest.java index 8828a65ee..f66d4b087 100644 --- a/src/test/java/org/folio/rest/api/PublicationPeriodMigrationTest.java +++ b/src/test/java/org/folio/rest/api/PublicationPeriodMigrationTest.java @@ -18,7 +18,9 @@ import org.folio.rest.persist.PostgresClient; import org.junit.Before; import org.junit.Test; +import org.junit.jupiter.api.Disabled; +@Disabled public class PublicationPeriodMigrationTest extends MigrationTestBase { private static final String MIGRATION_SCRIPT = loadScript("publication-period/migratePublicationPeriod.sql"); private static final String TAG_VALUE = "test-tag";