Skip to content

Commit dcc054d

Browse files
committed
Migrated the following modules to parent-boot-2:
spring-reactor spring-quartz
1 parent a1b5d77 commit dcc054d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

spring-reactor/pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@
2727
<dependency>
2828
<groupId>io.projectreactor</groupId>
2929
<artifactId>reactor-bus</artifactId>
30+
<version>2.0.8.RELEASE</version>
31+
</dependency>
32+
<dependency>
33+
<groupId>io.projectreactor</groupId>
34+
<artifactId>reactor-core</artifactId>
35+
<version>2.0.8.RELEASE</version>
3036
</dependency>
3137
</dependencies>
32-
3338
</project>

spring-reactor/src/main/java/com/baeldung/controller/NotificationController.java

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,16 @@
11
package com.baeldung.controller;
22

3-
import com.baeldung.doman.NotificationData;
43
import org.springframework.beans.factory.annotation.Autowired;
5-
import org.springframework.stereotype.Controller;
64
import org.springframework.web.bind.annotation.GetMapping;
75
import org.springframework.web.bind.annotation.PathVariable;
6+
import org.springframework.web.bind.annotation.RestController;
7+
8+
import com.baeldung.doman.NotificationData;
9+
810
import reactor.bus.Event;
911
import reactor.bus.EventBus;
1012

11-
@Controller
13+
@RestController
1214
public class NotificationController {
1315

1416
@Autowired

0 commit comments

Comments
 (0)