-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
move blocking health bean to a separate configuration (CAN ONLY GO IN THE NEXT MAJOR RELEASE) #1212
Draft
wind57
wants to merge
355
commits into
spring-cloud:main
Choose a base branch
from
wind57:move-to-a-common-configuration-for-health
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from all commits
Commits
Show all changes
355 commits
Select commit
Hold shift + click to select a range
c629951
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ccfc0bf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 0f3fa24
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b60a283
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 901cb66
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 251002b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 fedeb17
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 d1dbe3c
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 004f95b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 10168be
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 dc811cf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 3dfe77d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 619c8d0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 12ca211
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a91c1e1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 be2e809
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 1c84e33
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 fcc2b6a
dirty
wind57 9216ef5
fix merge
wind57 e4a2dde
fix test
wind57 1319fe7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 21716d6
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 9424c2e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 4247d21
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 cddd550
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 70d3884
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f8d34f2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 31d2fb8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9dcb329
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 fa9fd09
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9269388
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 22f3f51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 bb44f4b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9714f2c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 725e537
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f3e06a9
fix test
wind57 0f9cb3d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 f91c5ca
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 6e60174
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 78c5575
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 c77377c
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 5eb5c51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 4363dde
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 48f7cb0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 d86f8d1
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 8a18085
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 f408a13
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 a6b2ca8
fix issue
wind57 3e53dd4
Merge branch '3.0.x' into clean-cluster-role-binding
wind57 3ed982a
fix issue
wind57 c871679
Merge branch 'clean-cluster-role-binding' into move-to-a-common-confi…
wind57 e4cab39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ab0d273
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 ba4cab0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 75f46f7
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f173574
trigger
wind57 7ab0d3d
trigger
wind57 bbc6e30
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ab5796b
test
wind57 80c100c
placeholder commit
wind57 4763bdc
test
wind57 970c875
test
wind57 edcc996
test
wind57 82d5f2f
test
wind57 2b56337
test
wind57 dcbc5de
test
wind57 d48d61f
test
wind57 db8d950
test
wind57 ae31faf
test
wind57 dfca45b
test
wind57 34648eb
placeholder commit
wind57 1eacf6c
test
wind57 c77b86a
test
wind57 0e9f1ad
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5c244f5
review comments
wind57 6810e8f
test
wind57 dc62bbc
test
wind57 5d5ea38
test
wind57 f31d741
test
wind57 8de4b9c
test
wind57 7715ca5
test
wind57 40c4514
test
wind57 67d1cc4
test
wind57 622cc94
test
wind57 78734c1
test
wind57 c2ad21e
test
wind57 1d853d2
test
wind57 5e985c5
test
wind57 c982060
test
wind57 8a42c15
fix build
wind57 6a07b13
placeholder commit
wind57 e9077e2
review comments
wind57 34a9e6d
Merge branch 'improve-build-times' into move-to-a-common-configuratio…
wind57 5a7695a
merge
wind57 c775e27
Merge branch 'improve-build-times' into move-to-a-common-configuratio…
wind57 8a5243c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 082a806
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 e13bcd3
fix
wind57 cbf83c4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 95531b7
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 21f870c
Merge branch 'simplify-clean-up-ater-bug-fix' into move-to-a-common-c…
wind57 0515920
fix
wind57 565679c
test
wind57 3a86923
test
wind57 5db40ad
Merge branch 'another-solution-for-our-hangs' into move-to-a-common-c…
wind57 3dd0260
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 85e5e49
Merge branch '3.0.x' into another-solution-for-our-hangs
wind57 168313f
Merge branch '3.0.x' into move-to-a-common-configuration-for-health
wind57 0c797fe
Merge branch 'another-solution-for-our-hangs' into move-to-a-common-c…
wind57 0327416
review comments
wind57 e9fbb15
Merge branch 'another-solution-for-our-hangs' into move-to-a-common-c…
wind57 1408d44
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 6228211
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 2925ee1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 3dc6b44
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 af3a12b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 f5a27dc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 494454a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 237f4aa
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 add0f67
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 72f0fad
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 df2d07e
fix
wind57 131850e
Merge branch 'increase-timeout' into move-to-a-common-configuration-f…
wind57 b85aa2b
trigger
wind57 ba2d75a
trigger
wind57 b6a4b45
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 6d8a0e9
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 00a559d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 74a2d55
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 882f9c1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 6c9071e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5f12aca
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 09c10bb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 3615396
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 2619297
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 116c199
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 041c35c
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f1447cd
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 721fb7e
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 14b165b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 211e3c3
merge main
wind57 c29d467
merge main
wind57 6078fd1
merge main
wind57 3ce8fac
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 41eaa8d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9a32c95
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 4f89298
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ee1031d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 94353c8
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f6707d5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 da09fba
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 9930c7d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 7b9b4e2
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 0043006
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 4c8956f
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 4e292ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5cfb839
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 3129276
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a90a67a
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 1c90fc2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 fa0888a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ab680d1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 34033b7
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 4023ca3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 243e7d5
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 7ed7f5d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 3be81b7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 dd710ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 4fdd06a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 bf61054
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 e66d0ba
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 b8457d2
placeholder commit
wind57 f059697
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 013cc6a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 13ff3b3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 0f7a714
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 88021bb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 dcf4e62
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a600c69
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 3f1a180
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 02de9f9
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 85ca441
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 65acfe6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5526b50
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 0c131b5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 af8a8ee
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9c74e14
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ce72c22
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 a410606
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 8c38ece
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 dcb8fb4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 73e9765
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 1a3a4d9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 926d2b0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 02737d4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5eb1612
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 24defb8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 14c9780
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 719ccbc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5784dfa
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 307e086
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 ecf13b8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 658a5f6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 4eb0e3c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 256332d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 d64dd18
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 2861ea5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b6e2d16
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 9fffd36
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a84bef6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a7000eb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 219289f
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ab12e1d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b32e8a0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 2ddaca9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 8ee9390
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 e1a2517
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 bdf347b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 e3e6334
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 152f6bf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a279c0c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 f6e608e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 6a51e1a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a02efb2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5864ab1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 d872393
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 e690faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b178548
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 56d4b40
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 554112b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ae40722
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 af673ba
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 c5ef476
merge main
wind57 e3ca2f8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 c148ded
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f96a8fa
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 2847f75
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 092dc3a
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 7468875
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 c416eea
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 d2504b6
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 7c5a312
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ed2080b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 61c9aec
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 0355d7a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 4e4ebff
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 bf0cc39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9a937b6
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 f342faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 0890fd8
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
49 changes: 49 additions & 0 deletions
49
...work/cloud/kubernetes/commons/discovery/KubernetesDiscoveryClientHealthConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
/* | ||
* Copyright 2019-2023 the original author or authors. | ||
* | ||
* Licensed under the Apache License, Version 2.0 (the "License"); | ||
* you may not use this file except in compliance with the License. | ||
* You may obtain a copy of the License at | ||
* | ||
* https://www.apache.org/licenses/LICENSE-2.0 | ||
* | ||
* Unless required by applicable law or agreed to in writing, software | ||
* distributed under the License is distributed on an "AS IS" BASIS, | ||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
* See the License for the specific language governing permissions and | ||
* limitations under the License. | ||
*/ | ||
|
||
package org.springframework.cloud.kubernetes.commons.discovery; | ||
|
||
import org.apache.commons.logging.LogFactory; | ||
|
||
import org.springframework.boot.actuate.health.HealthIndicator; | ||
import org.springframework.boot.autoconfigure.condition.ConditionalOnClass; | ||
import org.springframework.cloud.client.ConditionalOnDiscoveryHealthIndicatorEnabled; | ||
import org.springframework.cloud.kubernetes.commons.PodUtils; | ||
import org.springframework.context.ApplicationEventPublisher; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
import org.springframework.core.log.LogAccessor; | ||
|
||
/** | ||
* @author wind57 | ||
*/ | ||
@Configuration | ||
public class KubernetesDiscoveryClientHealthConfiguration { | ||
|
||
private static final LogAccessor LOG = new LogAccessor( | ||
LogFactory.getLog(KubernetesDiscoveryClientHealthConfiguration.class)); | ||
|
||
@Bean | ||
@ConditionalOnClass({ HealthIndicator.class }) | ||
@ConditionalOnDiscoveryHealthIndicatorEnabled | ||
public KubernetesDiscoveryClientHealthIndicatorInitializer indicatorInitializer( | ||
ApplicationEventPublisher applicationEventPublisher, PodUtils<?> podUtils) { | ||
|
||
LOG.debug(() -> "Will publish InstanceRegisteredEvent from blocking implementation"); | ||
return new KubernetesDiscoveryClientHealthIndicatorInitializer(podUtils, applicationEventPublisher); | ||
} | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
since both fabric8 and k8s-native clients use the same exact bean, I decided to move them to a separate configuration and
@Import
it in the proper configs. Since we already had proper tests, by not failing, they proved that@Import
respects AutoConfigureAfter and various @conditional(s)