Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: Maven central workflow

on:
push:
pull_request:
workflow_dispatch:

permissions:
contents: read

jobs:
maven:
uses: folio-org/.github/.github/workflows/maven.yml@v1
# Only handle push events from the main branch or tags, to decrease PR noise
if: github.ref_name == github.event.repository.default_branch || github.event_name != 'push' || github.ref_type == 'tag'
secrets: inherit
with:
java-version: '21'
File renamed without changes.
8 changes: 4 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
<folio-s3-client.version>3.0.0</folio-s3-client.version>
<aws-sdk-java.version>2.31.21</aws-sdk-java.version>
<folio-module-descriptor-validator.version>1.0.0</folio-module-descriptor-validator.version>
<testcontainers.version>1.20.6</testcontainers.version>
<testcontainers.version>2.0.4</testcontainers.version>
<maven-source-plugin.version>3.3.1</maven-source-plugin.version>
</properties>

Expand Down Expand Up @@ -245,17 +245,17 @@
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>junit-jupiter</artifactId>
<artifactId>testcontainers-junit-jupiter</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>kafka</artifactId>
<artifactId>testcontainers-kafka</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testcontainers</groupId>
<artifactId>localstack</artifactId>
<artifactId>testcontainers-localstack</artifactId>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/folio/rest/AbstractRestTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,10 @@
.withStartupAttempts(3);

@Container
private static final LocalStackContainer localStackContainer = new LocalStackContainer(

Check warning on line 136 in src/test/java/org/folio/rest/AbstractRestTest.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this use of "LocalStackContainer"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.folio%3Amod-data-import&issues=AZ260LH_zR5Y5AHZSmhx&open=AZ260LH_zR5Y5AHZSmhx&pullRequest=385

Check warning on line 136 in src/test/java/org/folio/rest/AbstractRestTest.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this use of "LocalStackContainer"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.folio%3Amod-data-import&issues=AZ260LIAzR5Y5AHZSmhy&open=AZ260LIAzR5Y5AHZSmhy&pullRequest=385
DockerImageName.parse("localstack/localstack:s3-latest")
DockerImageName.parse("localstack/localstack:s3-community-archive")
)
.withServices(LocalStackContainer.Service.S3);

Check warning on line 139 in src/test/java/org/folio/rest/AbstractRestTest.java

View check run for this annotation

SonarQubeCloud / SonarCloud Code Analysis

Remove this use of "LocalStackContainer"; it is deprecated.

See more on https://sonarcloud.io/project/issues?id=org.folio%3Amod-data-import&issues=AZ260LIAzR5Y5AHZSmhz&open=AZ260LIAzR5Y5AHZSmhz&pullRequest=385

protected static FolioS3Client s3Client;

Expand Down
Loading