Commit Graph

76 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
34b7c40660 Add more detailed quickstart for config server 2015-07-28 07:32:08 +01: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
Dave Syer
ac236bc19d Merge branch '1.0.x' 2015-07-24 09:40:56 +01:00
Dave Syer
12384db4ea Fix sample JSON at end of quickstart
To avoid confusion, the git repository location now matches the one
in the server sample above.

Fixes gh-200
2015-07-24 09:40:32 +01:00
Dave Syer
14236e3837 Merge branch '1.0.x' 2015-07-18 10:00:06 +01:00
Dave Syer
232e450929 Correct user guide env->profile 2015-07-17 22:16:52 +01:00
Dave Syer
3e46e64e87 Update to Brixton 2015-06-26 12:57:05 +01:00
Dave Syer
1a0e6689dc Prepare master for next snapshot 2015-06-26 10:57:18 +01:00
Dave Syer
77b5598cf5 Fix location of asciidoc src code in README 2015-06-25 12:13:02 +01:00
Dave Syer
0834917275 Support for git labels with slashes ("/")
Spring MVC can't match a pattern with a slash in it so we support
a special character sequence "(_)" which is legal in a URL
but hopefully rare in a git label.

Fixes gh-154
2015-06-24 14:19:13 +01:00
Dave Syer
1504d6cb0c Provide options for key rotation and per-app cryptography
Cipher text (and plain text in the /encrypt endpoint) can now
carry a prefix of {name:value} pairs, all of which are passed
into the TextEncryptorLocator (instead of just the app name
and profiles).

The inputs are prepared symmetrically by the EncryptionController
(if used) and the EnvironmentEncryptor (used in the EnvironmentController).

Tidy up docs and add notes on keys.
2015-06-12 10:15:09 +01:00
Alex Corvino
fdf6689e90 Add option to clone repositories on start
On startup the server will clone all git repositories if the property
"spring.cloud.config.server.git.cloneOnStart" is set to true. If the
property is not set or is set to false then the server will behave
as it does currently.

Fixes gh-149
2015-06-10 09:33:47 +01:00
Spencer Gibb
1f7d698897 Updated to reference new s-c-starter-config.
Updated versions of boot and s-c-starter-parent in example pom.xml.
2015-05-28 09:12:40 -06:00
Dave Syer
ce3a20d262 Allow label to be a comman-separated list on config client
The client will search through a list of labels until it finds one
that succeeds, otherwise fail.

Fixes gh-153
2015-05-19 12:51:10 +01:00
Spencer Gibb
fb1f28fb84 quote the cipher text
fixes gh-144
2015-05-05 09:41:44 -06:00
Spencer Gibb
242baae663 add a configurable health indicator for the Config Server
fixes gh-142
2015-05-04 13:32:51 -06:00
Dave Syer
5d1af78f91 Update to 1.0.2 snapshots 2015-04-23 11:11:21 +01:00
Spencer Gibb
8c12408fba fixed typo
fixes gh-125
2015-04-13 08:06:54 -06:00
Dave Syer
91d12e7c56 Fix grammar 2015-03-31 10:55:41 +01:00
Dave Syer
cef828b544 Fix formatting and clarify use of searchPaths in config server
See gh-117
2015-03-27 12:29:54 +00:00
Dave Syer
2845b26eed Add link to github in rendered docs 2015-03-20 11:46:14 +00:00
Dave Syer
d72d4c06a6 Update docs for native repo
Fixes gh-109
2015-03-19 17:54:07 +00:00
Dave Syer
7b6fdb5f72 Re-organize non-config concerns in spring-cloud-context
Fixes gh-110 See gh-104
2015-03-19 11:49:33 +00:00
Dave Syer
4ae639c351 Extra docs for embeddable config server
Fixes gh-100
2015-03-11 10:32:02 +00:00
Dave Syer
bcef73bc98 Add encrypt.keyStore.secret property
So that the keystore and the key can have independent secrets
(the "secret" is the key, and the "password" is the store).

Fixes gh-98
2015-03-09 22:15:41 +00:00
Dave Syer
742cb478ba Add bintray properties 2015-03-05 16:28:10 +00:00
Dave Syer
d4553f6a57 Update to next snapshot 2015-03-03 14:56:26 +00:00
Dave Syer
fc82c93175 Add explicit ref to serviceId for disovery 2015-02-23 15:40:10 +00:00
Dave Syer
346e5746c7 Fix docs for native profile search locations
It's actually `spring.cloud.config.server.native.searchLocations`.

Fixes gh-89
2015-02-23 10:20:25 +00:00
Dave Syer
fc4865964b Fix multi-git samples in docs 2015-02-20 16:20:43 +00:00
Dave Syer
e0e5d25c31 Add detail about using SSH for git
JGit just uses normal .ssh configuration so giving it
a URI in the right form should be enough. Added a short
paragraph on that in the guide.

See gh-55
2015-02-16 09:17:25 +00:00
Dave Syer
8b447dec5a Clarify requirements for client-side encryption
See gh-84
2015-02-13 14:50:56 +00:00
Dave Syer
e28b137fb0 Clarify how to set basic auth credentials in config
See gh-55
2015-02-12 10:31:02 +00:00
Dave Syer
897ad1face Instead of using Map everywhere it's neater to use a strongly typed
object. This reuses JGitEnvironmentRepository, since it shares
most of the same properties. The format of the repos config
changes - now it is a Map not a List and the key is used as a "name"
to provide a default pattern and a location in the basedir.

Example config:

    spring:
      application:
        name: configserver
      cloud:
        config:
          server:
            git:
              uri: https://github.com/spring-cloud-samples/config-repo
              repos:
                iceycake: https://github.com/iceycake/config-repo
                project1:
                  patterns: project1-*,*-project1
                  uri: https://github.com/spring-cloud-samples/config-repo-1
2015-02-12 10:20:16 +00:00