shollander
b828877611
Adds ConditionalOnMissingBean to SimpleDiscoveryProperties.
...
Fixes gh-759
Fixes gh-762
2020-05-22 11:41:04 -04:00
spencergibb
26dae55042
Adds support for non-enumerable property sources in bootstrap.
...
Fixes gh-724
2020-05-21 17:01:26 -04:00
Spencer Gibb
a10fbb9b07
Renames ServiceInstanceListSuppliers to ServiceInstanceListSupplierBuilder ( #761 )
...
Puts static builder() method on ServiceInstanceListSupplier.
Deprecates ServiceInstanceListSupplier.fixed(Environment) and replaces with fixed(serviceId).
2020-05-21 14:08:09 -04:00
Olga Maciaszek-Sharma
c998d69c66
Add predefined ServiceInstanceListSupplier configurations. 2nd part of gh-741. ( #758 )
2020-05-18 16:23:48 +02:00
spencergibb
b59a546ce8
Stops casting RandomPropertySource.
...
This avoids casting errors if property sources are wrapped.
Fixes gh-757
2020-05-15 11:49:17 -04:00
spencergibb
d8034eb31d
ignores .sdkmanrc
2020-05-15 11:46:22 -04:00
Olga Maciaszek-Sharma
8dff101d6f
Lb configuration builders ( #751 )
...
* Adds ServiceInstanceListSuppliers.java with Builder
* Implement TODOs.
* Add javadocs.
* Remove unused type.
* Add test.
* Safer caching config: resolve LoadBalancerCacheManager lazily. Return delegate if LoadBalancerCacheManager not available.
* Switch to using builder in LoadBalancerClientConfiguration.
* Autoformatting with spring-java-format.
* Update docs.
Co-authored-by: Spencer Gibb <spencer@gibb.us >
2020-05-05 17:55:03 +02:00
Olga Maciaszek-Sharma
5f413a7297
Fix capitalisation.
2020-05-04 18:32:42 +02:00
如梦技术
4892418207
spring-cloud-loadbalancer add additional-spring-configuration-metadata.json
...
# Conflicts:
# spring-cloud-loadbalancer/src/main/resources/META-INF/additional-spring-configuration-metadata.json
2020-05-04 18:29:22 +02:00
Olga Maciaszek-Sharma
d27b59e6f6
Fix docs on Instance Health-Check for LoadBalancer. Fixes gh-746.
2020-04-30 15:34:15 +02:00
Olga Maciaszek-Sharma
ad5cb2ebb9
Update license comments.
2020-04-23 15:14:47 +02:00
Tim van Baarsen
047bca54e2
#738 ( #740 )
...
The default value for management.endpoint.env.post.enabled should be false instead of true.
2020-04-20 10:16:20 -04:00
Ryan Baxter
8519d3dd16
Changing default value to be false. Fixes #738
2020-04-20 10:10:45 -04:00
Ryan Baxter
5ed5bc9253
Add utility method to provide a service if to IdUtils ( #721 )
2020-04-02 10:57:00 -04:00
Ryan Baxter
bea81f7b51
Cherry picking commit 4119a9c
2020-04-02 10:26:24 -04:00
robotmrv
0e3ea3397d
try to fix flaky test ( #718 )
...
fixes gh-716
2020-03-25 14:36:45 -04:00
Spencer Gibb
de9882ced9
Ignores failing test because of old boot version.
...
see gh-717
2020-03-20 15:19:51 -04:00
Spencer Gibb
a03fd4c3f8
Fixes issue
2020-03-20 14:43:47 -04:00
Spencer Gibb
d5dc4465b2
Ignores flaky test.
...
See gh-1627
2020-03-20 14:40:24 -04:00
Spencer Gibb
128ca4392a
Bumps to build 2.3.0.BUILD-SNAPSHOT
2020-03-19 10:48:57 -04:00
Spencer Gibb
7dd88a6e7f
Verifies current boot version is in CompatibilityVerifierProperties.
...
Also fixes support for wildcard 2.2.x beyond boot 2.1.x
fixes gh-715
2020-03-18 17:31:29 -04:00
Spencer Gibb
d679add055
Updates compatible versions to 2.2.x and 2.3.x
...
see https://github.com/spring-cloud/spring-cloud-build/issues/153
2020-03-18 17:30:13 -04:00
Spencer Gibb
41208021ed
Bumps to build 2.2.4.BUILD-SNAPSHOT
2020-03-18 16:55:30 -04:00
Spencer Gibb
e946ef1e79
Adds boot 2.3 compatiblity
2020-03-18 16:48:02 -04:00
Olga Maciaszek-Sharma
c30b424e5d
Minor refactoring to adjust to team conventions.
2020-03-17 18:42:20 +01:00
Timothy
b85f7375d1
Adds reconstructURI method to ReactorLoadBalancerExchangeFilterFunction
...
fixes gh-711
2020-03-16 15:42:50 -04:00
Spencer Gibb
289d1dbae5
Increase timeout for CI tests
2020-03-10 15:31:01 -04:00
JinSoo Han
3863d389bb
Typo correction in document ( #708 )
...
Co-authored-by: jinsoohan <jinsoo.han@gmail.com >
2020-03-10 15:24:21 -04:00
Spencer Gibb
e8952fc66a
Updates ContextRefresher to maintain property source ordering. ( #705 )
...
Updates the targetName so that property sources maintain ordering from the bootstrap environment where they were refreshed.
Fixes gh-704
2020-03-10 14:57:57 -04:00
Spencer Gibb
38fdd36a6d
formatting
2020-03-09 16:22:36 -04:00
buildmaster
86d9fc762f
Bumping versions to 2.2.3.BUILD-SNAPSHOT after release
2020-03-04 15:28:35 +00:00
buildmaster
f18c131bb8
Going back to snapshots
2020-03-04 15:28:35 +00:00
buildmaster
562088c03d
Update SNAPSHOT to 2.2.2.RELEASE
2020-03-04 15:21:54 +00:00
Spencer Gibb
69a8cece5f
Ensures HikariDataSource is never re-bound.
...
Removes HikariDataSource from extra-refreshable and adds it to a new property never-refreshable.
ConfigurationPropertiesRebinder now checks that property and does not rebind beans whose class is in never-refreshable.
fixes gh-687
2020-03-03 17:54:58 -05:00
Spencer Gibb
5ea26e13a3
formatting
2020-03-03 17:52:52 -05:00
Spencer Gibb
0f78c5b4ad
Pass SimpleDiscoveryProperties as parameter.
...
18a4227c4e turned proxying off which broke this.
fixes gh-687
2020-03-03 17:51:22 -05:00
Spencer Gibb
773888fcad
Updates javadoc to mention WebClient.
...
fixes gh-645
2020-03-03 16:04:07 -05:00
robotmrv
6db6a81d82
Fixes issues in HealthCheckServiceInstanceListSupplier ( #685 )
...
- WebClient response leaks
- potential Scheduled task leak
- rework polling to plain reactor operators
- remove non atomic operations on ServiceInstance lists
related to gh-629
fixes issues from gh-683
2020-03-03 15:12:07 -05:00
Ryan Baxter
fdfc0d5e9f
Making constructor public
2020-02-27 12:18:08 -05:00
Ryan Baxter
8127bab974
Move BootstrapPropertySource to its own class and expose delegate PropertySource via getter ( #695 )
2020-02-27 10:19:57 -05:00
Olga Maciaszek-Sharma
def41f4540
Allow overriding choose(String serviceId) method.
2020-02-10 17:59:38 +01:00
Olga Maciaszek-Sharma
7716c939b7
Allow overriding ReactorLoadBalancerExchangeFilterFunction.
2020-02-10 13:19:13 +01:00
Olga Maciaszek-Sharma
070e0a8518
Add info on SimpleDiscoveryClient in the docs. Remove redundant param. ( #684 )
...
* Add info on SimpleDiscoveryClient in the docs. Remove redundant parameter.
* Remove warning after discussion.
2020-02-04 18:26:44 +01:00
Olga Maciaszek-Sharma
22efb79776
Fix warning wording.
2020-02-04 16:32:30 +01:00
Olga Maciaszek-Sharma
47a810606d
Fix gh 629 new ( #683 )
...
* Swaps deprecated ConditionalOnEnabledEndpoint for updated annotation.
Swaps with ConditionalOnAvailableEndpoint
* Migrates to new OutputCaptureRule
* Migrates to new OutputCaptureRule
* Add health check loadBalancing implementation.
* Make isAlive() method protected.
Co-authored-by: Spencer Gibb <spencer@gibb.tech >
2020-02-04 10:14:08 +01:00
Spencer Gibb
744ad89177
Changes default value of management.endpoint.env.post.enabled to false.
...
fixes gh-681
2020-01-30 13:11:45 -05:00
Ryan Baxter
cb0a693cc9
merge 2.1.x into 2.2.x
2020-01-28 20:19:31 -05:00
Ryan Baxter
f5baab301d
Merge branch 'srempfer-466' into 2.1.x
2020-01-28 20:15:40 -05:00
Ryan Baxter
c982cd8798
Merge branch '466' of https://github.com/srempfer/spring-cloud-commons into srempfer-466
2020-01-28 20:15:16 -05:00
Olga Maciaszek-Sharma
07977b4ad5
Make LoadBalancerClientFactory bean conditional on missing bean. ( #679 )
2020-01-28 16:12:52 +01:00