BAEL-19928: Move code to com.baeldung.reactorbus package

This commit is contained in:
Krzysiek 2020-01-08 20:41:16 +01:00
parent dee493a6eb
commit 5ecd92fd83
9 changed files with 17 additions and 17 deletions

View File

@ -1,4 +1,4 @@
package com.baeldung;
package com.baeldung.reactorbus;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

View File

@ -1,6 +1,6 @@
package com.baeldung;
package com.baeldung.reactorbus;
import com.baeldung.consumer.NotificationConsumer;
import com.baeldung.reactorbus.consumer.NotificationConsumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;

View File

@ -1,10 +1,10 @@
package com.baeldung.consumer;
package com.baeldung.reactorbus.consumer;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baeldung.domain.NotificationData;
import com.baeldung.service.NotificationService;
import com.baeldung.reactorbus.domain.NotificationData;
import com.baeldung.reactorbus.service.NotificationService;
import reactor.bus.Event;
import reactor.fn.Consumer;

View File

@ -1,11 +1,11 @@
package com.baeldung.controller;
package com.baeldung.reactorbus.controller;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RestController;
import com.baeldung.domain.NotificationData;
import com.baeldung.reactorbus.domain.NotificationData;
import reactor.bus.Event;
import reactor.bus.EventBus;

View File

@ -1,4 +1,4 @@
package com.baeldung.domain;
package com.baeldung.reactorbus.domain;
public class NotificationData {

View File

@ -1,6 +1,6 @@
package com.baeldung.service;
package com.baeldung.reactorbus.service;
import com.baeldung.domain.NotificationData;
import com.baeldung.reactorbus.domain.NotificationData;
public interface NotificationService {

View File

@ -1,9 +1,9 @@
package com.baeldung.service.impl;
package com.baeldung.reactorbus.service.impl;
import org.springframework.stereotype.Service;
import com.baeldung.domain.NotificationData;
import com.baeldung.service.NotificationService;
import com.baeldung.reactorbus.domain.NotificationData;
import com.baeldung.reactorbus.service.NotificationService;
@Service
public class NotificationServiceimpl implements NotificationService {

View File

@ -1,11 +1,11 @@
package org.baeldung;
package com.baeldung;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.test.context.junit4.SpringRunner;
import com.baeldung.NotificationApplication;
import com.baeldung.reactorbus.NotificationApplication;
@RunWith(SpringRunner.class)
@SpringBootTest(classes = NotificationApplication.class)

View File

@ -1,4 +1,4 @@
package com.baeldung;
package com.baeldung.reactorbus;
import org.junit.Test;
import org.junit.runner.RunWith;