317 Commits

Author SHA1 Message Date
buildmaster
9da8cc5e48 Bumping versions 2022-02-24 00:58:11 +00:00
buildmaster
47624fd6ef Going back to snapshots 2021-09-22 08:59:12 +00:00
buildmaster
38c8d24e3c Update SNAPSHOT to 3.0.4 2021-09-22 08:56:48 +00:00
buildmaster
ccd425a21a Bumping versions to 3.0.5-SNAPSHOT after release 2021-09-21 14:44:05 +00:00
buildmaster
bb311cd18c Going back to snapshots 2021-09-21 14:44:05 +00:00
buildmaster
0f6e70de31 Update SNAPSHOT to 3.0.4 2021-09-21 14:41:55 +00:00
fmartinou
dabb320527 Remove extra / character at the beginning of the context (#744) 2021-09-10 14:05:39 -04:00
buildmaster
6bbcf0a20e Going back to snapshots 2021-05-27 21:24:56 +00:00
buildmaster
81d6c3408e Update SNAPSHOT to 3.0.3 2021-05-27 21:23:00 +00:00
buildmaster
af6c627d04 Bumping versions to 3.0.4-SNAPSHOT after release 2021-05-27 08:16:52 +00:00
buildmaster
af7a98a3de Going back to snapshots 2021-05-27 08:16:51 +00:00
buildmaster
cd71213eb6 Update SNAPSHOT to 3.0.3 2021-05-27 08:14:42 +00:00
spencergibb
d6ab8a64b6 Fixes ordering with local and remote sources with profiles.
If the context is associated with a profile, the Option.PROFILE_SPECIFIC is added.

Fixes gh-706
2021-05-05 20:08:24 -04:00
Ryan Baxter
f8ff3b5be7 Use abstract config data post processor (#715) 2021-03-31 07:03:01 -04:00
buildmaster
2bd5282ecd Bumping versions to 3.0.3-SNAPSHOT after release 2021-03-17 21:50:55 +00:00
buildmaster
0b3c21d5ad Going back to snapshots 2021-03-17 21:50:54 +00:00
buildmaster
da00529ff6 Update SNAPSHOT to 3.0.2 2021-03-17 21:49:17 +00:00
spencergibb
6aae1854dd Adds support for retry with spring.config.import
Fixes gh-703
2021-03-15 23:19:43 -04:00
Colin Mullikin
3c4ceb0823 Add support for multiple configuration path prefixes.
Fixes gh-450
2021-03-15 15:47:00 -04:00
spencergibb
f5090d2c03 fixes typo 2021-03-10 17:55:47 -05:00
spencergibb
10849c922c Skip import check if consul disabled. 2021-03-10 14:21:20 -05:00
spencergibb
99f01b4e8c Fail if no consul config import.
Adds ConsulConfigDataMissingEnvironmentPostProcessor that checks if there is a spring.config.import=consul: statement. If not, an exception is thrown and a FailureAnalyzer provides hints to fix the issue.

Fixes gh-708
2021-03-10 12:35:22 -05:00
buildmaster
e7e3c69224 Bumping versions to 3.0.2-SNAPSHOT after release 2021-01-27 20:56:46 +00:00
buildmaster
6e16ed9b32 Going back to snapshots 2021-01-27 20:56:46 +00:00
buildmaster
0f25a90ebb Update SNAPSHOT to 3.0.1 2021-01-27 20:54:42 +00:00
spencergibb
1b598e1e0e Don't reverse contexts for ConfigData.
This fixes an issue where the default had precedence over profile and app name specific.

Fixes gh-702
2021-01-26 11:08:11 -05:00
spencergibb
695a8b0c5e Handles non-existent keys in consul properly.
Previously a `ConfigData` with a list of PropertySources with one entry of `null` was returned in ConsulConfigDataLoader when the api call to consul did not find anything.

Now it returns null which is a signal to skip.

Optionality is all handled by ConfigData.

Fixes gh-693
2021-01-22 14:46:21 -05:00
buildmaster
33798362fa Bumping versions to 3.0.1-SNAPSHOT after release 2020-12-21 19:49:42 +00:00
buildmaster
aa35d98eef Going back to snapshots 2020-12-21 19:49:42 +00:00
buildmaster
eb98d86f85 Update SNAPSHOT to 3.0.0 2020-12-21 19:47:20 +00:00
spencergibb
aadfc625f2 Removes deprecated method use 2020-12-20 13:35:20 -05:00
spencergibb
70a63018b2 Uses BindHandler if registered in bootstrap.
Spring Cloud Commons now creates a TextEncryptorBindHandler that can decrypt properties when using a Binder. This allows configuration read in ConfigData methods to be decrypted.

Fixes gh-688
2020-12-20 11:49:54 -05:00
spencergibb
c75a6c96bd Check if class is registered already.
In ConfigData promotion (promoting a bean from bootstrap to the application context) check to see if there is a bean of that name before registering again.

Fixes gh-687
2020-12-14 15:40:32 -05:00
buildmaster
be3ddb742e Going back to snapshots 2020-12-11 22:10:00 +00:00
buildmaster
dce1c76ca4 Update SNAPSHOT to 3.0.0-RC1 2020-12-11 22:08:47 +00:00
buildmaster
a66800b791 Going back to snapshots 2020-12-01 22:49:46 +00:00
buildmaster
e20b4c7c43 Update SNAPSHOT to 3.0.0-M6 2020-12-01 22:48:36 +00:00
buildmaster
6c9d9b94a8 Going back to snapshots 2020-11-17 20:44:56 +00:00
buildmaster
527f63d6e3 Update SNAPSHOT to 3.0.0-M5 2020-11-17 20:43:42 +00:00
spencergibb
16dc8c3c91 Polishes parseLocation 2020-10-16 15:28:06 -04:00
spencergibb
59e54402e6 Updates to use updated ConfigData apis 2020-10-16 15:22:00 -04:00
spencergibb
46f29724ad Updates to use updated ConfigData apis 2020-10-16 15:15:24 -04:00
buildmaster
8015fe2218 Going back to snapshots 2020-10-03 14:00:36 +00:00
buildmaster
3369c2d6a7 Update SNAPSHOT to 3.0.0-M4 2020-10-03 13:59:12 +00:00
spencergibb
b113cdaf85 polish 2020-09-22 12:29:03 -04:00
spencergibb
5e7c2ba6ee Adds support for config discovery in ConfigData.
ConsulConfigServerBootstrapper.java is registered in spring.factories

The bootstrapper registers an ConfigServerInstanceProvider.Function that uses ConsulDiscoveryClient
2020-09-21 16:06:32 -04:00
spencergibb
b7454c6302 Dedupes logic between ConfigData and PropertySourceLocator.
Moves logic common to the two implementations to ConsulPropertySources.java
2020-09-18 16:37:14 -04:00
buildmaster
deea57465e Bumping versions 2020-09-18 12:33:40 +00:00
spencergibb
7042018d42 Updates ConsulBootstrapper with more general helper. 2020-09-17 18:11:04 -04:00
spencergibb
a98cde9bdb Updates tests to ignore registering beans 2020-09-17 11:01:56 -04:00