Commit Graph

646 Commits

Author SHA1 Message Date
buildmaster
41f7af42b7 Going back to snapshots 2021-07-30 15:55:18 +00:00
buildmaster
958410f11c Update SNAPSHOT to 3.1.0-M1 2021-07-30 15:53:55 +00:00
Olga MaciaszekSharma
d6c9b1583c Fix outdated API calls. 2021-07-15 16:31:00 +02:00
Olga MaciaszekSharma
771907e475 Merge remote-tracking branch 'origin/main' 2021-07-15 16:24:06 +02:00
spencergibb
cfa273be8f updates javadoc 2021-07-13 17:51:32 -04:00
Robert McNees
ea459cee64 Issue 973 - Update Unit version - spring-cloud-context (#977)
* Upgraded more JUnit test versions
2021-07-12 16:14:49 -04:00
Jonathan Schneider
e1a31619cc Polish @RequestMapping annotations (#979)
Co-authored-by: Moderne <team@moderne.io>

Co-authored-by: Moderne <team@moderne.io>
2021-07-10 17:50:28 -04:00
spencergibb
85f95ceb0a Updates to version 3.1.0-SNAPSHOT 2021-07-08 15:44:02 -04:00
Olga MaciaszekSharma
a23bdb8845 Merge remote-tracking branch 'origin/2.2.x' 2021-07-05 16:42:53 +02:00
Olga MaciaszekSharma
f90f11d7b1 Fixes gh-898. 2021-07-05 16:41:57 +02:00
o.gusev
b628338e54 Fixes gh-898
If HikariDataSource bean gets AOP-proxied more than once, the spring-cloud rebind operation doesn't treat it as never-refreshable.
2021-07-05 16:35:16 +02:00
Spencer Gibb
74a0b68287 Run all EnvironmentPostProcessors on refresh. (#969)
This includes ConfigDataEnvironmentPostProcessors which replaces the static call.

Issue #968 was specifically about the cloud foundry vcap post processor. Previously the DecryptEnvironmentPostProcessor was hard coded in ConfigDataContextRefresher

Fixes gh-968
2021-06-23 15:23:31 -04:00
bberto
65df30f420 fixes gh-953 (#963) 2021-06-01 09:45:00 -04:00
buildmaster
90740c1a7f Bumping versions to 3.0.4-SNAPSHOT after release 2021-05-27 20:46:02 +00:00
buildmaster
14886fcee6 Going back to snapshots 2021-05-27 20:46:01 +00:00
buildmaster
0c5d661725 Update SNAPSHOT to 3.0.3 2021-05-27 20:41:35 +00:00
spencergibb
b9c4ac463a adds comment 2021-05-27 11:24:59 -04:00
buildmaster
004c5243ba Bumping versions 2021-05-27 08:45:55 +00:00
buildmaster
ca60bc30fa Bumping versions to 3.0.4-SNAPSHOT after release 2021-05-27 07:41:53 +00:00
buildmaster
c9cc7fbe35 Going back to snapshots 2021-05-27 07:41:53 +00:00
buildmaster
a79a87015a Update SNAPSHOT to 3.0.3 2021-05-27 07:37:15 +00:00
Roberto Paolillo
938fb861d0 Decrypt after config data refresh
Fixes gh-962
Fixes gh-955
2021-05-26 11:42:22 -04:00
spencergibb
fd079e4ec9 Create a new DefaultBootstrapContext if no bootstrap context bean. 2021-05-21 16:37:27 -04:00
spencergibb
9a78893238 don't rely on name for bootstrap context bean 2021-05-21 16:28:59 -04:00
spencergibb
9efc70b694 Provide original BootstrapContext to ConfigDataContextRefresher
RefreshBootstrapRegistryInitializer saves the BootstrapContext to the application context so ConfigDataContextRefresher can reuse it during rebind.

This fixes issues where custom beans were created such as RestTemplate or discovery first config server lookup.

Fixes gh-933
2021-05-21 15:01:53 -04:00
buildmaster
6b7772cab4 Bumping versions to 2.2.9.BUILD-SNAPSHOT after release 2021-04-21 15:33:13 +00:00
buildmaster
dee48dd900 Going back to snapshots 2021-04-21 15:33:13 +00:00
buildmaster
2e8cf980cd Update SNAPSHOT to 2.2.8.RELEASE 2021-04-21 15:27:47 +00:00
spencergibb
cec00606fe moves test away from outputcapture 2021-03-18 17:42:45 -04:00
spencergibb
6e556a5088 put test output in variable 2021-03-18 17:09:07 -04:00
spencergibb
355d3cf5e2 adds debug 2021-03-18 16:56:39 -04:00
spencergibb
a9c88e6f5a Updates tests for java 16 2021-03-18 16:41:17 -04:00
buildmaster
81ae09f20d Bumping versions to 3.0.3-SNAPSHOT after release 2021-03-17 21:11:40 +00:00
buildmaster
708f92ae57 Going back to snapshots 2021-03-17 21:11:39 +00:00
buildmaster
c0723f3af3 Update SNAPSHOT to 3.0.2 2021-03-17 21:08:04 +00:00
buildmaster
0c0aa00e2d Bumping versions 2021-03-16 16:05:38 +00:00
spencergibb
cde355e5e5 Provides a way to disable DecryptEnvironmentPostProcessor.
Fixes gh-927
2021-03-15 21:33:41 -04:00
spencergibb
3885af8caf Moves bootstrap enabled property to refresh property source.
LegacyContextRefresher used to set `spring.cloud.bootstrap.enabled=true` as a property using the api of `SpringApplicationBuilder`. This change moves the setting of properties for refresh from ContextRefresher to LegacyContextRefresher since they are only applicable there. The bootstrap enabled propery is now set on the refresh property source rather than the api.

Fixes gh-892
2021-03-15 20:27:14 -04:00
spencergibb
5928ccd168 Ensure that TextEncryptor can be excluded.
Moves usage of TextEncryptor to TextEncryptorUtils.

Fixes gh-912
2021-03-15 19:49:53 -04:00
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
3aff1bea0d Bumping versions to 2.2.8.BUILD-SNAPSHOT after release 2021-02-11 13:11:53 +00:00
buildmaster
c8d0e7f13d Going back to snapshots 2021-02-11 13:11:52 +00:00
buildmaster
d74cd35533 Update SNAPSHOT to 2.2.7.RELEASE 2021-02-11 13:09:01 +00: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