Commit Graph

604 Commits

Author SHA1 Message Date
spencergibb
da22aed5d8 Move CachedRandomPropertySource to EnvironmentPostProcessor
Previously it was an auto-configuration that only worked in legacy bootstrap mode.

Fixes gh-919
2021-03-08 17:37:42 -05:00
spencergibb
38a3711be7 Retain configured property sources across refresh.
Fixes gh-913
2021-03-08 17:23:05 -05:00
Ian Hu
e42f0987bb Avoid hard-coded SCOPED_TARGET_PREFIX usage. (#811)
Co-authored-by: Spencer Gibb <sgibb@pivotal.io>
2021-02-17 11:34:59 -05:00
buildmaster
6240d30237 Bumping versions to 3.0.2-SNAPSHOT after release 2021-01-27 20:31:42 +00:00
buildmaster
20252d8d30 Going back to snapshots 2021-01-27 20:31:42 +00:00
buildmaster
6e213c5919 Update SNAPSHOT to 3.0.1 2021-01-27 20:27:51 +00:00
spencergibb
eb32ea8f21 Use encrypt.fail-on-error in DecryptEnvironmentPostProcessor
Fixes gh-882
2021-01-11 11:56:36 -05:00
spencergibb
5bbe5331b7 Use existing PropertyUtils.bootstrapEnabled().
This will take into account if the bootstrap marker class is present and bring parity between ConditionalOnBootstrapDisabled and TextEncryptorConfigBootstrapper
2021-01-06 18:07:54 -05:00
buildmaster
2e76164fc1 Bumping versions to 3.0.1-SNAPSHOT after release 2020-12-21 19:03:43 +00:00
buildmaster
9a5c2f95c4 Going back to snapshots 2020-12-21 19:03:42 +00:00
buildmaster
ab37a182f0 Update SNAPSHOT to 3.0.0 2020-12-21 18:59:37 +00:00
spencergibb
f77a6ec372 Creates DecryptEnvironmentPostProcessor.
This is used if bootstrap and legacy processing are not enabled.

EnvironmentDecryptApplicationInitializer is only is if bootstrap and legacy processing are enabled.

Fixes gh-815
2020-12-20 11:14:36 -05:00
Marcin Grzejszczak
7211cdd2e8 Creates TextEncryptorBindHandler for Binder decryption.
It is registered in TextEncryptorConfigBootstrapper for later use in
other ConfigData implementations.
2020-12-20 11:12:15 -05:00
buildmaster
29728ceb09 Going back to snapshots 2020-12-11 21:51:11 +00:00
buildmaster
215a24b5dc Update SNAPSHOT to 3.0.0-RC1 2020-12-11 21:49:40 +00:00
buildmaster
3d645bbc57 Going back to snapshots 2020-12-01 22:32:07 +00:00
buildmaster
b5801856a3 Update SNAPSHOT to 3.0.0-M6 2020-12-01 22:30:40 +00:00
Olga Maciaszek-Sharma
c65dfbca6b Merge remote-tracking branch 'origin/2.2.x'
# Conflicts:
#	docs/src/main/asciidoc/_configprops.adoc
#	spring-cloud-commons/src/main/java/org/springframework/cloud/client/loadbalancer/reactive/LoadBalancerProperties.java
#	spring-cloud-loadbalancer/src/main/java/org/springframework/cloud/loadbalancer/core/HealthCheckServiceInstanceListSupplier.java
#	spring-cloud-loadbalancer/src/test/java/org/springframework/cloud/loadbalancer/core/HealthCheckServiceInstanceListSupplierTests.java
2020-12-01 11:31:55 +01:00
Dave Syer
7287a3c767 Re-implement /pause endpoint
A new interface PauseHandler provides a callback for /pause and
/resume. The only implementation provided out of the box is for
Spring Integration's Pausable (so it will work with Spring Cloud
Stream Kafka for instance).

Fixes gh-788
2020-12-01 09:47:59 +00:00
buildmaster
4215a9a046 Going back to snapshots 2020-11-17 18:24:16 +00:00
buildmaster
99f2a754d8 Update SNAPSHOT to 3.0.0-M5 2020-11-17 18:22:45 +00:00
buildmaster
259df6f4ee Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 09:32:26 +00:00
buildmaster
439c966bb8 Going back to snapshots 2020-11-09 09:32:25 +00:00
buildmaster
30bf7336c9 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 09:26:11 +00:00
buildmaster
44b35c2cbf Going back to snapshots 2020-10-03 13:41:52 +00:00
buildmaster
83b7a1d6b3 Update SNAPSHOT to 3.0.0-M4 2020-10-03 13:39:52 +00:00
Ralph Goers
4a2e83ea46 Remove URL check that causes loading 401 responses from Spring Cloud Config 2020-10-01 10:35:54 -04:00
Olga Maciaszek-Sharma
00668991a4 Reformat. 2020-09-17 09:44:37 -04:00
Olga Maciaszek-Sharma
034768bc8f Adjust to updates in boot. 2020-09-17 09:44:37 -04:00
spencergibb
f9bc96747d Merge branch '2.2.x' 2020-09-15 14:21:47 -04:00
Spencer Gibb
5f92501a0d Performance improvements to NamedContextFactory. (#826)
Fixes gh-825
2020-09-15 14:13:17 -04:00
buildmaster
ec264fb23e Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-08-28 19:25:12 +00:00
buildmaster
0cdd6e5aa7 Going back to snapshots 2020-08-28 19:25:12 +00:00
buildmaster
dc3a4674c4 Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 19:20:48 +00:00
spencergibb
b6c852c506 Updates to use new BootstrapRegistry for ConfigData 2020-08-21 10:06:13 -04:00
spencergibb
8f8f7d4920 Adds spring-cloud-starter-bootstrap.
This allows users to opt-in to bootstrap via classpath rather than properties.
2020-08-10 15:27:17 -04:00
spencergibb
da469626f4 Updates to use new ConfigDataEnvironmentPostProcessor.applyTo() method 2020-08-06 21:40:10 -04:00
spencergibb
08ca4105ab Replaces usage of ConfigFileApplicationListener with a subclass.
BootstrapConfigFileApplicationListener.java overrides the onApplicationEvent() method to not throw an exception.
2020-08-06 14:17:40 -04:00
Spencer Gibb
a183bc709f Use new boot ConfigData framework (#703)
Bootstrap is now opt-in using `spring.config.use-legacy-processing`. Otherwise, bootstrap is left as is.

If bootstrap is disabled, the `ContextRefresher` uses new `ConfigData` framework from boot.

See #608 for original motivation.
2020-08-06 12:54:25 -04:00
buildmaster
6b8776bd3a Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 20:03:49 +00:00
buildmaster
4cc1a68ebb Going back to snapshots 2020-07-31 20:03:49 +00:00
buildmaster
f290f97816 Update SNAPSHOT to 2.2.4.RELEASE 2020-07-31 19:59:52 +00:00
spencergibb
7c6c32cb87 Mock property source name 2020-07-31 15:04:39 -04:00
buildmaster
b38e31f263 Going back to snapshots 2020-07-23 17:52:56 +00:00
buildmaster
ffa885b2f5 Update SNAPSHOT to 3.0.0-M3 2020-07-23 17:51:24 +00:00
spencergibb
ce3b19b428 Adds junit-vintage-engine 2020-06-15 16:29:52 -04:00
buildmaster
af62e6e015 Going back to snapshots 2020-05-29 18:22:19 +00:00
buildmaster
d50a2ae6cd Update SNAPSHOT to 3.0.0-M2 2020-05-29 18:21:00 +00:00
buildmaster
7ff8100c19 Bumping versions to 2.2.4.BUILD-SNAPSHOT after release 2020-05-28 17:06:16 +00:00
buildmaster
7fcfceea42 Going back to snapshots 2020-05-28 17:06:16 +00:00