Commit Graph

341 Commits

Author SHA1 Message Date
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
Dave Syer
92cc01c029 Add INFO logging for config server URL in client
Fixes gh-232
2015-09-23 10:34:34 +01:00
Dave Syer
7bb178af2f Fix missing JSON resource 2015-09-23 10:27:02 +01:00
Dave Syer
38e58d7a80 Fix ordering problem in test 2015-09-23 09:58:15 +01:00
Dave Syer
8d8e07a78e Push events for config changes
Works from local repos or with explicit POST to /monitor with
path=<serviceId>, also supports webhooks from github and gitlab.
2015-09-22 17:33:42 +01:00
Spencer Gibb
dc5097b188 polish 2015-09-18 08:22:42 -06:00
Dave Syer
f5017cdbad Revert to snapshot 2015-09-08 10:21:35 +01:00
Dave Syer
aca20566be Update for M1 release 2015-09-08 10:12:42 +01:00
Jon Alme
b191b91322 Update property encryption content with note regarding omitting surrounding quotes when saving encrypted value in .properties file. 2015-09-08 09:36:23 +01:00
Dave Syer
33f5cfcdef Line ending changes after gh-221 2015-09-05 10:02:58 +01:00
Dave Syer
0247d69a90 Fix build on Windows (git attributes)
Fixes gh-221
2015-09-04 10:03:17 +01:00
Dave Syer
ea13048e79 Fix parent pom reference
(Prevents building from a fresh clone but not if already cached
the parent.)

Fixes gh-223
2015-09-04 09:55:34 +01:00
Dave Syer
14be630f62 Add javadocs for cloneOnStart 2015-09-04 09:52:42 +01:00
Dave Syer
950386dddf Merge branch '1.0.x' 2015-09-04 09:49:02 +01:00
Dave Syer
7b0fb5df5e Make timeout configurable
Fixes gh-225
2015-09-04 09:48:28 +01:00
Dave Syer
eea364675c Merge branch '1.0.x' 2015-08-25 15:20:58 +01:00
Dave Syer
e1ebe46130 Make ghpages.sh work on a branch 2015-08-25 15:16:55 +01:00
Spencer Gibb
ea2336bb33 Added LICENSE.txt 2015-08-20 16:08:27 -06:00
Dave Syer
acbf3c1166 Adapt NativeEnvironmentRepository to changes in Spring Boot 1.3
The ConfigFileApplicationListener was refactored into a new callback
specifically for messing with the Environment before refresh.
2015-08-18 09:13:30 +01:00
Dave Syer
a964a2840a Fix typo 2015-08-14 11:11:31 +01:00
Dave Syer
c7a2e9039d Update readmes 2015-08-14 11:09:51 +01:00
Dave Syer
6bd2695cc6 Add Maven wrapper 2015-08-14 10:05:51 +01:00
Dave Syer
f1c8ad6f78 Merge branch '1.0.x' 2015-08-13 13:39:35 +01:00
Dave Syer
91b8eab027 Clarify some configuration in documentation
Some of the examples used to illustrate multi-git configuration
are apparently confusing. This change adds some clarification.

Fixes gh-213
2015-08-13 13:38:52 +01:00
Spencer Gibb
2818859c1a Merge pull request #189 from steve-oakey/gh-188
* gh-188:
  Made all RequestMappings GET method only
2015-08-12 10:47:07 -06:00
Stephen Oakey
c17d782ec8 Made all RequestMappings GET method only
Request methods for all calls should be GET only.
2015-08-12 10:34:58 -06:00
Aizhan
54e279ad93 avoid throwing htpp 404 error 2015-08-12 09:11:01 -06:00
Spencer Gibb
fb706e327c Merge pull request #212 from atoregozh/master
* atoregozh-master:
  avoid throwing htpp 404 error
2015-08-12 09:08:57 -06:00
Aizhan
4aaf8cd188 avoid throwing htpp 404 error 2015-08-12 09:06:25 -06:00
Spencer Gibb
6bac89ae85 Merge pull request #207 from davidmorley/master
Fix typo 'encypt' -> 'encrypt'
2015-08-05 11:59:39 -06:00
David Morley
928944fffd Fix typo 'encypt' -> 'encrypt' 2015-07-31 09:26:23 -07:00
Dave Syer
c6f880077a Remove link to included contributing guide 2015-07-31 11:33:28 +01:00
Dave Syer
922ad890ce Clarify role of ConfigServerBootstrapApplicationListener in javadoc 2015-07-28 13:20:12 +01:00
Dave Syer
34b7c40660 Add more detailed quickstart for config server 2015-07-28 07:32:08 +01:00
Spencer Gibb
93bc26fad9 polish 2015-07-27 14:51:08 -06:00
Dave Syer
f4e3b998a1 Merge branch '1.0.x' 2015-07-24 10:11:21 +01:00
Dave Syer
d888333667 Add docs on config client retry
Fixes gh-199
2015-07-24 10:10:54 +01:00