1342 Commits

Author SHA1 Message Date
buildmaster
7ba159dd01 Bumping versions to 2.2.9.BUILD-SNAPSHOT after release 2021-04-21 15:43:32 +00:00
buildmaster
86ab1ad19f Going back to snapshots 2021-04-21 15:43:32 +00:00
buildmaster
76d121fce1 Update SNAPSHOT to 2.2.8.RELEASE 2021-04-21 15:39:54 +00:00
buildmaster
479784d11b Bumping versions 2021-04-20 21:10:22 +00:00
buildmaster
d26af90955 Bumping versions 2021-04-19 22:22:04 +00:00
Ryan Baxter
4f31cc8739 Add documentation on how to enable WebClient for discovery bootstrap. Fixes #1862 2021-04-14 15:57:34 -04:00
Ryan Baxter
4e1c3bb45e Using order of locations when serving resources (#1858) 2021-04-09 13:16:48 -04:00
Eric Siber
0e361a3d87 Fixes documentation bad reference to URL placeholder
Fixes gh-1830
2021-03-31 10:52:02 -04:00
spencergibb
7c89268775 Updates GitUriFailureAnalyzer with broader action.
Previously it only suggested a composite if using bootstrap and native. Now it will suggest it if using bootstrap regardless of env repo type.

Fixes gh-1852
2021-03-30 13:37:16 -04:00
spencergibb
e7a69671b3 Adds support for token auth via username property.
Fixes gh-1602
2021-03-29 18:05:38 -04:00
spencergibb
f4aab7f15d Adds support for uri encoded username/password
Fixes gh-1621
2021-03-29 18:05:06 -04:00
spencergibb
962abe7462 Makes actuator optional for config server.
Fixes gh-1742
2021-03-29 16:57:33 -04:00
Eugene
4fc9696060 Updates case of property in documentation
Fixes gh-1840
2021-03-29 16:27:25 -04:00
spencergibb
e7be2b8c5a Register env repo properties as beans.
The `CompositeEnvironmentBeanFactoryPostProcessor` binds the required properties for a EnvironmentRepositoryFactory, but does not register it as a bean. This is now done with a supplier to the bound instance.

Fixes gh-1720
2021-03-29 16:25:41 -04:00
buildmaster
55bba36e2f Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-02-11 13:53:29 +00:00
buildmaster
f1ab6d442f Going back to snapshots 2021-02-11 13:53:28 +00:00
buildmaster
ce0cd0125c Update SNAPSHOT to 2.2.7.RELEASE 2021-02-11 13:50:56 +00:00
Kamalakar Ponaka
2c2f0124d2 CF Auth issue with Instance certificate issue expiry for 2.2.x (#1713)
* Update PcfClientAuthenticationProvider.java

Removing CF Cert Cache. https://github.com/spring-cloud/spring-cloud-config/issues/1693

* fix for 2.2.x

Co-authored-by: Kamalakar <kamalakar.ponaka@gmail.com>

Fixes gh-1693
2021-01-11 17:19:31 -05:00
nhtzr
44c104df2a Add index regen if config server has force-pull (#1593)
* Add index regen if config server has force-pull

jGit may fail with 'JGitInternalException: Short read of block.'
Due to a truncated git index, which may happen due to external
reasons.
The index can be regenerated easily by deleting it and resetting
git working directory. For a pull force, resetting to HEAD is
more convenient since the info that may have been lost in the
index is the diff in a dirty copy that we are discarding in
any way.

This commits adds automates those steps when git-status fails
and the force-pull flag is set.

Please see:
- https://github.com/spinnaker/spinnaker/issues/5153
- https://bugs.eclipse.org/bugs/show_bug.cgi?id=531807
- https://www.devguerrilla.com/notes/2015/07/fuse-for-the-idle-fellow-short-read-of-block-errors-when-starting-a-container/

* Add tests

Co-authored-by: Ezequiel Rosas <ezequiel.rosas@digitalonus.com>
2021-01-11 17:08:01 -05:00
choubani amir
c7dc612890 Update spring-cloud-config.adoc
Spelling error.

Fixes gh-1779
2021-01-11 15:31:00 -05:00
Laisky
73e88e52da Adds option to clone git submodules.
Fixes gh-717
Fixes gh-1484
2020-11-12 17:24:01 -05:00
Andy Clement
bf2c61f722 Do not discard the root exception when things go wrong
The root exception can detail an important root cause. For
example with native-images it can indicate a flag you need
to set for the native-image to compile correctly:
Caused by: java.net.MalformedURLException:
  Accessing an URL protocol that was not enabled. The URL
  protocol http is supported but not enabled by default.
  It must be enabled by adding the -H:EnableURLProtocols=http
  option to the native-image command.
2020-11-10 13:25:38 -05:00
buildmaster
0e0f519570 Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 10:16:15 +00:00
buildmaster
209e8c5bba Going back to snapshots 2020-11-09 10:16:15 +00:00
buildmaster
f1e920b218 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 10:13:27 +00:00
spencergibb
48eb520e7e Adds support for spring.cloud.config.media-type
fixes gh-1715
2020-10-09 21:13:39 -04:00
spencergibb
123f64501f formatting 2020-09-28 11:14:27 -04:00
Craig Walls
52e2d9bf64 Optionally throw exception when a repository can't be read.
By default, an exception will be thrown.

Fixes gh-661
Fixes gh-1712
2020-09-28 11:14:13 -04:00
Serge Khodorkovsky
7a6b32fcd8 Enable ignoring sql exceptions
Primarily useful for composite repository configuration,
the flag provides an ability to ignore database exceptions
so that the system would be able to continue working with
other repositories.

Fixes gh-1653
2020-09-28 11:04:36 -04:00
spencergibb
781584db84 Updates property to disable the health indicator.
Fixes gh-435
2020-09-08 14:27:26 -04:00
buildmaster
09ad9a84f1 Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-08-28 19:38:35 +00:00
buildmaster
1434f791ab Going back to snapshots 2020-08-28 19:38:35 +00:00
buildmaster
cec480ea2d Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 19:35:24 +00:00
spencergibb
b5b8664c4c Moves tls test classes to tls package.
Renames ConfigClientTest to ConfigClientTlsTests
2020-08-24 17:27:24 -04:00
Ryan Baxter
2c968e9bac Merge branch 'jialindai-2.2.x' into 2.2.x 2020-08-24 16:13:28 -04:00
Ryan Baxter
088bce1491 code review changes 2020-08-24 16:13:06 -04:00
JiaLin
c007a81d13 correct one test case about disable client side tls 2020-08-24 11:19:14 +08:00
JiaLin
b5fff94b43 use tls common classes 2020-08-24 00:35:05 +08:00
JiaLin
4ed2d4208f Merge remote-tracking branch 'upstream/2.2.x' into 2.2.x 2020-08-24 00:00:16 +08:00
Olga Maciaszek-Sharma
9bbd634ff1 Fix README 2020-08-11 19:01:02 +02:00
spencergibb
a07903837c Bumps s-c-build to use snapshot 2020-08-03 12:59:05 -04:00
JiaLin
c866e4f00b Update spring-cloud-config.adoc 2020-08-01 22:04:41 +08:00
JiaLin
57df44cec5 Update pom.xml 2020-08-01 21:27:48 +08:00
JiaLin
c563011ae7 add document for client side TLS 2020-08-01 21:20:19 +08:00
JiaLin
1cda3189a8 Update pom.xml 2020-08-01 20:38:58 +08:00
JiaLin
67a6cbfe23 change format for check style 2020-08-01 20:38:58 +08:00
JiaLin
f28ea277f7 Update BaseCertTest.java 2020-08-01 20:38:58 +08:00
JiaLin
d56038e3e6 add client side TLS cert support 2020-08-01 20:38:58 +08:00
buildmaster
c323d7e206 Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 20:24:37 +00:00
buildmaster
ece5ff35de Going back to snapshots 2020-07-31 20:24:36 +00:00