Commit Graph

371 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
spencergibb
dae4cafb96 Updates to use Bootstrapper to customize ConfigData.
Removes AbstractConfigData* classes.

Creates ConfigServerBootstrapper.java to allow simplified bootstrapping for users.
2020-09-17 18:08:42 -04:00
spencergibb
baa1bd4282 Formatting 2020-09-17 11:05:13 -04:00
spencergibb
eb60b4ffcc Checks if config client enabled in isResolvable(). 2020-09-11 10:05:04 -04:00
buildmaster
73477d2365 Bumping versions 2020-09-09 09:57:43 +00:00
spencergibb
3fc24baa9f removes unused import 2020-09-08 17:14:04 -04:00
spencergibb
b0c26d296f Updates test to deal with configService property source. 2020-09-08 17:13:47 -04:00
Spencer Gibb
935560f91f Updates ConfigServerHealthIndicator.java for ConfigData (#1699)
ConfigClientAutoConfiguration now uses @ConditionalOnEnabledHealthIndicator("config") to enable the bean.

The configClient property source is now always added (even if empty) on successful call to config server.

The ConfigServerHealthIndicator now uses the existence of the configClient property source as the indicator that config server is UP. No new calls to config server are made by the health indicator.

Fixes gh-1696
2020-09-08 14:22:41 -04:00
buildmaster
09ad9a84f1 Bumping versions to 2.2.6.BUILD-SNAPSHOT after release 2020-08-28 19:38:35 +00:00
buildmaster
1434f791ab Going back to snapshots 2020-08-28 19:38:35 +00:00
buildmaster
cec480ea2d Update SNAPSHOT to 2.2.5.RELEASE 2020-08-28 19:35:24 +00:00
spencergibb
34e1220520 Updates to add new ConfigData optional parameter. 2020-08-26 14:17:19 -04:00
Ryan Baxter
9cd18d2f0f Merge remote-tracking branch 'origin/2.2.x' 2020-08-24 16:23:00 -04:00
JiaLin
b5fff94b43 use tls common classes 2020-08-24 00:35:05 +08:00
JiaLin
4ed2d4208f Merge remote-tracking branch 'upstream/2.2.x' into 2.2.x 2020-08-24 00:00:16 +08:00
spencergibb
d76002d119 Updates to new ConfigData method signatures 2020-08-21 10:19:04 -04:00
Spencer Gibb
854060b019 Support for new ConfigDataLoader infrastructure. (#1656)
This allows for `spring.config.import=configserver:`

Supports the fact that bootstrap is now opt in. In config client, by default, `ConfigServerConfigData*` will be used instead of `ConfigServicePropertySourceLocator`.
2020-08-06 15:55:07 -04:00
JiaLin
67a6cbfe23 change format for check style 2020-08-01 20:38:58 +08:00
JiaLin
d56038e3e6 add client side TLS cert support 2020-08-01 20:38:58 +08:00
buildmaster
c323d7e206 Bumping versions to 2.2.5.BUILD-SNAPSHOT after release 2020-07-31 20:24:37 +00:00
buildmaster
ece5ff35de Going back to snapshots 2020-07-31 20:24:36 +00:00
buildmaster
fc58acc331 Update SNAPSHOT to 2.2.4.RELEASE 2020-07-31 20:22:15 +00:00
buildmaster
43a13dd899 Going back to snapshots 2020-07-23 18:03:37 +00:00
buildmaster
6274ac293f Update SNAPSHOT to 3.0.0-M3 2020-07-23 18:02:19 +00:00
spencergibb
4a5ba579a9 Merge branch '2.2.x' 2020-06-25 13:27:58 -04:00
spencergibb
4bbb4ca5e4 Removes @Autowired from fields 2020-06-25 13:15:04 -04:00
spencergibb
9021b3805f Adds junit-vintage-engine 2020-06-15 16:32:55 -04:00
buildmaster
e471c15273 Going back to snapshots 2020-05-29 18:28:09 +00:00
buildmaster
f0596ad4dc Update SNAPSHOT to 3.0.0-M2 2020-05-29 18:27:14 +00:00