diff --git a/pom.xml b/pom.xml
index 923292c..aa54e65 100644
--- a/pom.xml
+++ b/pom.xml
@@ -12,6 +12,9 @@
0.0.1
pom
mall-ebtp-cloud
+
+ uboot-eureka
+
Parent pom providing dependency and plugin management for applications built with Maven
diff --git a/uboot-eureka/.gitignore b/uboot-eureka/.gitignore
new file mode 100644
index 0000000..549e00a
--- /dev/null
+++ b/uboot-eureka/.gitignore
@@ -0,0 +1,33 @@
+HELP.md
+target/
+!.mvn/wrapper/maven-wrapper.jar
+!**/src/main/**/target/
+!**/src/test/**/target/
+
+### STS ###
+.apt_generated
+.classpath
+.factorypath
+.project
+.settings
+.springBeans
+.sts4-cache
+
+### IntelliJ IDEA ###
+.idea
+*.iws
+*.iml
+*.ipr
+
+### NetBeans ###
+/nbproject/private/
+/nbbuild/
+/dist/
+/nbdist/
+/.nb-gradle/
+build/
+!**/src/main/**/build/
+!**/src/test/**/build/
+
+### VS Code ###
+.vscode/
diff --git a/uboot-eureka/pom.xml b/uboot-eureka/pom.xml
new file mode 100644
index 0000000..051127c
--- /dev/null
+++ b/uboot-eureka/pom.xml
@@ -0,0 +1,61 @@
+
+
+ 4.0.0
+
+ com.chinaunicom.ebtp
+ mall-ebtp-cloud
+ 0.0.1
+
+
+ com.chinaunicom.ebtp
+ uboot-eureka
+ 0.0.1-SNAPSHOT
+ uboot-eureka
+
+
+ 1.8
+ Hoxton.SR8
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-starter-netflix-eureka-server
+
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+ org.junit.vintage
+ junit-vintage-engine
+
+
+
+
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-dependencies
+ ${spring-cloud.version}
+ pom
+ import
+
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+
+
diff --git a/uboot-eureka/src/main/java/com/chinaunicom/ebtp/ubooteureka/UbootEurekaApplication.java b/uboot-eureka/src/main/java/com/chinaunicom/ebtp/ubooteureka/UbootEurekaApplication.java
new file mode 100644
index 0000000..549af0b
--- /dev/null
+++ b/uboot-eureka/src/main/java/com/chinaunicom/ebtp/ubooteureka/UbootEurekaApplication.java
@@ -0,0 +1,15 @@
+package com.chinaunicom.ebtp.ubooteureka;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
+
+@EnableEurekaServer
+@SpringBootApplication
+public class UbootEurekaApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(UbootEurekaApplication.class, args);
+ }
+
+}
diff --git a/uboot-eureka/src/main/resources/application.yml b/uboot-eureka/src/main/resources/application.yml
new file mode 100644
index 0000000..45687a9
--- /dev/null
+++ b/uboot-eureka/src/main/resources/application.yml
@@ -0,0 +1,14 @@
+server:
+ port: 8761 #指定该Eureka实例的端口
+ spring:
+ application:
+ name: uboot-eureka
+
+eureka:
+ instance:
+ hostname: localhost #设置当前实例的主机名称
+ client:
+ registerWithEureka: false #禁止注册自身
+ fetchRegistry: false #因为该服务没有注册到其他注册中心,所以关闭从注册中心拉取服务列表。
+ serviceUrl: #服务注册中心地址
+ defaultZone: http://${eureka.instance.hostname}:${server.port}/eureka/
\ No newline at end of file
diff --git a/uboot-eureka/src/test/java/com/chinaunicom/ebtp/ubooteureka/UbootEurekaApplicationTests.java b/uboot-eureka/src/test/java/com/chinaunicom/ebtp/ubooteureka/UbootEurekaApplicationTests.java
new file mode 100644
index 0000000..8c07b59
--- /dev/null
+++ b/uboot-eureka/src/test/java/com/chinaunicom/ebtp/ubooteureka/UbootEurekaApplicationTests.java
@@ -0,0 +1,13 @@
+package com.chinaunicom.ebtp.ubooteureka;
+
+import org.junit.jupiter.api.Test;
+import org.springframework.boot.test.context.SpringBootTest;
+
+@SpringBootTest
+class UbootEurekaApplicationTests {
+
+ @Test
+ void contextLoads() {
+ }
+
+}