Skip to content
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
wants to merge 355 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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 May 15, 2023
ccfc0bf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 22, 2023
0f3fa24
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 23, 2023
b60a283
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 25, 2023
901cb66
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 26, 2023
251002b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 27, 2023
fedeb17
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 30, 2023
d1dbe3c
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 May 31, 2023
004f95b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 3, 2023
10168be
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 5, 2023
dc811cf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 6, 2023
3dfe77d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 8, 2023
619c8d0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 16, 2023
12ca211
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 17, 2023
a91c1e1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 22, 2023
be2e809
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 24, 2023
1c84e33
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 17, 2023
fcc2b6a
dirty
wind57 Jul 17, 2023
9216ef5
fix merge
wind57 Jul 17, 2023
e4a2dde
fix test
wind57 Jul 17, 2023
1319fe7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 18, 2023
21716d6
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Jul 18, 2023
9424c2e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 25, 2023
4247d21
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Jul 25, 2023
cddd550
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 2, 2023
70d3884
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Aug 2, 2023
f8d34f2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 3, 2023
31d2fb8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 5, 2023
9dcb329
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Aug 5, 2023
fa9fd09
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 8, 2023
9269388
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Aug 8, 2023
22f3f51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 16, 2023
bb44f4b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 21, 2023
9714f2c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 22, 2023
725e537
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Aug 22, 2023
f3e06a9
fix test
wind57 Aug 22, 2023
0f9cb3d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 2, 2023
f91c5ca
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 2, 2023
6e60174
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 11, 2023
78c5575
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 12, 2023
c77377c
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 12, 2023
5eb5c51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 16, 2023
4363dde
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 16, 2023
48f7cb0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 18, 2023
d86f8d1
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 18, 2023
8a18085
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 20, 2023
f408a13
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 20, 2023
a6b2ca8
fix issue
wind57 Sep 20, 2023
3e53dd4
Merge branch '3.0.x' into clean-cluster-role-binding
wind57 Sep 20, 2023
3ed982a
fix issue
wind57 Sep 20, 2023
c871679
Merge branch 'clean-cluster-role-binding' into move-to-a-common-confi…
wind57 Sep 20, 2023
e4cab39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 21, 2023
ab0d273
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 21, 2023
ba4cab0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 21, 2023
75f46f7
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 21, 2023
f173574
trigger
wind57 Sep 21, 2023
7ab0d3d
trigger
wind57 Sep 21, 2023
bbc6e30
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 23, 2023
ab5796b
test
wind57 Sep 26, 2023
80c100c
placeholder commit
wind57 Sep 26, 2023
4763bdc
test
wind57 Sep 26, 2023
970c875
test
wind57 Sep 26, 2023
edcc996
test
wind57 Sep 26, 2023
82d5f2f
test
wind57 Sep 26, 2023
2b56337
test
wind57 Sep 26, 2023
dcbc5de
test
wind57 Sep 26, 2023
d48d61f
test
wind57 Sep 26, 2023
db8d950
test
wind57 Sep 26, 2023
ae31faf
test
wind57 Sep 26, 2023
dfca45b
test
wind57 Sep 26, 2023
34648eb
placeholder commit
wind57 Sep 26, 2023
1eacf6c
test
wind57 Sep 26, 2023
c77b86a
test
wind57 Sep 26, 2023
0e9f1ad
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 26, 2023
5c244f5
review comments
wind57 Sep 26, 2023
6810e8f
test
wind57 Sep 26, 2023
dc62bbc
test
wind57 Sep 26, 2023
5d5ea38
test
wind57 Sep 26, 2023
f31d741
test
wind57 Sep 26, 2023
8de4b9c
test
wind57 Sep 26, 2023
7715ca5
test
wind57 Sep 26, 2023
40c4514
test
wind57 Sep 26, 2023
67d1cc4
test
wind57 Sep 26, 2023
622cc94
test
wind57 Sep 26, 2023
78734c1
test
wind57 Sep 26, 2023
c2ad21e
test
wind57 Sep 26, 2023
1d853d2
test
wind57 Sep 26, 2023
5e985c5
test
wind57 Sep 26, 2023
c982060
test
wind57 Sep 26, 2023
8a42c15
fix build
wind57 Sep 26, 2023
6a07b13
placeholder commit
wind57 Sep 26, 2023
e9077e2
review comments
wind57 Sep 27, 2023
34a9e6d
Merge branch 'improve-build-times' into move-to-a-common-configuratio…
wind57 Sep 27, 2023
5a7695a
merge
wind57 Sep 27, 2023
c775e27
Merge branch 'improve-build-times' into move-to-a-common-configuratio…
wind57 Sep 27, 2023
8a5243c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 28, 2023
082a806
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 28, 2023
e13bcd3
fix
wind57 Sep 29, 2023
cbf83c4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 29, 2023
95531b7
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 29, 2023
21f870c
Merge branch 'simplify-clean-up-ater-bug-fix' into move-to-a-common-c…
wind57 Sep 29, 2023
0515920
fix
wind57 Sep 29, 2023
565679c
test
wind57 Sep 29, 2023
3a86923
test
wind57 Sep 29, 2023
5db40ad
Merge branch 'another-solution-for-our-hangs' into move-to-a-common-c…
wind57 Sep 29, 2023
3dd0260
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 30, 2023
85e5e49
Merge branch '3.0.x' into another-solution-for-our-hangs
wind57 Sep 30, 2023
168313f
Merge branch '3.0.x' into move-to-a-common-configuration-for-health
wind57 Sep 30, 2023
0c797fe
Merge branch 'another-solution-for-our-hangs' into move-to-a-common-c…
wind57 Sep 30, 2023
0327416
review comments
wind57 Oct 2, 2023
e9fbb15
Merge branch 'another-solution-for-our-hangs' into move-to-a-common-c…
wind57 Oct 2, 2023
1408d44
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 2, 2023
6228211
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 2, 2023
2925ee1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 2, 2023
3dc6b44
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 2, 2023
af3a12b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 5, 2023
f5a27dc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 7, 2023
494454a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 7, 2023
237f4aa
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 7, 2023
add0f67
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 13, 2023
72f0fad
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 13, 2023
df2d07e
fix
wind57 Oct 13, 2023
131850e
Merge branch 'increase-timeout' into move-to-a-common-configuration-f…
wind57 Oct 13, 2023
b85aa2b
trigger
wind57 Oct 14, 2023
ba2d75a
trigger
wind57 Oct 14, 2023
b6a4b45
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 20, 2023
6d8a0e9
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 20, 2023
00a559d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 27, 2023
74a2d55
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 27, 2023
882f9c1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 31, 2023
6c9071e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 3, 2023
5f12aca
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Nov 3, 2023
09c10bb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 8, 2023
3615396
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 14, 2023
2619297
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Nov 14, 2023
116c199
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 16, 2023
041c35c
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Nov 16, 2023
f1447cd
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 18, 2023
721fb7e
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Nov 18, 2023
14b165b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 21, 2023
211e3c3
merge main
wind57 Nov 21, 2023
c29d467
merge main
wind57 Nov 21, 2023
6078fd1
merge main
wind57 Nov 21, 2023
3ce8fac
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 30, 2023
41eaa8d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 4, 2023
9a32c95
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Dec 4, 2023
4f89298
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 7, 2023
ee1031d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 19, 2023
94353c8
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Dec 19, 2023
f6707d5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 22, 2023
da09fba
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Dec 22, 2023
9930c7d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 27, 2023
7b9b4e2
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Dec 27, 2023
0043006
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 16, 2024
4c8956f
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Jan 16, 2024
4e292ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 2, 2024
5cfb839
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Feb 4, 2024
3129276
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 16, 2024
a90a67a
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Feb 16, 2024
1c90fc2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 16, 2024
fa0888a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 22, 2024
ab680d1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 25, 2024
34033b7
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Feb 26, 2024
4023ca3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 9, 2024
243e7d5
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Mar 9, 2024
7ed7f5d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 9, 2024
3be81b7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 10, 2024
dd710ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 10, 2024
4fdd06a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 12, 2024
bf61054
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 13, 2024
e66d0ba
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Mar 13, 2024
b8457d2
placeholder commit
wind57 Mar 13, 2024
f059697
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 13, 2024
013cc6a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 14, 2024
13ff3b3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 18, 2024
0f7a714
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Mar 18, 2024
88021bb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 18, 2024
dcf4e62
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 19, 2024
a600c69
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 19, 2024
3f1a180
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 21, 2024
02de9f9
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Mar 26, 2024
85ca441
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 27, 2024
65acfe6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 27, 2024
5526b50
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 28, 2024
0c131b5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 28, 2024
af8a8ee
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 29, 2024
9c74e14
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 30, 2024
ce72c22
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Mar 31, 2024
a410606
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 2, 2024
8c38ece
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 2, 2024
dcb8fb4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
73e9765
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
1a3a4d9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
926d2b0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
02737d4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 3, 2024
5eb1612
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Apr 3, 2024
24defb8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 4, 2024
14c9780
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 5, 2024
719ccbc
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 6, 2024
5784dfa
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 8, 2024
307e086
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Apr 8, 2024
ecf13b8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 11, 2024
658a5f6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 11, 2024
4eb0e3c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 12, 2024
256332d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 16, 2024
d64dd18
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 17, 2024
2861ea5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 17, 2024
b6e2d16
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Apr 17, 2024
9fffd36
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 18, 2024
a84bef6
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 24, 2024
a7000eb
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 29, 2024
219289f
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 29, 2024
ab12e1d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 30, 2024
b32e8a0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Apr 30, 2024
2ddaca9
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 1, 2024
8ee9390
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 1, 2024
e1a2517
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 May 1, 2024
bdf347b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 17, 2024
e3e6334
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 29, 2024
152f6bf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 May 31, 2024
a279c0c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 1, 2024
f6e608e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 11, 2024
6a51e1a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 13, 2024
a02efb2
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jun 13, 2024
5864ab1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 11, 2024
d872393
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 24, 2024
e690faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 25, 2024
b178548
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 5, 2024
56d4b40
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 19, 2024
554112b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 3, 2024
ae40722
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 4, 2024
af673ba
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 5, 2024
c5ef476
merge main
wind57 Sep 6, 2024
e3ca2f8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 6, 2024
c148ded
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 6, 2024
f96a8fa
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 10, 2024
2847f75
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 13, 2024
092dc3a
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Sep 13, 2024
7468875
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 26, 2024
c416eea
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 1, 2024
d2504b6
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 2, 2024
7c5a312
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 19, 2024
ed2080b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 24, 2024
61c9aec
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Oct 24, 2024
0355d7a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 9, 2024
4e4ebff
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Nov 9, 2024
bf0cc39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 25, 2024
9a937b6
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Nov 25, 2024
f342faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 6, 2024
0890fd8
Merge branch 'main' into move-to-a-common-configuration-for-health
wind57 Dec 6, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import io.kubernetes.client.informer.cache.Lister;
import io.kubernetes.client.openapi.models.V1Endpoints;
import io.kubernetes.client.openapi.models.V1Service;
import org.apache.commons.logging.LogFactory;

import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
Expand All @@ -32,17 +31,14 @@
import org.springframework.cloud.client.discovery.simple.SimpleDiscoveryClientAutoConfiguration;
import org.springframework.cloud.kubernetes.client.KubernetesClientAutoConfiguration;
import org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider;
import org.springframework.cloud.kubernetes.commons.PodUtils;
import org.springframework.cloud.kubernetes.commons.discovery.ConditionalOnSpringCloudKubernetesBlockingDiscovery;
import org.springframework.cloud.kubernetes.commons.discovery.ConditionalOnSpringCloudKubernetesBlockingDiscoveryHealthInitializer;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryClientHealthIndicatorInitializer;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryClientHealthConfiguration;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryPropertiesAutoConfiguration;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Conditional;
import org.springframework.context.annotation.Configuration;
import org.springframework.core.log.LogAccessor;
import org.springframework.context.annotation.Import;

/**
* @author wind57
Expand All @@ -53,11 +49,9 @@
@AutoConfigureAfter({ KubernetesClientAutoConfiguration.class, KubernetesDiscoveryPropertiesAutoConfiguration.class,
KubernetesClientInformerAutoConfiguration.class,
KubernetesClientInformerSelectiveNamespacesAutoConfiguration.class })
@Import(KubernetesDiscoveryClientHealthConfiguration.class)
public class KubernetesInformerDiscoveryClientAutoConfiguration {

private static final LogAccessor LOG = new LogAccessor(
LogFactory.getLog(KubernetesInformerDiscoveryClientAutoConfiguration.class));

@Deprecated(forRemoval = true)
public KubernetesInformerDiscoveryClient kubernetesInformerDiscoveryClient(
KubernetesNamespaceProvider kubernetesNamespaceProvider, SharedInformerFactory sharedInformerFactory,
Expand All @@ -68,20 +62,6 @@ public KubernetesInformerDiscoveryClient kubernetesInformerDiscoveryClient(
serviceLister, endpointsLister, serviceInformer, endpointsInformer, properties);
}

/**
* Creation of this bean triggers publishing an InstanceRegisteredEvent. In turn,
* there is the CommonsClientAutoConfiguration::DiscoveryClientHealthIndicator, that
* implements 'ApplicationListener' that will catch this event. It also registers a
* bean of type DiscoveryClientHealthIndicator via ObjectProvider.
*/
@Bean
@ConditionalOnSpringCloudKubernetesBlockingDiscoveryHealthInitializer
public KubernetesDiscoveryClientHealthIndicatorInitializer indicatorInitializer(
ApplicationEventPublisher applicationEventPublisher, PodUtils<?> podUtils) {
LOG.debug(() -> "Will publish InstanceRegisteredEvent from blocking implementation");
return new KubernetesDiscoveryClientHealthIndicatorInitializer(podUtils, applicationEventPublisher);
}

@Bean
@ConditionalOnMissingBean
@Conditional(ConditionalOnSelectiveNamespacesMissing.class)
Expand Down
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 {
Copy link
Contributor Author

@wind57 wind57 Feb 7, 2023

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)


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);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,13 @@
package org.springframework.cloud.kubernetes.commons;

import org.junit.jupiter.api.Test;
import org.mockito.Mockito;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.test.context.SpringBootTest;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.Bean;

import static org.assertj.core.api.Assertions.assertThat;

Expand Down Expand Up @@ -50,6 +52,13 @@ void beansAreCreated() {
@SpringBootApplication
static class App {

@Bean
public PodUtils<Object> podUtils() {
PodUtils<Object> podUtils = Mockito.mock(PodUtils.class);
Mockito.when(podUtils.currentPod()).thenReturn(Object::new);
return podUtils;
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,22 @@
package org.springframework.cloud.kubernetes.fabric8.discovery;

import io.fabric8.kubernetes.client.KubernetesClient;
import org.apache.commons.logging.LogFactory;

import org.springframework.boot.autoconfigure.AutoConfigureAfter;
import org.springframework.boot.autoconfigure.AutoConfigureBefore;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.cloud.client.CommonsClientAutoConfiguration;
import org.springframework.cloud.client.discovery.simple.SimpleDiscoveryClientAutoConfiguration;
import org.springframework.cloud.kubernetes.commons.PodUtils;
import org.springframework.cloud.kubernetes.commons.discovery.ConditionalOnSpringCloudKubernetesBlockingDiscovery;
import org.springframework.cloud.kubernetes.commons.discovery.ConditionalOnSpringCloudKubernetesBlockingDiscoveryHealthInitializer;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryClientHealthIndicatorInitializer;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryClientHealthConfiguration;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryProperties;
import org.springframework.cloud.kubernetes.commons.discovery.KubernetesDiscoveryPropertiesAutoConfiguration;
import org.springframework.cloud.kubernetes.commons.discovery.ServicePortSecureResolver;
import org.springframework.cloud.kubernetes.fabric8.Fabric8AutoConfiguration;
import org.springframework.context.ApplicationEventPublisher;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Import;
import org.springframework.core.env.Environment;
import org.springframework.core.log.LogAccessor;

/**
* Auto configuration for discovery clients.
Expand All @@ -48,11 +44,9 @@
@ConditionalOnSpringCloudKubernetesBlockingDiscovery
@AutoConfigureBefore({ SimpleDiscoveryClientAutoConfiguration.class, CommonsClientAutoConfiguration.class })
@AutoConfigureAfter({ Fabric8AutoConfiguration.class, KubernetesDiscoveryPropertiesAutoConfiguration.class })
@Import(KubernetesDiscoveryClientHealthConfiguration.class)
public class KubernetesDiscoveryClientAutoConfiguration {

private static final LogAccessor LOG = new LogAccessor(
LogFactory.getLog(KubernetesDiscoveryClientAutoConfiguration.class));

@Bean
@ConditionalOnMissingBean
public KubernetesClientServicesFunction servicesFunction(KubernetesDiscoveryProperties properties,
Expand All @@ -69,12 +63,4 @@ public KubernetesDiscoveryClient kubernetesDiscoveryClient(KubernetesClient clie
new ServicePortSecureResolver(properties));
}

@Bean
@ConditionalOnSpringCloudKubernetesBlockingDiscoveryHealthInitializer
public KubernetesDiscoveryClientHealthIndicatorInitializer indicatorInitializer(
ApplicationEventPublisher applicationEventPublisher, PodUtils<?> podUtils) {
LOG.debug(() -> "Will publish InstanceRegisteredEvent from blocking implementation");
return new KubernetesDiscoveryClientHealthIndicatorInitializer(podUtils, applicationEventPublisher);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,11 @@ private static void manifests(Phase phase) {
Optional.ofNullable(deployment.getSpec().getTemplate().getSpec().getContainers().get(0).getEnv())
.orElse(List.of()));
V1EnvVar debugLevel = new V1EnvVar()
.name("LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_CLOUD_KUBERNETES_CLIENT_DISCOVERY")
.value("DEBUG");
.name("LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_CLOUD_KUBERNETES_CLIENT_DISCOVERY").value("DEBUG");

V1EnvVar debugLevelCommons = new V1EnvVar()
.name("LOGGING_LEVEL_ORG_SPRINGFRAMEWORK_CLOUD_KUBERNETES_COMMONS_DISCOVERY").value("DEBUG");

V1EnvVar selectiveNamespaceA = new V1EnvVar().name("SPRING_CLOUD_KUBERNETES_DISCOVERY_NAMESPACES_0")
.value(NAMESPACE_A);

Expand All @@ -266,6 +269,7 @@ private static void manifests(Phase phase) {
envVars.add(disableReactiveEnvVar);

envVars.add(debugLevel);
envVars.add(debugLevelCommons);
envVars.add(selectiveNamespaceA);
deployment.getSpec().getTemplate().getSpec().getContainers().get(0).setEnv(envVars);
util.createAndWait(NAMESPACE, null, deployment, service, ingress, true);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,7 @@ private void waitForDeployment(String namespace, V1Deployment deployment) {

private void waitForConfigMap(String namespace, V1ConfigMap configMap, Phase phase) {
String configMapName = configMapName(configMap);
await().pollInterval(Duration.ofSeconds(1)).atMost(600, TimeUnit.SECONDS).until(() -> {
await().pollInterval(Duration.ofSeconds(1)).atMost(900, TimeUnit.SECONDS).until(() -> {
try {
coreV1Api.readNamespacedConfigMap(configMapName, namespace, null);
return phase.equals(Phase.CREATE);
Expand Down
Loading