Commit Graph

16 Commits

Author SHA1 Message Date
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
43ab42c2dc Add encryption features 2014-07-24 08:01:50 -07: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
de3acf6da0 Add test profile for server 2014-07-10 07:22:08 +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
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