Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update all non-major dependencies #147

Merged
merged 2 commits into from
Oct 2, 2024
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
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
image: eclipse-temurin:21.0.3_9-jdk-jammy
image: eclipse-temurin:21.0.4_7-jdk-jammy

variables:
CONTAINER_IMAGE: beo1975/book-library-service:latest
Expand Down
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=BranislavBeno_BookLibraryService&metric=coverage)](https://sonarcloud.io/summary/new_code?id=BranislavBeno_BookLibraryService)
[![Lines of Code](https://sonarcloud.io/api/project_badges/measure?project=BranislavBeno_BookLibraryService&metric=ncloc)](https://sonarcloud.io/summary/new_code?id=BranislavBeno_BookLibraryService)
[![](https://img.shields.io/badge/Java-21-blue)](/app/build.gradle.kts)
[![](https://img.shields.io/badge/Spring%20Boot-3.3.1-blue)](/app/build.gradle.kts)
[![](https://img.shields.io/badge/Testcontainers-1.20.0-blue)](/app/build.gradle.kts)
[![](https://img.shields.io/badge/Gradle-8.9-blue)](/gradle/wrapper/gradle-wrapper.properties)
[![](https://img.shields.io/badge/Spring%20Boot-3.3.4-blue)](/app/build.gradle.kts)
[![](https://img.shields.io/badge/Testcontainers-1.20.2-blue)](/app/build.gradle.kts)
[![](https://img.shields.io/badge/Gradle-8.10.2-blue)](/gradle/wrapper/gradle-wrapper.properties)
[![](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)

# Simple web application for book library service
Expand Down
6 changes: 3 additions & 3 deletions app/src/test/java/com/book/library/AbstractTestResources.java
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@ public abstract class AbstractTestResources {

@ServiceConnection
private static final PostgreSQLContainer<?> REPOSITORY_CONTAINER =
new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.3"));
new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.4"));

private static final KeycloakContainer KEYCLOAK_CONTAINER;

private static final LocalStackContainer LOCAL_STACK_CONTAINER =
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.5.0"));
new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.7.2"));

static {
REPOSITORY_CONTAINER.start();

KEYCLOAK_CONTAINER = new KeycloakContainer(DockerImageName.parse("quay.io/keycloak/keycloak:25.0.2")
KEYCLOAK_CONTAINER = new KeycloakContainer(DockerImageName.parse("quay.io/keycloak/keycloak:25.0.6")
.asCanonicalNameString())
.withRealmImportFile("keycloak/stratospheric-realm.json");
KEYCLOAK_CONTAINER.start();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@ public class ContainersConfig {
@ServiceConnection
@RestartScope
public PostgreSQLContainer<?> postgresSqlContainer() {
return new PostgreSQLContainer<>("postgres:16.3");
return new PostgreSQLContainer<>("postgres:16.4");
}

@Bean
@RestartScope
public KeycloakContainer keycloakContainer(DynamicPropertyRegistry registry) {
try (var container = new KeycloakContainer(
DockerImageName.parse("quay.io/keycloak/keycloak:25.0.2").asCanonicalNameString())) {
DockerImageName.parse("quay.io/keycloak/keycloak:25.0.6").asCanonicalNameString())) {
container.withRealmImportFiles("keycloak/stratospheric-realm.json", "keycloak/stratospheric-users-0.json");
container.start();

Expand All @@ -48,7 +48,7 @@ public KeycloakContainer keycloakContainer(DynamicPropertyRegistry registry) {
@RestartScope
public LocalStackContainer localStackContainer(DynamicPropertyRegistry registry)
throws IOException, InterruptedException {
try (var container = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.5.0"))) {
try (var container = new LocalStackContainer(DockerImageName.parse("localstack/localstack:3.7.2"))) {
container.withServices(
LocalStackContainer.Service.SQS,
LocalStackContainer.Service.SES,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ public abstract class BaseTestRepository {

@ServiceConnection
private static final PostgreSQLContainer<?> REPOSITORY_CONTAINER =
new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.3"));
new PostgreSQLContainer<>(DockerImageName.parse("postgres:16.4"));

static {
REPOSITORY_CONTAINER.start();
Expand Down
2 changes: 1 addition & 1 deletion cdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"service:destroy": "cdk destroy --app \"../gradlew :cdk:run -PmainClass=com.book.library.cdk.ServiceApp\" --force --require-approval never --all"
},
"devDependencies": {
"aws-cdk": "2.149.0"
"aws-cdk": "2.160.0"
},
"engines": {
"node": ">=16"
Expand Down
2 changes: 1 addition & 1 deletion cdk/src/main/java/com/book/library/cdk/DatabaseApp.java
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public static void main(final String[] args) {
databaseStack,
"Database",
appEnvironment,
new PostgresDatabase.DatabaseInputParameters().withDockerImageVersion("postgres:16.3"));
new PostgresDatabase.DatabaseInputParameters().withDockerImageVersion("postgres:16.4"));

app.synth();
}
Expand Down
18 changes: 9 additions & 9 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@ spring-security-test = { module = "org.springframework.security:spring-security-
junit-platform-launcher = { module = "org.junit.platform:junit-platform-launcher" }
micrometer-observation-test = { module = "io.micrometer:micrometer-observation-test" }
micrometer-registry-cloudwatch = { module = "io.micrometer:micrometer-registry-cloudwatch2" }
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.20.0" }
testcontainers-bom = { module = "org.testcontainers:testcontainers-bom", version = "1.20.2" }
testcontainers-common = { module = "org.testcontainers:testcontainers" }
testcontainers-junit-jupiter = { module = "org.testcontainers:junit-jupiter" }
testcontainers-postgresql = { module = "org.testcontainers:postgresql" }
testcontainers-localstack = { module = "org.testcontainers:localstack" }
testcontainers-keycloak = { module = "com.github.dasniko:testcontainers-keycloak", version = "3.4.0" }
org-awaitility = { module = "org.awaitility:awaitility", version = "4.2.1" }
org-awaitility = { module = "org.awaitility:awaitility", version = "4.2.2" }
database-postgresql = { module = "org.postgresql:postgresql" }
flyway-core = { module = "org.flywaydb:flyway-core" }
flyway-database-postgresql = { module = "org.flywaydb:flyway-database-postgresql" }
Expand All @@ -30,26 +30,26 @@ webjars-locator-core = { module = "org.webjars:webjars-locator-core", version =
webjars-bootstrap = { module = "org.webjars:bootstrap", version = "5.3.3" }
webjars-font-awesome = { module = "org.webjars:font-awesome", version = "6.5.2" }
problem-spring-web = { module = "org.zalando:problem-spring-web", version = "0.29.1" }
spring-cloud-aws-bom = { module = "io.awspring.cloud:spring-cloud-aws-dependencies", version = "3.1.1" }
spring-cloud-aws-bom = { module = "io.awspring.cloud:spring-cloud-aws-dependencies", version = "3.2.0" }
spring-cloud-aws-sqs = { module = "io.awspring.cloud:spring-cloud-aws-starter-sqs" }
spring-cloud-aws-ses = { module = "io.awspring.cloud:spring-cloud-aws-starter-ses" }
spring-cloud-aws-dynamodb = { module = "io.awspring.cloud:spring-cloud-aws-starter-dynamodb" }
aws-sdk-cognito-idp = { module = "software.amazon.awssdk:cognitoidentityprovider" }
aws-cdk-lib = { module = "software.amazon.awscdk:aws-cdk-lib", version = "2.149.0" }
aws-cdk-lib = { module = "software.amazon.awscdk:aws-cdk-lib", version = "2.160.0" }
logback-awslogs-json = { module = "de.siegmar:logback-awslogs-json-encoder", version = "2.0.0" }

# code quality
palantir-javaformat = { module = "com.palantir.javaformat:palantir-java-format", version = "2.47.0" }
palantir-javaformat = { module = "com.palantir.javaformat:palantir-java-format", version = "2.50.0" }

# code migration
rewrite-recipe-bom = { module = "org.openrewrite.recipe:rewrite-recipe-bom", version = "2.15.0" }
rewrite-recipe-bom = { module = "org.openrewrite.recipe:rewrite-recipe-bom", version = "2.20.0" }
rewrite-migrate-java = { module = "org.openrewrite.recipe:rewrite-migrate-java" }
rewrite-spring = { module = "org.openrewrite.recipe:rewrite-spring" }

# gradle plugins
spring-boot = { module = "org.springframework.boot:spring-boot-gradle-plugin", version = "3.3.1" }
spring-boot = { module = "org.springframework.boot:spring-boot-gradle-plugin", version = "3.3.4" }
git-properties = { module = "com.gorylenko.gradle-git-properties:gradle-git-properties", version = "2.4.2" }
diffplug-spotless = { module = "com.diffplug.spotless:spotless-plugin-gradle", version = "6.25.0" }
sonarqube = { module = "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin", version = "5.1.0.4882" }
cyclonedx-sbom = { module = "org.cyclonedx:cyclonedx-gradle-plugin", version = "1.8.2" }
open-rewrite = { module = "org.openrewrite:plugin", version = "6.16.4" }
cyclonedx-sbom = { module = "org.cyclonedx:cyclonedx-gradle-plugin", version = "1.10.0" }
open-rewrite = { module = "org.openrewrite:plugin", version = "6.24.0" }
2 changes: 1 addition & 1 deletion gradle/wrapper/gradle-wrapper.properties
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
distributionBase=GRADLE_USER_HOME
distributionPath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip
distributionUrl=https\://services.gradle.org/distributions/gradle-8.10.2-bin.zip
networkTimeout=10000
zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists
Loading