Commit Graph

258 Commits

Author SHA1 Message Date
ivasylyev
1152821221 Add stacktrace logging 2017-03-31 14:17:15 -06:00
Sean Dukehart
7d7b2c3ce0 Adds resolvePlaceholders to ResourceController
Adds resolvePlaceholders query parameter to ResourceController to allow users the option to resolve placeholders or not.

fixes gh-669
2017-03-24 17:36:17 -04:00
Ryan Baxter
94bd2a98b8 Revert "Version changes for Dalston.RC1"
This reverts commit 78c24a18b2.
2017-03-16 11:42:14 -04:00
Ryan Baxter
78c24a18b2 Version changes for Dalston.RC1 2017-03-16 11:19:21 -04:00
Don Laidlaw
91372cad2d Add missing test for credential provider. (#664) 2017-03-10 12:32:02 -05:00
Dave Syer
3797004492 Use non-deprecated property placeholder config class 2017-03-02 17:14:35 +00:00
Ian Bondoc
3bfdd4b61c Support nested arrays when translating properties to map when generating yml or json
Fixes gh-518
2017-03-02 16:37:27 +00:00
Mark Paluch
15ddd22a83 Use RestTemplate for Vault access. (#644)
Use RestTemplate for Vault access and remove Spring Vault dependency. VaultEnvironmentRepository used VaultClient but Spring Vault no longer provides VaultClient.

See also gh-586, gh-587.
2017-02-17 14:24:01 -05:00
Spencer Gibb
2765ed4f25 Ensures health indicator uses configured label.
fixes gh-638

(cherry picked from commit 30a1f81)

(cherry picked from commit 100be64)
2017-02-14 11:53:08 -07:00
Ryan Baxter
97f1538322 Fixing typo in Vault Environment Repository bean name 2017-02-13 19:31:58 -05:00
Chris Fraser
b68a3eba6b Default StrictHostKeyChecking to true (#630)
* defaulted strict host key checking to true and updated test
2017-02-07 13:51:56 -05:00
Spencer Gibb
2521778f94 Revert "Update SNAPSHOT to 1.3.0.M2"
This reverts commit fbaf5a22d1.
2017-01-27 08:36:59 -07:00
Spencer Gibb
fbaf5a22d1 Update SNAPSHOT to 1.3.0.M2 2017-01-27 08:35:29 -07:00
Don Laidlaw
d81c9250dc Update package to match directory
Missed a merge commit for AWS CodeCommit support
2017-01-27 10:20:31 -05:00
Ryan Baxter
edcb0cd5b8 Revert "Version changes for 1.3.0.M1 release"
This reverts commit 2378521e22.
2017-01-26 20:23:57 -05:00
Ryan Baxter
2378521e22 Version changes for 1.3.0.M1 release 2017-01-26 20:21:21 -05:00
Don Laidlaw
ae0adc9322 Add AWS CodeCommit authentication support (#548)
The jgit library does not support the credential helpers defined in
git configuration files. Since AWS CodeCommit requires a signature
used as the password part of authentication, jgit is not able to
authenticate to AWS Code Commit without help. These changes calculate
the required AWS Code Commit signature value and provide a jgit
compatible CredentialsProvider class.

Fixes gh-334
2017-01-26 19:57:08 -05:00
Spencer Gibb
2efe1a4134 polish 2017-01-16 11:09:57 -07:00
Chris Fraser
405ebad792 Implement configuration options for ssh passphrase and strict host key checking (#535)
* add strictHostKeyChecking config option
* Add passphrase configuration for SSH connections
* test passphrase property is pulled from the environment
* test that a if a passphrase is confgured a PassphraseCredentialsProvider is added to the git command.
2017-01-16 12:53:06 -05:00
julian-lefebvre
27e168f982 fix javadoc
remove duplicate words on class ConfigServerBootstrapApplicationListener's javadoc.
2017-01-13 13:45:10 +01:00
Ryan Baxter
404d9c6585 Making setter public 2016-12-20 19:23:15 -05:00
Ryan Baxter
5a05cec58d Removing unused import 2016-12-20 15:24:51 -05:00
Ryan Baxter
5ebecb60b4 Removed OrderedEnvironmentRepository interface, and applied other review feedback. 2016-12-20 13:46:46 -05:00
Ryan Baxter
bfb532f560 Moving Native config 2016-12-19 17:09:11 -05:00
Ryan Baxter
214a5a03c4 Merge remote-tracking branch 'Upstream/master' into composite-envrepo-555 2016-12-19 12:39:45 -05:00
Ryan Baxter
133c172ddd Allows users to provide composite environments. Fixes #495. 2016-12-19 12:28:41 -05:00
Mark Paluch
47aa19fa87 Use Spring Vault for VaultEnvironmentRepository (#587)
VaultEnvironmentRepository now uses Spring Vault and VaultClient to access Vault. Using VaultEnvironmentRepository requires the org.springprojects.vault:spring-vault-core dependency.

Fixes gh-586.
2016-12-13 16:47:43 -05:00
Spencer Gibb
171d2b261b Update to s-c-build 1.3.0 and bump version to 1.3.0 2016-12-12 09:26:34 -07:00
Patrick Coray
853f4d7853 Sync with upstream 2016-11-29 21:00:15 +01:00
Ryan Baxter
d2961eceae Bumped versions for next release 2016-11-23 12:59:00 -05:00
Ryan Baxter
bd3d2c94f3 Revert "Version changes for 1.2.2 RELEASE"
This reverts commit 66c092949b.
2016-11-23 12:51:47 -05:00
Ryan Baxter
66c092949b Version changes for 1.2.2 RELEASE 2016-11-23 12:18:12 -05:00
rlynch2
102dcf41cd Added TagOps.FETCH_TAGS to the fetch command so we get all tags. 2016-11-05 16:23:21 -07:00
rlynch2
01698dd998 Added TagOps.FETCH_TAGS to the fetch command so we get all tags. 2016-11-05 15:59:42 -07:00
rlynch2
588870ca5f Fixed codacy warnings/errors. 2016-11-04 13:04:57 -07:00
rlynch2
09377f38b8 Fixed codacy warnings/errors. 2016-11-04 12:59:18 -07:00
rlynch2
33649fde53 Fixed codacy warnings/errors and added unit tests to test exception scenarios and increase code coverage. 2016-11-04 12:46:48 -07:00
rlynch2
e88f12b574 version not being updated on first request after update (including due to hard resets)
New remote branches
New remote tags
— handling a null ref in should pull no longer needed.
— has added benefit of ensuring the local repo is current in case of git failure.
Returns version for tags (version was null before this change)
New starter code for remote repo testing (where a lot of the complexity lies)
2016-11-03 22:26:29 -07:00
rlynch2
25a6e2d58d version not being updated on first request after update (including due to hard resets)
New remote branches
New remote tags
— handling a null ref in should pull no longer needed.
— has added benefit of ensuring the local repo is current in case of git failure.
Returns version for tags (version was null before this change)
New starter code for remote repo testing (where a lot of the complexity lies)
2016-11-03 17:46:35 -07:00
rlynch2
9a3e58e8fe version not being updated on first request
New remote branches
New remote tags
— handling a null ref in should pull no longer needed.
— has added benefit of ensuring the local repo is current in case of git failure.
Returns version for tags
New starter code for remote repo testing (where a lot of the complexity lies)
TODO: Still investigating failure of pullDirtyRepo.  I think the test is incorrect but still validating.
2016-11-03 17:38:21 -07:00
Patrick Coray
0cd7bf991c Keep formatting of file 2016-11-03 01:29:01 +01:00
Patrick Coray
8e98a309d7 Add test to check if baseDir is deleted when clone fails 2016-11-03 01:18:48 +01:00
Patrick Coray
9b51c34d7b Delete basedir when clone fails 2016-11-03 00:47:40 +01:00
rlynch2
3292f71902 Cleaned up a minor codacy warning. 2016-10-26 14:02:50 -07:00
rlynch2
9df9fbd1ab Adding comment as requested by spring 2016-10-26 13:55:33 -07:00
rlynch2
97e6ec4308 Merge branch 'master' of https://github.com/spring-cloud/spring-cloud-config 2016-10-26 09:44:49 -07:00
Spencer Gibb
d3cdfd35a5 comment out test for correct content type 2016-10-25 15:10:33 -06:00
Spencer Gibb
465bc94953 Make config server configuration deterministic.
Move @Import from EnableConfigServer to ConfigServerAutoConfiguration that is only activated if Marker bean created by EnableConfigServer exists.

fixes gh-530
2016-10-25 14:44:34 -06:00
rlynch2
9300bee308 Fixed bug which returns incorrect version number on first request after remote repo is updated. Fixed circleci warnings. 2016-10-24 21:50:33 -07:00
rlynch2
d5f4d8ed60 Fixed bug which returns incorrect version number on first request after remote repo is updated. Corrected imports. 2016-10-24 17:49:08 -07:00