浏览代码

banner提交

‘xugp 2 年之前
父节点
当前提交
df180a5e47

+ 1 - 2
gateway/build.gradle

@@ -3,10 +3,9 @@ buildscript {
 
 dependencies {
     implementation project(":common:utils")
-    implementation("io.restful:restful-all:$nettyVersion")
+    implementation("io.netty:netty-all:$nettyVersion")
     implementation("$bootGroup:spring-boot-starter:$springBootVersion")
     implementation("com.google.code.gson:gson:$gsonVersion")
-    implementation("com.google.code.gson:gson:$gsonVersion")
     implementation("org.apache.logging.log4j:log4j-core:$log4jVersion")
     implementation("org.apache.logging.log4j:log4j-jul:$log4jVersion")
     implementation("org.apache.logging.log4j:log4j-api:$log4jVersion")

+ 0 - 1
gateway/src/main/java/com/gyee/edge/gateway/HttpServerApplication.java

@@ -9,7 +9,6 @@ import org.springframework.context.annotation.ComponentScan;
 
 @SpringBootApplication()
 @ComponentScan(includeFilters = @ComponentScan.Filter(NettyHttpHandler.class))
-
 public class HttpServerApplication {
 
     public static void main(String[] args) {

+ 0 - 2
gateway/src/main/resources/application.properties

@@ -1,2 +0,0 @@
-server.port=8080
-spring.application.name=netty-http-server

+ 5 - 0
gateway/src/main/resources/application.yaml

@@ -0,0 +1,5 @@
+server:
+  port: 8080
+spring:
+  application:
+  name: gateway

+ 6 - 0
gateway/src/main/resources/banner.txt

@@ -0,0 +1,6 @@
+   ______       _     _________  ________  ____      ____  _     ____  ____
+ .' ___  |     / \   |  _   _  ||_   __  ||_  _|    |_  _|/ \   |_  _||_  _|
+/ .'   \_|    / _ \  |_/ | | \_|  | |_ \_|  \ \  /\  / / / _ \    \ \  / /
+| |   ____   / ___ \     | |      |  _| _    \ \/  \/ / / ___ \    \ \/ /
+\ `.___]  |_/ /   \ \_  _| |_    _| |__/ |    \  /\  /_/ /   \ \_  _|  |_
+ `._____.'|____| |____||_____|  |________|     \/  \/|____| |____||______|

+ 2 - 2
settings.gradle

@@ -1,5 +1,5 @@
 rootProject.name = "edge"
 include "common:utils"
 include "gateway"
-include "gateway"
-include "gateway"
+include "bridge"
+include "loader"