Migrated the following modules to parent-boot-2:

spring-reactor
spring-quartz
This commit is contained in:
geroza 2018-12-21 13:39:11 -02:00
parent a1b5d77656
commit dcc054d6de
2 changed files with 11 additions and 4 deletions

View File

@ -27,7 +27,12 @@
<dependency> <dependency>
<groupId>io.projectreactor</groupId> <groupId>io.projectreactor</groupId>
<artifactId>reactor-bus</artifactId> <artifactId>reactor-bus</artifactId>
<version>2.0.8.RELEASE</version>
</dependency>
<dependency>
<groupId>io.projectreactor</groupId>
<artifactId>reactor-core</artifactId>
<version>2.0.8.RELEASE</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>

View File

@ -1,14 +1,16 @@
package com.baeldung.controller; package com.baeldung.controller;
import com.baeldung.doman.NotificationData;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable; import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import com.baeldung.doman.NotificationData;
import reactor.bus.Event; import reactor.bus.Event;
import reactor.bus.EventBus; import reactor.bus.EventBus;
@Controller @RestController
public class NotificationController { public class NotificationController {
@Autowired @Autowired