diff --git a/configserver/pom.xml b/configserver/pom.xml
new file mode 100644
index 0000000..9be0006
--- /dev/null
+++ b/configserver/pom.xml
@@ -0,0 +1,106 @@
+
+
+ 4.0.0
+
+ org.springframework.cloud
+ spring-cloud-sample-configserver
+ jar
+
+ spring-cloud-sample-configserver
+ Demo project for Spring Cloud
+
+
+ org.springframework.cloud
+ spring-cloud-starter-parent
+ Angel.SR4
+
+
+
+
+ UTF-8
+ 1.7
+
+
+
+
+ org.springframework.cloud
+ spring-cloud-config-server
+
+
+ org.springframework.boot
+ spring-boot-starter-test
+ test
+
+
+
+
+
+
+ org.springframework.boot
+ spring-boot-maven-plugin
+
+
+
+ maven-deploy-plugin
+
+ true
+
+
+
+
+
+
+
+ spring-snapshots
+ Spring Snapshots
+ http://repo.spring.io/libs-snapshot-local
+
+ true
+
+
+
+ spring-milestones
+ Spring Milestones
+ http://repo.spring.io/libs-milestone-local
+
+ false
+
+
+
+ spring-releases
+ Spring Releases
+ http://repo.spring.io/release
+
+ false
+
+
+
+
+
+ spring-snapshots
+ Spring Snapshots
+ http://repo.spring.io/libs-snapshot-local
+
+ true
+
+
+
+ spring-milestones
+ Spring Milestones
+ http://repo.spring.io/libs-milestone-local
+
+ false
+
+
+
+ spring-releases
+ Spring Releases
+ http://repo.spring.io/release
+
+ false
+
+
+
+
+
diff --git a/configserver/src/main/config/application.yml b/configserver/src/main/config/application.yml
new file mode 100644
index 0000000..e69de29
diff --git a/configserver/src/main/java/demo/ConfigServerApplication.java b/configserver/src/main/java/demo/ConfigServerApplication.java
new file mode 100644
index 0000000..98cb9f3
--- /dev/null
+++ b/configserver/src/main/java/demo/ConfigServerApplication.java
@@ -0,0 +1,15 @@
+package demo;
+
+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/configserver/src/main/resources/application.yml b/configserver/src/main/resources/application.yml
new file mode 100644
index 0000000..79d5ceb
--- /dev/null
+++ b/configserver/src/main/resources/application.yml
@@ -0,0 +1,11 @@
+server:
+ port: 8888
+spring:
+ cloud:
+ config:
+ server:
+ git:
+ uri: https://github.com/spring-cloud-samples/config-repo
+ encrypt:
+ enabled: false
+
\ No newline at end of file
diff --git a/configserver/src/main/resources/bootstrap.yml b/configserver/src/main/resources/bootstrap.yml
new file mode 100644
index 0000000..d97f6fd
--- /dev/null
+++ b/configserver/src/main/resources/bootstrap.yml
@@ -0,0 +1,22 @@
+spring:
+ application:
+ name: configserver
+
+---
+spring:
+ profiles: default
+
+encrypt:
+ key: ${SECRET_KEY:foo} # normally this would be an environment variable
+
+---
+spring:
+ profiles: rsa
+
+encrypt:
+ failOnError: false
+ keyStore:
+ location: classpath:keystore.jks
+ password: ${KEYSTORE_PASSWORD:foobar} # don't use a default in production
+ alias: test
+
diff --git a/configserver/src/main/resources/keystore.jks b/configserver/src/main/resources/keystore.jks
new file mode 100644
index 0000000..0ad98ea
Binary files /dev/null and b/configserver/src/main/resources/keystore.jks differ
diff --git a/configserver/src/test/java/demo/ConfigServerApplicationTests.java b/configserver/src/test/java/demo/ConfigServerApplicationTests.java
new file mode 100644
index 0000000..55a4328
--- /dev/null
+++ b/configserver/src/test/java/demo/ConfigServerApplicationTests.java
@@ -0,0 +1,20 @@
+package demo;
+
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.springframework.boot.test.SpringApplicationConfiguration;
+import org.springframework.test.annotation.DirtiesContext;
+import org.springframework.test.context.junit4.SpringJUnit4ClassRunner;
+import org.springframework.test.context.web.WebAppConfiguration;
+
+@RunWith(SpringJUnit4ClassRunner.class)
+@SpringApplicationConfiguration(classes = ConfigServerApplication.class)
+@WebAppConfiguration
+@DirtiesContext
+public class ConfigServerApplicationTests {
+
+ @Test
+ public void contextLoads() {
+ }
+
+}
diff --git a/pom.xml b/pom.xml
index 3801ccc..a634150 100644
--- a/pom.xml
+++ b/pom.xml
@@ -21,6 +21,7 @@
config-client
config-client-decrypt
config-retry
+ configserver
configserver-eureka
eureka-first
eureka-noweb