Commit Graph

119 Commits

Author SHA1 Message Date
Dave Syer
ea90838dd3 Add secrets to .travis.yml 2014-11-10 14:10:05 +00:00
Dave Syer
91e1ddc9a3 Add fail fast flag for config client if local decryption fails
On the server we choose not to fail if a property cannot be decrypted (clients
might be relying on the other values to be able to deal with the failure).

Fixes gh-31
2014-11-10 09:57:45 +00:00
Dave Syer
9d55ef84d0 Extract config server properties to Java bean
ConfigServerProperties is now used to store global properties
for the config server (like the path prefix and bootstrap flag)
under spring.cloud.config.server.* so git specific ones have
been pushed down to spring.cloud.config.server.git.* (similarly
for git->native).

At the same time introduce spring.cloud.config.server.defaultLabel
for the deafult git label (defaults to "master").

Fixes gh-28
2014-11-10 08:46:02 +00:00
Dave Syer
04b6cd0f13 Add some docs for config server 2014-11-08 19:28:46 +00:00
Dave Syer
4c7cc73671 Add self-bootstrap feature for embedded config server
Also switch to use SpringApplicationEnvironmentRepository
in "native" profile (it's more useful as a "getting started"
tool).

Fixes gh-21, fixes gh-33
2014-11-08 13:12:18 +00:00
Dave Syer
b6f22b83c7 Strip prefix in info rebinding 2014-11-06 14:14:53 +00:00
Dave Syer
54434bd71e Update README with "Building" instructions
Fixes gh-13
2014-10-31 15:41:46 +00:00
Dave Syer
ccf4da59c2 More detail on context hierarchies 2014-10-31 08:54:55 +00:00
Dave Syer
9efae007fa Add Environment to ProeprtySourceLocator.locate()
In this way each contexet in a hierarchy can in principle have a different
set of property sources
2014-10-30 11:43:00 +00:00
Dave Syer
010d29c124 Fix application name always being "bootstrap" 2014-10-30 07:17:02 +00:00
Dave Syer
84962cefca Add spring.cloud.config.server.prefix
Fixes gh-23
2014-10-29 15:13:12 +00:00
Dave Syer
ec0108f867 Clarify role of spring.application.name and context hierarchies
Also allow override of bootstrap properties location using
spring.cloud.config.*.

Fixes gh-22
2014-10-29 14:59:48 +00:00
Dave Syer
d564e8dda0 Add docs for Eureka first config bootstrap 2014-10-26 15:47:33 +00:00
Dave Syer
c966bfe3c4 Add spring.cloud.config.discovery.* configuration properties 2014-10-26 15:36:35 +00:00
Dave Syer
09bdb001d7 Make server tests work offline 2014-10-26 10:42:51 +00:00
Dave Syer
19cd6be001 Add @Order to the default property source locator 2014-10-25 08:15:58 +01:00
Joshua Morris
889e62e248 Added the option to use a username and password
Fixes gh-19
2014-10-24 16:49:07 +01:00
Ernesto Hdez
fb17155b7d Avoid ConcurrentModificationException when decrypting
Fixes gh-20
2014-10-24 16:47:05 +01:00
Dave Syer
596420ff4f Upgrade to Boot 1.1.8 2014-10-23 07:34:17 -07:00
Dave Syer
1ece7ab803 Make executable jar work better as an embeddable
I think it's a good idea to provide an executable jar (good
getting started experience), but it wasn't working very well.
The biggest problem was the missing main() method, but that
was easy to fix. More interestingly I have changed the default
config name to "configserver" so "configserver.yml" is loaded
to set the default config for the standalone jar, and this file
can easily be ignored in a customized server.

Fixes gh-17
2014-10-23 05:26:05 -07:00
Dave Syer
5bb361e806 Add .properties and .yml endpoint 2014-10-22 06:27:17 -07:00
Spencer Gibb
0b6be00fee Merge pull request #11 from boostrack/patch-1
Update spring-cloud-config.adoc
2014-10-17 17:21:36 -07:00
Spencer Gibb
3808213f5c Merge pull request #16 from achudzik/missingAsciiDoctorGem
[#15] Installation of asciidoctor added to travis's before_install
2014-10-17 17:21:12 -07:00
Adam Chudzik
414cd21f07 [#15] Installation of asciidoctor added to travis's before_install 2014-10-16 15:12:44 +02:00
Dave Syer
43956df9af Tidy (mostly pom warnings) 2014-10-14 17:34:28 +01:00
Dave Syer
f5d8c4b65c Simplify README generator 2014-10-14 13:05:01 +01:00
Dave Syer
99eb1606c7 Remove obsolete README 2014-10-13 16:56:24 +01:00
Dave Syer
3f05eddc42 Expunge .platform. from config project
Fixes gh-12
2014-10-13 14:16:47 +01:00
Dave Syer
0800d33a75 Update bootstraps for cloud foundry 2014-10-13 14:02:38 +01:00
Dave Syer
5d15afabe5 Add HTTP Basic security 2014-10-10 15:57:50 +01:00
boostrack
a249e3e8a2 Update spring-cloud-config.adoc
fix typo
2014-10-08 16:18:18 +02:00
Dave Syer
b6ba221aea Add scm element to POM 2014-10-07 11:18:04 +01:00
Dave Syer
548157ef97 Move docs to submodule for multi-module projects 2014-10-06 15:02:01 +01:00
Dave Syer
a9a97d9351 Extract repositories to .settings.xml 2014-10-06 13:02:33 +01:00
Dave Syer
4c02da8363 Add CI creds to secure travis vars 2014-10-06 12:09:51 +01:00
Dave Syer
0939e762d9 Add snapshot repos (yawn) 2014-10-06 11:45:37 +01:00
Dave Syer
9bd6f11df3 Special treatment for local repository 2014-10-06 11:39:40 +01:00
Dave Syer
632492d6f0 Automate docs build with shared parent pom 2014-10-06 11:22:20 +01:00
Dave Syer
3549362aee Update travis build for docs sync 2014-10-06 09:15:51 +01:00
Dave Syer
1fe42c1fe1 Add gh pages to travis to sync docs 2014-10-06 07:54:04 +01:00
Dave Syer
da7522c25a Update for new security module 2014-10-03 16:02:30 +01:00
Dave Syer
65778b2b45 Update docs 2014-10-03 11:25:02 +01:00
Dave Syer
49861b88c2 Add example PropertySourceLocator
Fixes gh-10
2014-10-02 11:50:10 +01:00
Dave Syer
1dc89582a8 Fix formatting errors 2014-10-02 11:39:10 +01:00
Dave Syer
9730c84b6d Fix platform->cloud for config.uri 2014-10-01 15:06:56 +01:00
Dave Syer
ad32fe5974 Fix Guardfile 2014-10-01 15:00:20 +01:00
Dave Syer
f29859c252 Fix Guardfile 2014-10-01 14:56:17 +01:00
Dave Syer
f27b6abce6 Extract URI from File before using it to search for config files
Fixes gh-8
2014-10-01 11:33:34 +01:00
Dave Syer
f255051901 Add _site to .gitignore 2014-09-30 10:01:18 +01:00
Dave Syer
0b324ee40b Add maven processor for docs 2014-09-29 18:09:40 +01:00