chenweida 6 anni fa
parent
commit
0091e07603

+ 1 - 1
demo/demo-socket-client/pom.xml

@ -10,7 +10,7 @@
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>demo-socket-client</artifactId>
    <artifactId>demo-admin-client</artifactId>
    <dependencies>
        <dependency>

demo/demo-socket-client/src/main/java/com/yihu/client/DemoSocketClientApplication.java → demo/demo-admin-client/src/main/java/com/yihu/client/DemoSocketClientApplication.java


demo/demo-socket-client/src/main/java/com/yihu/client/config/SwaggerConfig.java → demo/demo-admin-client/src/main/java/com/yihu/client/config/SwaggerConfig.java


demo/demo-socket-client/src/main/java/com/yihu/client/controller/DemoController.java → demo/demo-admin-client/src/main/java/com/yihu/client/controller/DemoController.java


demo/demo-socket-client/src/main/resources/application.yml → demo/demo-admin-client/src/main/resources/application.yml


+ 5 - 1
demo/demo-eureka/pom.xml

@ -10,7 +10,7 @@
    </parent>
    <modelVersion>4.0.0</modelVersion>
    <artifactId>demo-eureka</artifactId>
    <artifactId>demo-admin-server</artifactId>
    <dependencies>
        <dependency>
@ -28,6 +28,10 @@
            <artifactId>admin-server-starter</artifactId>
            <version>1.2.0</version>
        </dependency>
        <dependency>
            <groupId>org.springframework.cloud</groupId>
            <artifactId>spring-cloud-starter-netflix-eureka-server</artifactId>
        </dependency>
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>

demo/demo-eureka/src/main/java/com/demo/DemoEurekaApplication.java → demo/demo-admin-server/src/main/java/com/demo/DemoEurekaApplication.java


demo/demo-eureka/src/main/java/com/demo/config/SwaggerConfig.java → demo/demo-admin-server/src/main/java/com/demo/config/SwaggerConfig.java


+ 1 - 1
demo/demo-eureka/src/main/resources/application.yml

@ -1,5 +1,5 @@
server:
  port: 8082
  port: 8761
spring:
  application:

+ 2 - 2
demo/pom.xml

@ -37,9 +37,9 @@
    <modules>
        <module>/demo</module>
        <module>/demo-eureka</module>
        <module>/demo-admin-client</module>
        <module>/demo-admin-server</module>
        <module>/demo-lwb</module>
        <module>/demo-socket-client</module>
        <module>/demo-router</module>
    </modules>