Skip to content

Commit c1220ac

Browse files
Upgrade versions
1 parent 08356ca commit c1220ac

File tree

7 files changed

+21
-25
lines changed

7 files changed

+21
-25
lines changed

build.gradle

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
plugins {
22
id "java"
3-
id "org.springframework.boot" version "3.4.1"
3+
id "org.springframework.boot" version "3.4.2"
44
id "io.spring.dependency-management" version "1.1.7"
5-
id "com.diffplug.spotless" version "6.25.0"
6-
id "org.openrewrite.rewrite" version "6.29.2"
5+
id "com.diffplug.spotless" version "7.0.2"
6+
id "org.openrewrite.rewrite" version "7.0.4"
77
}
88

99
group = "com.sivalabs"
@@ -27,7 +27,7 @@ repositories {
2727
}
2828

2929
ext {
30-
set("springModulithVersion", "1.3.1")
30+
set("springModulithVersion", "1.3.2")
3131
set("datasourceMicrometerSpringBootVersion", "1.0.6")
3232
}
3333

@@ -63,9 +63,9 @@ dependencies {
6363
developmentOnly "org.springframework.boot:spring-boot-docker-compose"
6464
developmentOnly "org.springframework.boot:spring-boot-devtools"
6565
annotationProcessor "org.springframework.boot:spring-boot-configuration-processor"
66-
rewrite "org.openrewrite.recipe:rewrite-spring:5.24.1"
67-
rewrite "org.openrewrite.recipe:rewrite-testing-frameworks:2.23.1"
68-
rewrite "org.openrewrite.recipe:rewrite-static-analysis:1.21.1"
66+
rewrite "org.openrewrite.recipe:rewrite-spring:6.0.1"
67+
rewrite "org.openrewrite.recipe:rewrite-testing-frameworks:3.1.0"
68+
rewrite "org.openrewrite.recipe:rewrite-static-analysis:2.1.0"
6969

7070
testImplementation "org.springframework.boot:spring-boot-starter-test"
7171
testImplementation "org.springframework.amqp:spring-rabbit-test"

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ services:
1717
- '5672:5672'
1818
- '15672:15672'
1919
zipkin:
20-
image: 'openzipkin/zipkin:3.4.3'
20+
image: 'openzipkin/zipkin:3.4.4'
2121
environment:
2222
- STORAGE_TYPE=mem
2323
ports:

k8s/zipkin.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ spec:
3030
spec:
3131
containers:
3232
- name: zipkin
33-
image: "openzipkin/zipkin:3.4.3"
33+
image: "openzipkin/zipkin:3.4.4"
3434
ports:
3535
- name: zipkin
3636
containerPort: 9411

pom.xml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<parent>
88
<groupId>org.springframework.boot</groupId>
99
<artifactId>spring-boot-starter-parent</artifactId>
10-
<version>3.4.1</version>
10+
<version>3.4.2</version>
1111
<relativePath/>
1212
</parent>
1313
<groupId>com.sivalabs</groupId>
@@ -19,11 +19,11 @@
1919
<properties>
2020
<java.version>21</java.version>
2121
<dockerImageName>sivaprasadreddy/${project.artifactId}</dockerImageName>
22-
<spring-modulith.version>1.3.1</spring-modulith.version>
22+
<spring-modulith.version>1.3.2</spring-modulith.version>
2323
<htmx-spring-boot-thymeleaf.version>4.0.1</htmx-spring-boot-thymeleaf.version>
2424
<datasource-micrometer-spring-boot.version>1.0.6</datasource-micrometer-spring-boot.version>
25-
<spotless.version>2.43.0</spotless.version>
26-
<rewrite-maven-plugin.version>5.47.2</rewrite-maven-plugin.version>
25+
<spotless.version>2.44.2</spotless.version>
26+
<rewrite-maven-plugin.version>6.0.5</rewrite-maven-plugin.version>
2727
</properties>
2828

2929
<dependencyManagement>
@@ -262,17 +262,17 @@
262262
<dependency>
263263
<groupId>org.openrewrite.recipe</groupId>
264264
<artifactId>rewrite-spring</artifactId>
265-
<version>5.25.0</version>
265+
<version>6.0.1</version>
266266
</dependency>
267267
<dependency>
268268
<groupId>org.openrewrite.recipe</groupId>
269269
<artifactId>rewrite-testing-frameworks</artifactId>
270-
<version>2.24.0</version>
270+
<version>3.1.0</version>
271271
</dependency>
272272
<dependency>
273273
<groupId>org.openrewrite.recipe</groupId>
274274
<artifactId>rewrite-static-analysis</artifactId>
275-
<version>1.22.0</version>
275+
<version>2.1.0</version>
276276
</dependency>
277277
</dependencies>
278278
</plugin>

src/main/java/com/sivalabs/bookstore/catalog/domain/ProductEntity.java

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,16 @@ public class ProductEntity {
2222
private Long id;
2323

2424
@Column(nullable = false, unique = true)
25-
@NotEmpty(message = "Product code is required")
26-
private String code;
25+
@NotEmpty(message = "Product code is required") private String code;
2726

28-
@NotEmpty(message = "Product name is required")
29-
@Column(nullable = false)
27+
@NotEmpty(message = "Product name is required") @Column(nullable = false)
3028
private String name;
3129

3230
private String description;
3331

3432
private String imageUrl;
3533

36-
@NotNull(message = "Product price is required") @DecimalMin("0.1")
37-
@Column(nullable = false)
34+
@NotNull(message = "Product price is required") @DecimalMin("0.1") @Column(nullable = false)
3835
private BigDecimal price;
3936

4037
public Long getId() {

src/main/java/com/sivalabs/bookstore/inventory/InventoryEntity.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ class InventoryEntity {
1919
private Long id;
2020

2121
@Column(name = "product_code", nullable = false, unique = true)
22-
@NotEmpty(message = "Product code is required")
23-
private String productCode;
22+
@NotEmpty(message = "Product code is required") private String productCode;
2423

2524
@Column(nullable = false)
2625
private Long quantity;

src/test/java/com/sivalabs/bookstore/TestcontainersConfiguration.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class TestcontainersConfiguration {
2222

2323
@Container
2424
static GenericContainer<?> zipkin =
25-
new GenericContainer<>(DockerImageName.parse("openzipkin/zipkin:3.4.3")).withExposedPorts(9411);
25+
new GenericContainer<>(DockerImageName.parse("openzipkin/zipkin:3.4.4")).withExposedPorts(9411);
2626

2727
@Bean
2828
@ServiceConnection

0 commit comments

Comments
 (0)