1586 Commits

Author SHA1 Message Date
buildmaster
9c4569e53a Bumping versions 2023-05-26 19:58:55 +00:00
buildmaster
7cde2e751a Bumping versions to 3.0.8-SNAPSHOT after release 2022-06-29 22:06:59 +00:00
buildmaster
d52c8572af Going back to snapshots 2022-06-29 22:06:58 +00:00
buildmaster
27b7570361 Update SNAPSHOT to 3.0.7 2022-06-29 22:04:50 +00:00
buildmaster
6e9f9201da Bumping versions 2022-02-24 20:04:42 +00:00
buildmaster
ebd7c610d0 Bumping versions 2022-02-23 19:59:40 +00:00
Kamalakar Ponaka
099d885176 Documentation update for Vault Backend (#2042)
* Documentation update for Vault Backend 

Documentation update for Spring Cloud Config Server using the Vault Backend (Add spring-vault-core lib)
https://github.com/spring-cloud/spring-cloud-config/issues/2041

* Documentation update for Vault Backend

Documentation update for Spring Cloud Config Server using the Vault Backend (Add spring-vault-core lib)
https://github.com/spring-cloud/spring-cloud-config/issues/2041
2022-01-25 19:15:03 -05:00
hyness
a3789a2ef8 AWS S3 configuration documentation lists incorrect properties (#2027)
Fixes gh-2026
2022-01-11 09:27:14 -05:00
buildmaster
08973e65dc Bumping versions to 3.0.7-SNAPSHOT after release 2021-12-15 16:51:44 +00:00
buildmaster
12349fef16 Going back to snapshots 2021-12-15 16:51:43 +00:00
buildmaster
778368eeb1 Update SNAPSHOT to 3.0.6 2021-12-15 16:49:37 +00:00
Adrian
2a9119cf6d management.endpoints.web.base-path=/admin
According to https://docs.spring.io/spring-boot/docs/2.4.x/reference/html/production-ready-features.html#production-ready-customizing-management-server-context-path it seems to me that "management.endpoints.web.base-path=/admin" is the best choice.
2021-12-10 11:51:52 -05:00
spencergibb
2aa37701f7 formatting 2021-12-10 11:46:06 -05:00
jixu.hjx
238ab0cbaa Fixed #1499, append slash to search-locations ending when it is missed. 2021-12-10 11:41:27 -05:00
spencergibb
1ffe015a33 Adds a note about actuator and config server.
Fixes gh-1979
2021-11-23 16:35:28 -05:00
spencergibb
1f2a6eca17 formatting 2021-11-15 12:51:20 -05:00
spencergibb
9af50f5ff4 removes -local repositories 2021-11-15 12:51:04 -05:00
Vitalii Ananev
4636ddb3b5 Fix spring.config.import for environment type native (#1990)
* fix for 'spring.config.import' from subdirectory of 'spring.cloud.config.server' search-locations
2021-11-09 11:39:51 -05:00
knv srinivas
ee35eac3fa Ordered Support for S3,Credhub, Redis profiles. Fixes gm-1980 (#1982)
Co-authored-by: knv <srinivaskatta@freo.money>
2021-10-20 11:25:31 -04:00
Ryan Baxter
998a4cadf2 Use HTTPS when proxy settings are set (#1986)
* Use HTTPS when proxy settings are set

Fixes #1965

* Adding test
2021-10-20 11:12:42 -04:00
Ryan Baxter
41e50e345d Move ConfigServerBootstrapApplicationListener to EnvironmentPostProcessor (#1984)
* Move ConfigServerBootstrapApplicationListener to EnvironmentPostProcessor

Fixes #1983

* Reverted classname and interface changes to avoid breaking anyone
2021-10-19 12:18:19 -04:00
buildmaster
dea6e10c61 Bumping versions to 3.0.6-SNAPSHOT after release 2021-09-21 14:30:23 +00:00
buildmaster
e6aa33a1da Going back to snapshots 2021-09-21 14:30:23 +00:00
buildmaster
a16e447407 Update SNAPSHOT to 3.0.5 2021-09-21 14:27:28 +00:00
Chintan Radia
6e405f0421 Allow PropertyResultSetExtractor to be customizable (#1962)
Fixes gh-1952
2021-09-14 11:06:58 -04:00
Ryan Baxter
282efbe36c Add documentation for spring.cloud.config.server.failOnCompositeError. Fixes #1929 2021-09-02 12:56:55 -04:00
Avner Sternheim
5be1c55a47 fix bug according to #1947 - when working with PatternMatchingJGitEnvironmentRepository. The GitCredentialsProviderFactory instance in the PatternMatchingJGitEnvironmentRepository remains the original GitCredentialsProviderFactory and not the one set by the build method in MultipleJGitEnvironmentRepositoryFactory. (#1951)
Co-authored-by: avner.sternheim <avner.sternheim@imperva.com>
2021-08-18 15:39:42 -04:00
Ryan Baxter
719e06950c Use ConfigClientProperties if it exists in the BootstrapContext (#1931)
* Use ConfigClientProperties if it exists in the BootstrapContext before creating a new one.  Fixes  #1919

* Add back test, have one test use uri from properties
2021-07-16 12:02:40 -04:00
Ryan Baxter
b7732ca4c5 Make GitCredentialsProviderFactory a bean. Fixes #1896 (#1926) 2021-07-08 11:28:41 -04:00
Ryan Baxter
c6a07ed234 Support new delimiters in spring.config.location (#1904) 2021-06-10 13:50:44 -04:00
Ryan Baxter
b1e795d8d1 Make it explicit that an optional prefix is needed for discovery first. Fixes #1897 2021-06-02 12:36:40 -04:00
buildmaster
01f4d4785f Bumping versions 2021-05-28 20:48:55 +00:00
buildmaster
a9708433f3 Bumping versions to 3.0.5-SNAPSHOT after release 2021-05-27 21:08:06 +00:00
buildmaster
54bd71bfe0 Going back to snapshots 2021-05-27 21:08:06 +00:00
buildmaster
3db7020028 Update SNAPSHOT to 3.0.4 2021-05-27 21:04:51 +00:00
buildmaster
d19325b4e1 Bumping versions 2021-05-27 20:47:20 +00:00
buildmaster
abe57b6663 Bumping versions to 3.0.5-SNAPSHOT after release 2021-05-27 07:55:08 +00:00
buildmaster
2486acc011 Going back to snapshots 2021-05-27 07:55:07 +00:00
buildmaster
0b67bd3495 Update SNAPSHOT to 3.0.4 2021-05-27 07:52:15 +00:00
spencergibb
e645c80215 Adds tests for retry properties in import url.
See gh-1797
2021-05-26 11:32:00 -04:00
spencergibb
e9fa34032b Adds support for retry in profile specific properties.
in application-<profile>.{properties|yaml}

spring.config.import=configserver:http://configserver.example.com?fail-fast=true&max-attempts=10&max-interval=1500&multiplier=1.2&initial-interval=1100"

This required that the RetryTemplate be created as late as possible and it is no longer put in the bootstrap context. A RetryTemplateFactory was created so the LoaderInterceptor and the ConfigServerInstanceProvider can create a RetryTemplate. ConfigServerConfigDataLocationResolver creates RetryProperties from the url parameters if they are provided.

ConfigServerConfigDataLoader now creates a ConfigClientFailFastException and registers it in the application context rather and returns an empty ConfigData rather than throwing and exception. Then in ConfigClientAutoConfiguration an ApplicationStartedEvent is listened for and if the fail fast exception is there, throws it halting execution. This all allows logging in ConfigData to show.

Fixes gh-1797
2021-05-26 11:31:03 -04:00
spencergibb
529afcda4d remove errant comment 2021-05-24 13:20:41 -04:00
spencergibb
42546c813e Migrate from deprecated Bootstrapper to BootstrapRegistryInitializer
Fixes gh-1890
2021-05-24 13:02:10 -04:00
spencergibb
be708efc18 Use boot config data api to determine resource and location.
Previously the resource name and location needed to be parsed. This change updates NativeEnvironmentRepository to pass a ConfigDataEnvironmentUpdateListener to ConfigDataEnvironmentPostProcessor.applyTo() and match PropertySources to location and resource. PassthruEnvironmentRepository is updated to attach the original PropertySource to use later in the clean() method to retrieve the location and resource avoiding parsing.

Fixes gh-1875
2021-05-05 14:12:06 -04:00
Ryan Baxter
9c695648be Update documentation around discovery first lookup (#1865)
* Added warning to documentation
2021-04-19 14:56:48 -04:00
Ryan Baxter
cbc0bbcada Merge branch '2.2.x' 2021-04-14 15:58:03 -04: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
901043a47e Merge branch '2.2.x' 2021-04-09 14:02:09 -04:00
Ryan Baxter
4e1c3bb45e Using order of locations when serving resources (#1858) 2021-04-09 13:16:48 -04:00
spencergibb
3056d5f842 Fixes profile ordering of remote vs local.
Previously a local profiles specific file would have more priority than a remote profile specific file. Using a new ConfigData Option, this is now fixed.

Fixes gh-1795
2021-04-08 17:39:32 -04:00