diff --git a/apollo-dev/style/eclipse-java-google-style.xml b/apollo-dev/style/eclipse-java-google-style.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b889c237f486d4cc5eb33bf51e41f47d52b7fc42
--- /dev/null
+++ b/apollo-dev/style/eclipse-java-google-style.xml
@@ -0,0 +1,291 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/apollo-dev/style/intellij-java-google-style.xml b/apollo-dev/style/intellij-java-google-style.xml
new file mode 100644
index 0000000000000000000000000000000000000000..4ae482093df279cad55aa5038b4b9c7c4f6ee671
--- /dev/null
+++ b/apollo-dev/style/intellij-java-google-style.xml
@@ -0,0 +1,475 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/apollo-server/pom.xml b/apollo-server/pom.xml
index 3a523caeb1bd38560aeb084477defb082c6f4ea1..5f1a213b056b87175a1e2452598457c83ea4aaa5 100644
--- a/apollo-server/pom.xml
+++ b/apollo-server/pom.xml
@@ -15,5 +15,22 @@
com.ctrip.apollo
apollo-core
+
+ org.springframework.cloud
+ spring-cloud-starter-config
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
diff --git a/apollo-server/src/main/java/com/ctrip/apollo/ConfigServerApplication.java b/apollo-server/src/main/java/com/ctrip/apollo/ConfigServerApplication.java
new file mode 100644
index 0000000000000000000000000000000000000000..760591f5b7324a4557797f10c725cb0f3f50d3cd
--- /dev/null
+++ b/apollo-server/src/main/java/com/ctrip/apollo/ConfigServerApplication.java
@@ -0,0 +1,15 @@
+package com.ctrip.apollo;
+
+import org.springframework.boot.SpringApplication;
+import org.springframework.boot.autoconfigure.SpringBootApplication;
+import org.springframework.cloud.config.server.EnableConfigServer;
+
+@SpringBootApplication
+@EnableConfigServer
+public class ConfigServerApplication {
+
+ public static void main(String[] args) {
+ SpringApplication.run(ConfigServerApplication.class, args);
+ }
+
+}
diff --git a/apollo-server/src/main/resources/application.yml b/apollo-server/src/main/resources/application.yml
new file mode 100644
index 0000000000000000000000000000000000000000..f25852273d5ac6a08e38fff11e2c7bea3ce33f83
--- /dev/null
+++ b/apollo-server/src/main/resources/application.yml
@@ -0,0 +1,10 @@
+server:
+ port: 8888
+
+logging:
+ level:
+ org.springframework.cloud: 'DEBUG'
+
+spring:
+ profiles:
+ active: native
diff --git a/apollo-server/src/main/resources/bootstrap.yml b/apollo-server/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000000000000000000000000000000000000..196faa13a5a9412c4c5d9ae19613dbe88ff93a48
--- /dev/null
+++ b/apollo-server/src/main/resources/bootstrap.yml
@@ -0,0 +1,3 @@
+spring:
+ application:
+ name: apollo-server
\ No newline at end of file
diff --git a/pom.xml b/pom.xml
index 6775feb6a2b6b121738c08fb53f682ff5f1bec34..e23ebe81cbec4135547ad4a1733a9eff5165937f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -7,7 +7,6 @@
0.0.1
Apollo
pom
-
apollo-core
apollo-metaserver
@@ -55,9 +54,11 @@
- org.springframework.boot
- spring-boot-starter
- 1.3.3.RELEASE
+ org.springframework.cloud
+ spring-cloud-starter-parent
+ Angel.SR6
+ pom
+ import
mysql
@@ -65,12 +66,6 @@
5.1.38
-
- org.springframework.boot
- spring-boot-starter-test
- 1.3.3.RELEASE
- test
-
com.h2database
h2
@@ -89,8 +84,19 @@
http://maven.dev.sh.ctripcorp.com:8081/nexus/content/repositories/fxsnapshot
+
+
+ spring-milestones
+ Spring Milestones
+ https://repo.spring.io/libs-milestone
+
+ false
+
+
+
utf-8
+ 1.8