Commit Graph

1093 Commits

Author SHA1 Message Date
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
Spencer Gibb
da3a253af3 Merge branch '2.1.x' into 2.2.x 2020-01-27 17:30:13 -05:00
Spencer Gibb
6ad13c2de8 Removes inadvertant copied file 2020-01-27 17:23:27 -05:00
Spencer Gibb
c69bf5c597 Merge branch '2.1.x' into 2.2.x 2020-01-27 17:06:31 -05:00
Spencer Gibb
a6354ea405 formatting 2020-01-27 17:06:27 -05:00
Spencer Gibb
b10e449279 Forces web-application-type=none in ContextRefresher.
This allows apps with spring.main.web-application-type={REACTIVE|SERVLET} to function properly without error.

fixes gh-678
2020-01-27 17:06:04 -05:00
Spencer Gibb
2ddcd6c4ce fixes description 2020-01-27 17:01:12 -05:00
Spencer Gibb
774fa69001 fixes ordering 2020-01-27 17:00:59 -05:00
Spencer Gibb
ebc46d60ec Moves integration tests to separate package 2020-01-27 17:00:18 -05:00
Spencer Gibb
e8f9610f9f removes unused files 2020-01-27 16:59:38 -05:00
Ryan Baxter
f043e0dd4e Making capacity getter and setter public. Fixes #676 2020-01-27 10:10:53 -05:00
Spencer Gibb
97020405d9 Adds FixedServiceInstanceListSupplier 2020-01-21 23:15:29 -05:00
Spencer Gibb
eac5cde53a Removes unused branches 2020-01-21 12:46:54 -05:00
Spencer Gibb
0ce1c3a741 Migrates to new OutputCaptureRule 2020-01-21 12:45:30 -05:00
Spencer Gibb
55e7ce5103 Migrates to new OutputCaptureRule 2020-01-21 12:45:30 -05:00
Spencer Gibb
8b53f2862a Swaps deprecated ConditionalOnEnabledEndpoint for updated annotation.
Swaps with ConditionalOnAvailableEndpoint
2020-01-21 12:45:30 -05:00
Marcin Grzejszczak
b6ddff7d2e Added 2.2.x to the list of whitelisted branches 2020-01-21 15:43:31 +01:00
buildmaster
bde980808c Bumping versions 2020-01-21 13:36:29 +00:00
Olga Maciaszek-Sharma
ec784b757e Add hints to API via the Request interface. Fixes gh-647. (#669)
* Add hints to API via the Request interface. Fixes gh-647.

* Switch to generic context.
2020-01-17 14:26:33 -05:00
Spencer Gibb
232c7f71d2 Adjusts ordering when override system properties is false. (#670)
This fixes as reversed property source bug.

fixes gh-668
2020-01-15 19:30:45 -05:00
Toshiaki Maki
d7767a058a Add once method for Customizer of circuit breaker (#626)
* Add Customizer.once

* Make the logic of Customer.once atomic

* Add document on how to use once method
2020-01-15 10:19:03 -05:00
Ryan Baxter
61ba39ee11 Fix broken links. Fixes #663 2020-01-06 12:46:57 -05:00
buildmaster
080cd374fc Bumping versions 2019-12-20 16:05:11 +00:00
buildmaster
2e40fcec41 Bumping versions to 2.2.2.BUILD-SNAPSHOT after release 2019-12-20 11:59:03 +00:00
buildmaster
980ce49895 Going back to snapshots 2019-12-20 11:59:03 +00:00
buildmaster
f533ef1553 Update SNAPSHOT to 2.2.1.RELEASE 2019-12-20 11:53:32 +00:00
Olga Maciaszek-Sharma
8c054083cc Use configuration properties instead of environment. (#662)
* Use configuration properties instead of environment.

* Fix after review.
2019-12-19 17:27:40 +01:00
buildmaster
f25bbad456 Bumping versions 2019-12-18 16:05:04 +00:00
Olga Maciaszek-Sharma
75338cde79 Zoned ServiceInstanceListSupplier (#658)
* Get ServiceInstance zone from metadata.

* Add ZonePreferenceServiceInstanceListSupplier.

* Add javadocs and license entries.

* Add tests.

* Add documentation.

* Documentation fix.

* Fix after code review.
2019-12-18 15:25:51 +01:00
Spencer Gibb
be0fa8f1b8 Merge branch '2.1.x' 2019-12-17 19:28:18 -05:00
Spencer Gibb
6c9bcb9f38 Adds static to ConfigurationPropertiesBeans bean.
This avoids a bean post processor warning.

Fixes gh-657
2019-12-17 19:26:49 -05:00
Spencer Gibb
5f3981bbfc Merge branch '2.1.x' 2019-12-17 17:18:01 -05:00
Spencer Gibb
618d2b31ba Adds .flattened-pom.xml 2019-12-17 17:16:43 -05:00
Spencer Gibb
d8db91206e Moves locateCollection impl to static method 2019-12-17 17:15:49 -05:00
Dave Syer
bfbadec0f0 Prevent listeners being added multiple times on restart
(and at other times potentially - e.g. if 2 contexts share a parent).

Plus some general tidy up on compiler warnings.

Fixes gh-613
2019-12-17 16:31:11 +00:00
Ryan Baxter
4cc23b4b71 Merge remote-tracking branch 'origin/2.1.x' 2019-12-13 19:38:27 -05:00
Ryan Baxter
d0ca983936 Removing the possibility of null propertysources being returned in the locator 2019-12-13 19:37:57 -05:00
Ryan Baxter
e4be432ec4 Merge remote-tracking branch 'origin/2.1.x' 2019-12-13 12:09:24 -05:00