redis - remote servie
This commit is contained in:
@@ -61,7 +61,7 @@ project(':web') {
|
||||
}
|
||||
}
|
||||
|
||||
project(':remote-server') {
|
||||
project(':remote-worker') {
|
||||
dependencies {
|
||||
compileOnly project(':remote-interface')
|
||||
}
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
package com.example.remoteserver;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication(scanBasePackages = {"com.example.remoteserver","com.example.remoteinterface" })
|
||||
public class RemoteServerApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(RemoteServerApplication.class, args);
|
||||
}
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.example.remoteserver;
|
||||
package com.example.remoteworker;
|
||||
|
||||
import com.example.remoteserver.service.RemoteService;
|
||||
import com.example.remoteworker.service.RemoteService;
|
||||
import com.example.remoteinterface.service.RemoteServiceInterface;
|
||||
import lombok.RequiredArgsConstructor;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -0,0 +1,12 @@
|
||||
package com.example.remoteworker;
|
||||
|
||||
import org.springframework.boot.SpringApplication;
|
||||
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||
|
||||
@SpringBootApplication(scanBasePackages = {"com.example.remoteworker","com.example.remoteinterface" })
|
||||
public class RemoteWorkerApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(RemoteWorkerApplication.class, args);
|
||||
}
|
||||
}
|
||||
@@ -1,4 +1,4 @@
|
||||
package com.example.remoteserver.service;
|
||||
package com.example.remoteworker.service;
|
||||
|
||||
import com.example.remoteinterface.service.RemoteServiceInterface;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
@@ -1,5 +1,5 @@
|
||||
rootProject.name = 'redis'
|
||||
include 'web'
|
||||
include 'remote-server'
|
||||
include 'remote-worker'
|
||||
include 'remote-interface'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user