Commit Graph

445 Commits

Author SHA1 Message Date
buildmaster
9e7fd9117a Bumping versions 2022-02-24 00:30:01 +00:00
Sergii Chekotylo
d0b9f0a6c8 Unable to provide different values of spring.config.import.configserver since 2020.0.4 #2011 (#2037) 2022-02-22 11:05:29 -05:00
buildmaster
5e60c254d2 Bumping versions to 3.1.2-SNAPSHOT after release 2022-02-17 16:46:14 +00:00
buildmaster
3ecceb1276 Going back to snapshots 2022-02-17 16:46:14 +00:00
buildmaster
b40c219c57 Update SNAPSHOT to 3.1.1 2022-02-17 16:43:03 +00:00
Mark Bonnekessel
b5ac671671 Add Option.PROFILE_SPECIFIC to profile specific PropertySources from Vault
Fixes gh-1997
2022-01-31 12:04:37 -05:00
buildmaster
a8f6955495 Bumping versions 2021-12-02 20:49:15 +00:00
buildmaster
119425734e Bumping versions 2021-12-01 20:49:43 +00:00
buildmaster
58a92079eb Bumping versions to 3.1.1-SNAPSHOT after release 2021-12-01 18:26:47 +00:00
buildmaster
c53e703a2d Going back to snapshots 2021-12-01 18:26:46 +00:00
buildmaster
8e927ed0f1 Update SNAPSHOT to 3.1.0 2021-12-01 18:22:48 +00:00
buildmaster
77fe396d66 Going back to snapshots 2021-11-03 11:21:13 +00:00
buildmaster
e28ddeb84e Update SNAPSHOT to 3.1.0-RC1 2021-11-03 11:19:23 +00:00
buildmaster
17d569605e Going back to snapshots 2021-10-20 02:08:10 +00:00
buildmaster
bbc6ecb40d Update SNAPSHOT to 3.1.0-M3 2021-10-20 02:06:02 +00:00
buildmaster
916f5e93e5 Going back to snapshots 2021-10-01 16:58:19 +00:00
buildmaster
0f94a44650 Update SNAPSHOT to 3.1.0-M2 2021-10-01 16:56:31 +00:00
buildmaster
1f71006382 Going back to snapshots 2021-07-30 18:01:27 +00:00
buildmaster
982ef70580 Update SNAPSHOT to 3.1.0-M1 2021-07-30 17:59:34 +00:00
spencergibb
0e2c4fccd1 merge FailureAnalyzer entries 2021-07-27 23:39:40 -04:00
spencergibb
fd35b6ecbd formatting 2021-07-27 23:21:51 -04:00
spencergibb
52449c06c0 Migrates tests to junit 5 and updated for bootstrap 2021-07-27 23:20:18 -04:00
spencergibb
ede086893b Merge branch 'GH-1586' of https://github.com/Walliee/spring-cloud-config into Walliee-GH-1586 2021-07-27 22:58:04 -04:00
Ryan Baxter
db43a61b06 Merge branch '3.0.x' into main 2021-07-16 12:03:31 -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
spencergibb
cd73feaa0a Updates version to 3.1.0-SNAPSHOT 2021-07-09 14:05:02 -04: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
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
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
Ryan Baxter
a57b465638 Take into account config data in list format (#1853) 2021-03-31 07:01:24 -04:00
spencergibb
50d2f9d334 formatting 2021-03-29 18:07:17 -04:00
spencergibb
9b9b6838b6 Merge branch '2.2.x' 2021-03-29 18:06:37 -04:00
spencergibb
f4aab7f15d Adds support for uri encoded username/password
Fixes gh-1621
2021-03-29 18:05:06 -04:00
buildmaster
fdbce34628 Bumping versions to 3.0.4-SNAPSHOT after release 2021-03-17 21:35:17 +00:00
buildmaster
0fe3c496f4 Going back to snapshots 2021-03-17 21:35:17 +00:00
buildmaster
1210effa44 Update SNAPSHOT to 3.0.3 2021-03-17 21:32:52 +00:00
spencergibb
62c96d059c removes todo that has been completed 2021-03-15 20:56:20 -04:00
Ryan Baxter
964238a5f2 Use property source name in ConfigServerConfigDataLocator 2021-03-15 19:35:26 -04:00
Ryan Baxter
7f17b77853 Get all property sources for bootstrap, configserver, and configclient in health indicator 2021-03-15 16:42:41 -04:00
spencergibb
03cdebcffd Adds resource to logging 2021-03-12 18:49:39 -05:00
spencergibb
4010a7cf7c Adds support for Tls to config data.
Moves common setup to new ConfigClientRequestTemplateFactory class that was replicated between two implementations.

Fixes gh-1689
2021-03-12 18:31:25 -05:00
buildmaster
35f219c296 Bumping versions 2021-03-11 09:59:24 +00:00