296 Commits

Author SHA1 Message Date
Dave Syer
64b6b8d8b1 Use value prefix instead of key suffix 2014-08-27 18:55:28 +01:00
Dave Syer
845852b25f Update to Boot 1.1.5 2014-08-08 09:36:36 -07:00
Dave Syer
8572d89b65 Add support for jks keystore upload 2014-08-03 10:16:07 -07:00
Dave Syer
b0c3642d36 Use @EnableConfigServer 2014-08-01 15:00:31 -07:00
Dave Syer
2b2cbf2247 Fix git tests 2014-07-31 19:42:30 -07:00
Dave Syer
d28f883dc8 Add support for keystore in server
E.g.

encrypt.keystore.location: file:///var/keys/keystore.jks
encrypt.keystore.password: ${KEYSTORE_PASSWORD}
encrypt.keystore.alias: myKey

Fixes gh-3
2014-07-30 15:32:50 -07:00
Dave Syer
fd600f3112 Add RSA build to pre_install 2014-07-30 13:04:54 -07:00
Dave Syer
0143464915 Add support for git tags as labels 2014-07-30 12:46:07 -07:00
Dave Syer
dc950bed9e Add tests for git branch checkout
There is now a git repository (with .git renamed to "git" to avoid
confusing git on the command line) in the test resources. The git
environment reporitory tests use it to test checking out labels.

Fixes gh-2
2014-07-30 11:28:10 -07:00
Dave Syer
86ab7ef3df Ensure profiles are used when fetching remote config 2014-07-28 08:46:21 -07:00
Dave Syer
43ab42c2dc Add encryption features 2014-07-24 08:01:50 -07:00
Dave Syer
77fb00cb3c Fix env vars 2014-07-20 17:29:16 +01:00
Dave Syer
832a718dd3 Add travis build 2014-07-20 17:17:22 +01:00
Dave Syer
5e41506bc8 Add snapshot repository (temporary) 2014-07-20 16:45:19 +01:00
Dave Syer
667d96b276 Prevent System properties in server from affecting profiles 2014-07-20 16:29:12 +01:00
Dave Syer
8d17a9bed1 name->profile 2014-07-18 17:59:21 +01:00
Dave Syer
73e3f64b6e Do a pull to refresh remote config 2014-07-17 11:35:21 +01:00
Dave Syer
c4e7ee7abc Add "application" to config search path in server
This is incredibly useful in a distributed system: all components get the
shared config in "application.yml" (for instance) as well as their specific
values per spring.application.name.
2014-07-17 08:29:04 +01:00
Dave Syer
67c0aa9dbf Ensure /refresh reloads bootstrap configurations
Some changes a while back had switched off refreshing the bootstrap config
(because of the way it was being detected in an existing environment to prevent
an infinite loop). This change fixes that by adding a dummy property source
during bootstrap and then removing it again.
2014-07-17 08:26:10 +01:00
Dave Syer
de3acf6da0 Add test profile for server 2014-07-10 07:22:08 +01:00
Dave Syer
5d230d7564 Add support for rebinding log levels 2014-07-08 13:07:44 +01:00
Dave Syer
f8497e62c7 Correct type in port for test 2014-07-07 15:36:55 +01:00
Dave Syer
aa651c606c Enable EnvironmentManeger to survive restarts 2014-06-27 22:17:35 +01:00
Dave Syer
09fd8d5880 Use log level config in application.yml 2014-06-27 17:00:32 +01:00
Dave Syer
841815abcc Fix concurrency error in test 2014-06-27 12:26:55 +01:00
Dave Syer
95b7db0ac9 Make /refresh POST only and extend to non-bootstrap properties 2014-06-27 12:04:06 +01:00
Dave Syer
9bf40dcc3e Prevent class loading issue when integration not available 2014-06-27 10:36:17 +01:00
Dave Syer
7b170c1e5c Update to Boot snapshots 2014-06-27 10:35:59 +01:00
Dave Syer
21e9fc2961 Add Spring Integration to shutdown 2014-06-27 08:33:55 +01:00
Dave Syer
c3c2f0b43f Isolate refresh/resume/pause/restart endpoints 2014-06-26 16:34:03 +01:00
Dave Syer
fe8ff8fd8c Update to Boot 1.1.3 2014-06-25 13:52:38 +01:00
Dave Syer
9787e36b06 Ensure app doesn't barf when actuator missing 2014-06-24 18:20:20 +01:00
Dave Syer
0515fcc0ac Add /restart endpoint 2014-06-24 18:20:20 +01:00
Spencer Gibb
9f31666277 add idea spore to .gitignore 2014-06-17 13:49:42 -06:00
Dave Syer
acfcf7f701 Refactor command line args into server.yml 2014-06-17 12:49:24 +01:00
Dave Syer
f23a679ac9 Only enable /refresh in an Actuator app 2014-06-16 14:56:23 +01:00
Dave Syer
d9afc0cc18 Update readmes 2014-06-16 14:41:25 +01:00
Dave Syer
04c2bba3db Add RefreshEndpoint 2014-06-16 14:16:00 +01:00
Dave Syer
d8c51cec81 Add fetch() to existing repository 2014-06-15 10:37:13 +01:00
Dave Syer
7c50e413eb Separate spring.platform.[config,config.server] 2014-06-14 23:15:18 +01:00
Dave Syer
5bea0ccc0f Add sample app 2014-06-14 19:54:07 +01:00
Dave Syer
c4e71d8eea Update docs and add uri parameter 2014-06-14 14:34:02 +01:00
Dave Syer
5dbf017d99 Add GIT repository support
Default to a scratch repository on github:

$ curl localhost:8888/foo/development
{"name":"development","label":"master","propertySources":[
  {"name":"https://github.com/scratches/config-repo/foo-development.properties","source":{"bar":"spam"}},
  {"name":"https://github.com/scratches/config-repo/foo.properties","source":{"foo":"bar"}}
]}
2014-06-14 14:26:04 +01:00
Dave Syer
06bee89703 Add README 2014-06-13 18:09:48 +01:00
Dave Syer
5d8abad123 Add Environment abstraction 2014-06-13 17:58:21 +01:00
Dave Syer
c6cee8a8cc Initial commit 2014-06-13 14:44:18 +01:00