Move README to src/main/asciidoc

This commit is contained in:
Dave Syer
2014-09-29 14:12:56 +01:00
parent a92a23aef8
commit 4705d7ff6e
4 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,4 @@
= Spring Cloud Config
// Do not edit this file (go to /home/dsyer/dev/cloud/scripts/config/src/main/ruby/../../../src/main/asciidoc/README.adoc instead)
Spring Cloud Config provides server and client-side support for externalized configuration in a distributed system. With the Config Server you have a central place to manage external properties for applications across all environments. The concepts on both client and server map identically to the Spring `Environment` and `PropertySource` abstractions, so they fit very well with Spring applications, but can be used with any application running in any language. As an application moves through the deployment pipeline from dev to test and into production you can manage the configuration between those environments and be certain that applications have everything they need to run when they migrate. The default implementation of the server storage backend uses git so it easily supports labelled versions of configuration environments, as well as being accessible to a wide range of tooling for managing the content. It is easy to add alternative implementations and plug them in with Spring configuration.
@@ -96,7 +95,7 @@ repository>/<file name>" contains the property "foo" with value
=== Sample Application
There is a sample application
https://github.com/spring-cloud/spring-cloud-config-sample[here]. It
https://github.com/spring-cloud/spring-cloud-config/tree/master/spring-cloud-config-sample[here]. It
is a Spring Boot application so you can run it using the usual
mechanisms (for instance "mvn spring-boot:run"). When it runs it will
look for the config server on "http://localhost:8888" by default, so

View File

@@ -68,7 +68,6 @@
<artifactId>replacer</artifactId>
<version>1.5.3</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
@@ -88,6 +87,7 @@
<goals>
<goal>run</goal>
</goals>
<inherited>false</inherited>
<configuration>
<tasks>
<java classname="org.jruby.Main" failonerror="yes">

View File

@@ -1,4 +1,3 @@
= Spring Cloud Config
include::intro.adoc[]

View File

@@ -31,7 +31,7 @@ module SpringCloud
def render_file file, options = {}
srcDir = File.dirname(file)
out = []
out = ["// Do not edit this file (go to #{file} instead)",""]
File.new(file).each do |line|
self.process(out, srcDir, line)
end