Dave Syer
2c4dc7e0ce
Update to 1.1.0.M4
2015-12-22 09:28:33 +00:00
Dave Syer
b553443c70
Use the right cache for placeholder replaced repository locations
...
Fixes gh-310
2015-12-22 09:18:31 +00:00
Dave Syer
4a35526b97
Locate placeholder in resource search location correctly
...
Fixes gh-303
2015-12-21 12:16:21 +00:00
Dave Syer
a125393f27
Add some more docs on embedded config server
...
Fixes gh-280
2015-12-21 11:54:11 +00:00
Dave Syer
c97a8f5144
Ensure getLocations() is synchronized (just like findOne())
...
Concurrent access can be an issue with file locks in JGit (e.g.
see gh-261, which no-one reproduced, but smells like it's related).
2015-12-21 10:51:46 +00:00
Dave Syer
1c1ca02aad
Add some notes on windows file paths
...
Windows users hav eto be careful to use `file:///` prefix
for stuff in `${user.home}`.
Fixes gh-308
2015-12-21 09:45:46 +00:00
Dave Syer
99b6064dc7
Some clarifications on encryption and multiple keys
2015-12-18 10:23:28 +00:00
Dave Syer
9a65a2f1a8
Allow configuration of symmetric key in server outside bootstrap
...
There's no reason the encrypotor needs to be in the bootstrap context
so we can still support symmetric key encryption via /encrypt
and /decrypt without requiring it to be configured there. With
this change we just look for key properties in the current context
and create an encryptor the same way the bootstrap listener does
in spring-cloud-commons.
2015-12-18 10:17:52 +00:00
Dave Syer
f3acf50be2
Add escape of '{' to docs
2015-12-18 10:16:30 +00:00
Dave Syer
c7f1bef979
Merge branch '1.0.x'
2015-12-18 10:15:36 +00:00
Dave Syer
3951569aa2
Allow ciphers in overrides via escape of '{'
2015-12-18 10:15:20 +00:00
Dave Syer
834808d7ec
Allow ciphers in overrides via escape of '{'
2015-12-18 10:14:45 +00:00
Spencer Gibb
2a61e34258
Merge pull request #304 from snicoll/fix-doc
...
Polish doc
2015-12-17 10:02:54 -07:00
Stephane Nicoll
d4b4a8415b
Polish doc
2015-12-17 17:51:28 +01:00
Dave Syer
edcb153571
Support for multiple profiles in profile placeholders
...
In a file-based repository up to now we only support single profiles in
a placeholder. This change adds full support for multiple profiles in
the native profile and slightly limited support for git backends (only
the first profile to match an actual repository will be used to locate
the physical repository, but all profiles will be applied to the search
inside that repository).
2015-12-02 13:18:09 +00:00
Dave Syer
87a1e773a0
Support for placeholders in git and file URIs
...
The default git repository and also the native one (local files)
now support placeholders for {application}, {profile} and
{label} in the URI (searchLocation for the native repository).
Fixes gh-257
2015-12-02 11:46:30 +00:00
Dave Syer
ccdbfb04e6
Merge branch '1.0.x'
2015-12-01 18:09:11 +00:00
Steve West
d0616a976e
Fix bug where prefix keys (e.g. {name: value}) are not stripped
...
Also removing extraneous post-decrypt stripPrefix which was masking the encrypt bug.
Fixes gh-272
2015-12-01 18:08:55 +00:00
Steve West
a0e8338c38
Fix bug where prefix keys (e.g. {name: value}) are not stripped
...
Also removing extraneous post-decrypt stripPrefix which was masking the encrypt bug.
Fixes gh-272
2015-12-01 18:02:00 +00:00
Dave Syer
1c69c59705
Revert to snapshots
2015-11-17 12:09:56 +00:00
Dave Syer
5574535b07
Update to 1.1.0.M3
2015-11-17 12:09:08 +00:00
Spencer Gibb
d202f53c69
Bumped to 1.0.4.BUILD-SNAPSHOT
2015-11-16 10:05:06 -07:00
Dave Syer
eb97893b4c
Check for escaped labels in binary file paths as well
...
See gh-264
2015-11-12 16:51:11 +00:00
Dave Syer
c72e3857cd
Accept (_) escape for / in environment controller
...
Fixes gh-264
2015-11-12 15:57:38 +00:00
Dave Syer
15b5ca804e
Remove executable jar from distribution
...
It doesn't get used much and it has way too many optional dependencies
in it now.
2015-11-05 07:13:31 +01:00
Dave Syer
e9ef01bb95
Compiler warnings
2015-11-02 15:05:50 +00:00
Dave Syer
572522f645
Class name change in Spring Boot
2015-11-02 15:05:50 +00:00
Dave Syer
444a8cb39f
Update to 1.1.0.BUILD_SNAPSHOT again
2015-10-23 17:58:08 +01:00
Dave Syer
31d4326756
Update to 1.1.0.M2
2015-10-23 17:56:48 +01:00
Dave Syer
8dba793499
Fix test (changed format of /env endpoint)
2015-10-23 17:54:21 +01:00
Dave Syer
9b7771f9be
Revert profile and add comment
2015-10-20 09:34:47 -04:00
Dave Syer
26a06532c3
Remove confusing profile from settings.xml
2015-10-20 09:27:59 -04:00
Dave Syer
75d79fb7f5
Be defensive about null and empty search locations
2015-10-20 09:23:40 -04:00
Dave Syer
c0ddcd800e
Add support for binary file server via context negotation
...
If client sends "Accept: application/octet-stream" then the server
sends back a binary file (no placeholders and no text conversion)
2015-10-06 17:58:07 +01:00
Dave Syer
274c7cff49
Add note on using curl to test /encrypt and /decrypt
...
Fixes gh-246
2015-10-06 17:48:32 +01:00
Spencer Gibb
5ceca18292
Add version to environment response
...
Users see it logged by the config client, and it appears in the
Environment response from the config server. It's hard to add it
to the /env endpoint without some extension points in Boot.
Fixes gh-244, fixes gh-245
2015-10-02 11:40:22 +01:00
Dave Syer
d4ce149f2d
Refactor server into packages
...
Also removes getDefaultLabel() from EnvironmentRepository.
2015-10-01 11:21:17 +01:00
Dave Syer
b024788be9
Factor out encryption into a repository (not controller)
2015-10-01 11:21:17 +01:00
Spencer Gibb
309d1fbfbc
Add bitbucket webhook watch.
...
fixes gh-243
2015-09-30 13:00:50 -06:00
Dave Syer
cead15bf8d
Clarify profile-specific file paths
2015-09-30 17:58:00 +01:00
Dave Syer
4310cc2017
Fix test
2015-09-30 17:53:30 +01:00
Dave Syer
26085499c0
Enable github/lab webhooks by default
2015-09-30 17:42:51 +01:00
Dave Syer
faffb847a6
Use HttpHeaders explicitly in endpoint method
...
Otherwise headers become case sensitive in downstream code.
Fixes gh-240
2015-09-30 17:27:29 +01:00
Dave Syer
62846bda84
Add ResourceController for serving plain text config files
...
Can be adapted to serve content in any format (e.g. nginx config file,
XML configuration for logger, etc.) - basically anything that can be
stored in plain text and doesn't require streaming.
Fixes gh-147, see also gh-198
2015-09-30 15:00:37 +01:00
Dave Syer
02a9eb3cd7
Refactor base classes for EnvironmentRepository implementations
...
Allows us to re-use the Scm features independent of the repository
abstraction.
2015-09-29 17:08:04 +01:00
Dave Syer
7ca8d76e90
Ensure no errros if not monitoring local files
...
Fixes gh-239
2015-09-29 11:43:04 +01:00
Dave Syer
25dfa37612
Add support for matching profiles as well as applications
...
Patterns in the form {application}/{profile} are now supported with
the old behaviour being the default (all profiles matched if none
are specified).
Fixes gh-214
2015-09-25 10:37:34 +01:00
Dave Syer
da2b20c8be
Fix test broken by change in commons
2015-09-25 09:43:20 +01:00
Dave Syer
63e90d7d27
Remove extra call to git fetch
...
A pull is going to happen anyway, so it's probably just
unnecessary overhead.
Fixes gh-227
2015-09-25 09:26:49 +01:00
Dave Syer
df1f62374d
Remove dependency on spring-boot-starter
...
Fixes gh-116
2015-09-23 11:06:24 +01:00