Commit Graph

1448 Commits

Author SHA1 Message Date
buildmaster
dca097fde1 Bumping versions to 3.0.2-SNAPSHOT after release 2021-01-08 18:18:11 +00:00
buildmaster
e192b7a9bc Going back to snapshots 2021-01-08 18:18:11 +00:00
buildmaster
de32eb3d4d Update SNAPSHOT to 3.0.1 2021-01-08 18:15:27 +00:00
spencergibb
a95f1300ad Ensures spring.cloud.config.name takes precedence.
spring.cloud.config.name should only default to spring.application.name, not be overridden by it.

Fixes gh-1784
2021-01-08 12:54:46 -05:00
spencergibb
3d38f7af0d Fixes multi-document file name clashes.
Multi-document yaml or properties files need unique names, otherwise lower precedence property sources will overwrite higher precedence ones. This adds a check to see if the original property source name contains 'document #'. If it does, that is used as the propety source name.

Fixes gh-1778
2020-12-23 12:52:00 -05:00
spencergibb
ccb32d23fc Only use spring.cloud.config.profiles if not 'default'.
In ConfigData, the Profiles object takes care of resolving the default profile. So only prefer spring.cloud.config.profiles if it has been set to something other than 'default'.

Fixes gh-1777
2020-12-23 12:49:42 -05:00
spencergibb
f840725c12 Support Retry in spring.config.import=configserver:
Fixes gh-1775
2020-12-22 17:40:32 -05:00
spencergibb
cb2981d7a0 Updates to spring-vault 2.3.0
Fixes gh-1776
2020-12-22 16:24:31 -05:00
buildmaster
8a939d9cf3 Bumping versions 2020-12-22 17:58:54 +00:00
buildmaster
6506bb47c5 Bumping versions 2020-12-22 09:58:12 +00:00
buildmaster
6f9b74f2c7 Bumping versions to 3.0.1-SNAPSHOT after release 2020-12-21 19:14:54 +00:00
buildmaster
dbea03703c Going back to snapshots 2020-12-21 19:14:54 +00:00
buildmaster
73ebf56384 Update SNAPSHOT to 3.0.0 2020-12-21 19:11:45 +00:00
Spencer Gibb
499739f308 Uses BindHandler if registered in bootstrap. (#1773)
* Uses BindHandler if registered in bootstrap.

This allows spring-cloud-context to register a TextEncryptorBindHandler and handle `{cipher}` prefixed properties prior to sending for remote data.

* Adds test that a BindHandler in bootstrap context is used.

* Makes KeyProperties a bean that is conditional on missing.
2020-12-20 11:39:11 -05:00
spencergibb
f5e5753dd5 Prefer client profiles over spring.profiles.active
If spring.clout.config.profile is set use it otherwise use profiles set by spring boot.

Fixes gh-1764
2020-12-14 21:32:53 -05:00
spencergibb
a2087e05fb Updates for boot 2.4.1 property source name.
Fixes gh-1771
2020-12-14 17:17:10 -05:00
buildmaster
ef35a43deb Bumping versions 2020-12-14 09:58:58 +00:00
buildmaster
a55c14f3b2 Going back to snapshots 2020-12-11 21:57:53 +00:00
buildmaster
14d821229f Update SNAPSHOT to 3.0.0-RC1 2020-12-11 21:56:33 +00:00
Dave Syer
8b48ed36c6 Ensure config server works with Spring Boot 2.4
Since 2.4 the names of property sources have changed, so we have to
change the `clean()` method in `NativeEnvironmentRepository` in order
not to simply omit all the sources.
2020-12-11 12:03:00 +00:00
Dave Syer
d89199d98a Avoid triggering self-invocation warning inadvertently 2020-12-02 13:14:03 +00:00
Dave Syer
6d8d9c4682 Make use of @RefreshScope conditional in config server
Fixes gh-1763
2020-12-02 11:44:05 +00:00
buildmaster
162b39febb Going back to snapshots 2020-12-01 22:38:36 +00:00
buildmaster
b082673cc9 Update SNAPSHOT to 3.0.0-M6 2020-12-01 22:37:20 +00:00
buildmaster
8c5a01abf7 Bumping versions 2020-11-19 09:59:09 +00:00
buildmaster
a0c2b12cd1 Going back to snapshots 2020-11-17 20:33:03 +00:00
buildmaster
7562cdb702 Update SNAPSHOT to 3.0.0-M5 2020-11-17 20:31:41 +00:00
spencergibb
af20e6176f Updates spring-vault to version 2.3.0-M1
Fixes gh-1751
2020-11-17 15:18:04 -05:00
buildmaster
cf620f1e7c Bumping versions 2020-11-17 09:58:39 +00:00
buildmaster
5545624a0f Bumping versions 2020-11-13 09:59:18 +00:00
spencergibb
7620301916 Documents spring.config.import=configserver:
Fixes gh-1695
2020-11-12 18:07:16 -05:00
spencergibb
e1421f44bc Merge branch '2.2.x' 2020-11-12 17:25:02 -05:00
Laisky
73e88e52da Adds option to clone git submodules.
Fixes gh-717
Fixes gh-1484
2020-11-12 17:24:01 -05:00
spencergibb
05558e8e9a Merge branch '2.2.x' 2020-11-10 13:31:12 -05:00
Andy Clement
bf2c61f722 Do not discard the root exception when things go wrong
The root exception can detail an important root cause. For
example with native-images it can indicate a flag you need
to set for the native-image to compile correctly:
Caused by: java.net.MalformedURLException:
  Accessing an URL protocol that was not enabled. The URL
  protocol http is supported but not enabled by default.
  It must be enabled by adding the -H:EnableURLProtocols=http
  option to the native-image command.
2020-11-10 13:25:38 -05:00
buildmaster
0e0f519570 Bumping versions to 2.2.7.BUILD-SNAPSHOT after release 2020-11-09 10:16:15 +00:00
buildmaster
209e8c5bba Going back to snapshots 2020-11-09 10:16:15 +00:00
buildmaster
f1e920b218 Update SNAPSHOT to 2.2.6.RELEASE 2020-11-09 10:13:27 +00:00
Marcin Grzejszczak
c25e3d6aa6 Fixed method names 2020-11-05 12:13:31 +01:00
Marcin Grzejszczak
4fd1c6831b Added conditions on EnvironmentMonitorAutoConfiguration 2020-11-05 11:53:42 +01:00
Thomas Vitale
aa0bbffd8f Remove ResourceController mappings with param useDefaultLabel (#1728)
Fixes gh-1643
2020-11-03 13:12:11 -05:00
spencergibb
cb57c25244 Updates field name to resource 2020-10-16 15:02:31 -04:00
spencergibb
8c0c9384f2 Updates ConfigData to use updated api
See gh-1715
2020-10-16 13:23:41 -04:00
buildmaster
c0abdf32cc Bumping versions 2020-10-10 09:57:50 +00:00
spencergibb
2e80c9ca9d Updates ConfigData to use spring.cloud.config.media-type.
See gh-1715
2020-10-09 21:34:35 -04:00
spencergibb
5b3b51f45e formatting 2020-10-09 21:15:41 -04:00
spencergibb
5c1da21dc4 Merge branch '2.2.x' 2020-10-09 21:15:09 -04:00
spencergibb
48eb520e7e Adds support for spring.cloud.config.media-type
fixes gh-1715
2020-10-09 21:13:39 -04:00
buildmaster
08b293ce3b Going back to snapshots 2020-10-03 13:48:37 +00:00
buildmaster
7476451c27 Update SNAPSHOT to 3.0.0-M4 2020-10-03 13:47:12 +00:00