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.
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
* 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.
VaultEnvironmentRepository now uses Spring Vault and VaultClient to access Vault. Using VaultEnvironmentRepository requires the org.springprojects.vault:spring-vault-core dependency.
Fixes gh-586.
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)
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)
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.
Move @Import from EnableConfigServer to ConfigServerAutoConfiguration that is only activated if Marker bean created by EnableConfigServer exists.
fixes gh-530