Commit Graph

1438 Commits

Author SHA1 Message Date
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
spencergibb
a68a7f554e Updates to use new JdbcTemplate.query() varargs method.
Also some polish.
2020-09-28 11:30:53 -04:00
spencergibb
9c8e92febc formatting 2020-09-28 11:23:48 -04:00
spencergibb
ae58fe6835 Fixes merge error 2020-09-28 11:23:11 -04:00
spencergibb
89a3b23c20 Merge branch '2.2.x' 2020-09-28 11:18:35 -04:00
spencergibb
123f64501f formatting 2020-09-28 11:14:27 -04:00
Craig Walls
52e2d9bf64 Optionally throw exception when a repository can't be read.
By default, an exception will be thrown.

Fixes gh-661
Fixes gh-1712
2020-09-28 11:14:13 -04:00
Serge Khodorkovsky
7a6b32fcd8 Enable ignoring sql exceptions
Primarily useful for composite repository configuration,
the flag provides an ability to ignore database exceptions
so that the system would be able to continue working with
other repositories.

Fixes gh-1653
2020-09-28 11:04:36 -04:00
Ryan Baxter
361ccac239 Merge pull request #1649 from Buzzardo/wording-changes
Wording changes
2020-09-28 10:34:23 -04:00
spencergibb
3174d704bf formatting 2020-09-21 16:40:20 -04:00
spencergibb
5188344f1b Adds ConfigData support for ConfigServerInstanceProvider.Function
DiscoveryClient implementation can now register a ConfigServerInstanceProvider.Function using a Bootstrapper registered in spring.factories.

If spring.cloud.config.discovery.enabled is true, config client will use the above function to locate the initial instance of config server. A ConfigServerInstanceMonitor will be promoted to the application context so subsequent updates to the instanecs of config server will be reported.
2020-09-21 16:00:58 -04:00