From 016bbb8dcc6f7897a07ab4ae6ba8de4643429774 Mon Sep 17 00:00:00 2001
From: lsy <18332763730@163.com>
Date: Wed, 4 Oct 2017 21:45:25 +0800
Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=9C=8D=E5=8A=A1=E7=BD=91?=
=?UTF-8?q?=E5=85=B3=E6=A8=A1=E5=9D=97?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
gateway/.gitignore | 24 ++++
gateway/pom.xml | 113 ++++++++++++++++++
.../fast/gateway/GatewayApplication.java | 12 ++
.../src/main/resources/application.properties | 0
.../fast/gateway/GatewayApplicationTests.java | 16 +++
pom.xml | 1 +
6 files changed, 166 insertions(+)
create mode 100644 gateway/.gitignore
create mode 100644 gateway/pom.xml
create mode 100644 gateway/src/main/java/com/micro/fast/gateway/GatewayApplication.java
create mode 100644 gateway/src/main/resources/application.properties
create mode 100644 gateway/src/test/java/com/micro/fast/gateway/GatewayApplicationTests.java
diff --git a/gateway/.gitignore b/gateway/.gitignore
new file mode 100644
index 0000000..2af7cef
--- /dev/null
+++ b/gateway/.gitignore
@@ -0,0 +1,24 @@
+target/
+!.mvn/wrapper/maven-wrapper.jar
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+nbproject/private/
+build/
+nbbuild/
+dist/
+nbdist/
+.nb-gradle/
\ No newline at end of file
diff --git a/gateway/pom.xml b/gateway/pom.xml
new file mode 100644
index 0000000..2c82d1d
--- /dev/null
+++ b/gateway/pom.xml
@@ -0,0 +1,113 @@
+
+
+ 4.0.0
+
+ gateway
+ jar
+
+ gateway
+ micro fast gateway
+
+
+ com.micro.fast
+ micro-fast
+ 0.0.1-SNAPSHOT
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-starter-actuator
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-config
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-eureka
+
+
+ org.springframework.cloud
+ spring-cloud-starter-ribbon
+
+
+ org.springframework.cloud
+ spring-cloud-starter-feign
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-zuul
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-hystrix
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ org.projectlombok
+ lombok
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/gateway/src/main/java/com/micro/fast/gateway/GatewayApplication.java b/gateway/src/main/java/com/micro/fast/gateway/GatewayApplication.java
new file mode 100644
index 0000000..4bf698b
--- /dev/null
+++ b/gateway/src/main/java/com/micro/fast/gateway/GatewayApplication.java
@@ -0,0 +1,12 @@
+package com.micro.fast.gateway;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+
+@SpringBootApplication
+public class GatewayApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(GatewayApplication.class, args);
+ }
+}
diff --git a/gateway/src/main/resources/application.properties b/gateway/src/main/resources/application.properties
new file mode 100644
index 0000000..e69de29
diff --git a/gateway/src/test/java/com/micro/fast/gateway/GatewayApplicationTests.java b/gateway/src/test/java/com/micro/fast/gateway/GatewayApplicationTests.java
new file mode 100644
index 0000000..22cdb82
--- /dev/null
+++ b/gateway/src/test/java/com/micro/fast/gateway/GatewayApplicationTests.java
@@ -0,0 +1,16 @@
+package com.micro.fast.gateway;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.boot.test.context.SpringBootTest;
+import org.springframework.test.context.junit4.SpringRunner;
+
+@RunWith(SpringRunner.class)
+@SpringBootTest
+public class GatewayApplicationTests {
+
+ @Test
+ public void contextLoads() {
+ }
+
+}
diff --git a/pom.xml b/pom.xml
index a259195..3dfe8ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -83,6 +83,7 @@
org.projectlombok
lombok
${lombok.version}
+ provided