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

Simplify config data code a bit (CAN ONLY GO IN THE NEXT MAJOR RELEASE) #1189

Draft
wants to merge 370 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
370 commits
Select commit Hold shift + click to select a range
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
aded605
Merge branch 'main' into simplify-config-data-code-a-bit
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
e6f357c
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Jul 17, 2023
1319fe7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 18, 2023
ce3f543
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Jul 18, 2023
9424c2e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jul 25, 2023
bd1d38d
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Jul 25, 2023
cddd550
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 2, 2023
1e266af
Merge branch 'main' into simplify-config-data-code-a-bit
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
212da95
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Aug 5, 2023
2e7e421
trigger
wind57 Aug 5, 2023
fa9fd09
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Aug 8, 2023
2150c47
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Aug 8, 2023
428372d
trigger
wind57 Aug 8, 2023
9ca883d
trigger
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
4e6ebf1
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Aug 22, 2023
0f9cb3d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 2, 2023
b7304fd
Merge branch 'main' into simplify-config-data-code-a-bit
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
8e6edff
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Sep 12, 2023
5eb5c51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 16, 2023
cdcc4b7
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Sep 16, 2023
48f7cb0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 18, 2023
94faf4e
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Sep 18, 2023
8a18085
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 20, 2023
d19b997
Merge branch 'main' into simplify-config-data-code-a-bit
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
b43ed66
Merge branch 'clean-cluster-role-binding' into simplify-config-data-c…
wind57 Sep 20, 2023
e4cab39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 21, 2023
2823660
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Sep 21, 2023
ba4cab0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 21, 2023
a88fe82
Merge branch 'main' into simplify-config-data-code-a-bit
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
fc06861
Merge branch 'improve-build-times' into simplify-config-data-code-a-bit
wind57 Sep 27, 2023
5a7695a
merge
wind57 Sep 27, 2023
d23f582
Merge branch 'improve-build-times' into simplify-config-data-code-a-bit
wind57 Sep 27, 2023
8a5243c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 28, 2023
b4b7bf4
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Sep 28, 2023
4636bc8
add profile
wind57 Sep 28, 2023
b65a7d4
Merge branch 'add-profile-for-pretest-actions' into simplify-config-d…
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
ccf2cf4
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Sep 29, 2023
7eeb454
Merge branch 'simplify-clean-up-ater-bug-fix' into simplify-config-da…
wind57 Sep 29, 2023
0515920
fix
wind57 Sep 29, 2023
565679c
test
wind57 Sep 29, 2023
3a86923
test
wind57 Sep 29, 2023
f92960b
Merge branch 'another-solution-for-our-hangs' into simplify-config-da…
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
a36b287
Merge branch '3.0.x' into simplify-config-data-code-a-bit
wind57 Sep 30, 2023
8d4c395
Merge branch 'another-solution-for-our-hangs' into simplify-config-da…
wind57 Sep 30, 2023
0327416
review comments
wind57 Oct 2, 2023
c998899
Merge branch 'another-solution-for-our-hangs' into simplify-config-da…
wind57 Oct 2, 2023
1408d44
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 2, 2023
b479c3f
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Oct 2, 2023
2925ee1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 2, 2023
0340ca5
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Oct 2, 2023
71e28ba
placeholder commit
wind57 Oct 2, 2023
2caa179
placeholder commit
wind57 Oct 2, 2023
af7cdbb
placeholder commit
wind57 Oct 3, 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
cc54bc1
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Oct 7, 2023
add0f67
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 13, 2023
9772622
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Oct 13, 2023
df2d07e
fix
wind57 Oct 13, 2023
02f6bc6
Merge branch 'increase-timeout' into simplify-config-data-code-a-bit
wind57 Oct 13, 2023
1029ecc
trigger
wind57 Oct 13, 2023
b6a4b45
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 20, 2023
51999ad
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Oct 20, 2023
00a559d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Oct 27, 2023
de460ea
Merge branch 'main' into simplify-config-data-code-a-bit
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
d3428ef
Merge branch 'main' into simplify-config-data-code-a-bit
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
98cde54
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Nov 14, 2023
116c199
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 16, 2023
9463a05
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Nov 16, 2023
f1447cd
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 18, 2023
07d99a5
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Nov 18, 2023
14b165b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 21, 2023
82f21f0
Merge branch 'main' into simplify-config-data-code-a-bit
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
d7a2b33
Merge branch 'main' into simplify-config-data-code-a-bit
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
1b1c164
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Dec 19, 2023
f6707d5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 22, 2023
cd61725
merge main
wind57 Dec 22, 2023
9930c7d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Dec 27, 2023
ca071e3
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Dec 27, 2023
0043006
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Jan 16, 2024
e7384a8
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Jan 16, 2024
4e292ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 2, 2024
a2f496c
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Feb 4, 2024
3129276
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Feb 16, 2024
f04ed58
Merge branch 'main' into simplify-config-data-code-a-bit
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
32e3556
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Feb 26, 2024
4023ca3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Mar 9, 2024
cca5bed
Merge branch 'main' into simplify-config-data-code-a-bit
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
81efd8f
Merge branch 'main' into simplify-config-data-code-a-bit
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
5bd3f88
Merge branch 'main' into simplify-config-data-code-a-bit
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
3d22d02
Merge branch 'main' into simplify-config-data-code-a-bit
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
3529141
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Mar 31, 2024
b5477a7
placeholder commit
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
37c0ba2
Merge branch 'main' into simplify-config-data-code-a-bit
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
397d9af
Merge branch 'main' into simplify-config-data-code-a-bit
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
93c95cb
Merge branch 'main' into simplify-config-data-code-a-bit
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
698a120
Merge branch 'main' into simplify-config-data-code-a-bit
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
7c98947
merge main
wind57 Sep 6, 2024
9740bef
formatting
wind57 Sep 6, 2024
9dd5bbf
fix test
wind57 Sep 6, 2024
82b51e5
formatting
wind57 Sep 6, 2024
f9330c3
formatting
wind57 Sep 6, 2024
e3ca2f8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Sep 6, 2024
ffb7e19
Merge branch 'main' into simplify-config-data-code-a-bit
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
a1fd41a
Merge branch 'main' into simplify-config-data-code-a-bit
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
6099d1f
Merge branch 'main' into simplify-config-data-code-a-bit
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
d4bd1a6
merge main
wind57 Oct 24, 2024
66f929c
fix test
wind57 Oct 25, 2024
0355d7a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 Nov 9, 2024
5dc9c06
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 Nov 9, 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
2 changes: 1 addition & 1 deletion .github/workflows/composites/pre-test-actions/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ runs:
- name: build project
shell: bash
run: |
./mvnw clean install -Dskip.build.image=true -DskipITs -DskipTests -T1C -U -B -q
./mvnw clean install -P 'run-on-github-actions' -Dskip.build.image=true -DskipITs -DskipTests -T1C -U -B -q

- name: build controllers project
uses: ./.github/workflows/composites/build-controllers-project
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,17 +24,16 @@
import org.springframework.boot.context.config.ConfigDataLocation;
import org.springframework.boot.context.config.ConfigDataLocationResolverContext;
import org.springframework.boot.context.config.Profiles;
import org.springframework.boot.logging.DeferredLogFactory;
import org.springframework.cloud.kubernetes.commons.KubernetesClientProperties;
import org.springframework.cloud.kubernetes.commons.KubernetesNamespaceProvider;
import org.springframework.cloud.kubernetes.commons.config.ConfigDataRetryableConfigMapPropertySourceLocator;
import org.springframework.cloud.kubernetes.commons.config.ConfigDataRetryableSecretsPropertySourceLocator;
import org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties;
import org.springframework.cloud.kubernetes.commons.config.ConfigMapPropertySourceLocator;
import org.springframework.cloud.kubernetes.commons.config.KubernetesConfigDataLocationResolver;
import org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties;
import org.springframework.cloud.kubernetes.commons.config.SecretsPropertySourceLocator;
import org.springframework.core.env.Environment;
import org.springframework.cloud.kubernetes.commons.config.configdata.ConfigDataProperties;
import org.springframework.cloud.kubernetes.commons.config.configdata.KubernetesConfigDataLocationResolver;

import static org.springframework.cloud.kubernetes.client.KubernetesClientUtils.kubernetesApiClient;
import static org.springframework.cloud.kubernetes.commons.config.ConfigUtils.registerSingle;
Expand All @@ -44,17 +43,12 @@
*/
public class KubernetesClientConfigDataLocationResolver extends KubernetesConfigDataLocationResolver {

public KubernetesClientConfigDataLocationResolver(DeferredLogFactory factory) {
super(factory);
}

@Override
protected void registerBeans(ConfigDataLocationResolverContext resolverContext, ConfigDataLocation location,
Profiles profiles, KubernetesConfigDataLocationResolver.PropertyHolder propertyHolder,
KubernetesNamespaceProvider namespaceProvider) {
KubernetesClientProperties kubernetesClientProperties = propertyHolder.kubernetesClientProperties();
ConfigMapConfigProperties configMapProperties = propertyHolder.configMapConfigProperties();
SecretsConfigProperties secretsProperties = propertyHolder.secretsProperties();
Profiles profiles, ConfigDataProperties properties, KubernetesNamespaceProvider namespaceProvider) {
KubernetesClientProperties kubernetesClientProperties = properties.clientProperties();
ConfigMapConfigProperties configMapProperties = properties.configMapProperties();
SecretsConfigProperties secretsProperties = properties.secretsProperties();

ConfigurableBootstrapContext bootstrapContext = resolverContext.getBootstrapContext();
CoreV1Api coreV1Api = registerClientAndCoreV1Api(bootstrapContext, kubernetesClientProperties);
Expand Down Expand Up @@ -96,8 +90,4 @@ private CoreV1Api registerClientAndCoreV1Api(ConfigurableBootstrapContext bootst
return coreV1Api;
}

protected KubernetesNamespaceProvider kubernetesNamespaceProvider(Environment environment) {
return new KubernetesNamespaceProvider(environment);
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@

package org.springframework.cloud.kubernetes.client.config;

import java.util.function.Supplier;

import io.kubernetes.client.openapi.ApiClient;
import io.kubernetes.client.openapi.apis.CoreV1Api;
import org.junit.jupiter.api.Assertions;
Expand All @@ -31,7 +29,6 @@
import org.springframework.boot.context.config.Profiles;
import org.springframework.boot.context.properties.bind.Binder;
import org.springframework.boot.context.properties.source.ConfigurationPropertySources;
import org.springframework.boot.logging.DeferredLogFactory;
import org.springframework.boot.test.system.CapturedOutput;
import org.springframework.boot.test.system.OutputCaptureExtension;
import org.springframework.cloud.kubernetes.commons.KubernetesClientProperties;
Expand All @@ -49,13 +46,10 @@
@ExtendWith(OutputCaptureExtension.class)
class KubernetesClientConfigDataLocationResolverTests {

private static final DeferredLogFactory FACTORY = Supplier::get;

private static final ConfigDataLocationResolverContext RESOLVER_CONTEXT = Mockito
.mock(ConfigDataLocationResolverContext.class);

private static final KubernetesClientConfigDataLocationResolver RESOLVER = new KubernetesClientConfigDataLocationResolver(
FACTORY);
private static final KubernetesClientConfigDataLocationResolver RESOLVER = new KubernetesClientConfigDataLocationResolver();

/*
* both ConfigMapConfigProperties and SecretsConfigProperties are null, thus they are
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
/*
* Copyright 2013-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.config.configdata;

import org.springframework.boot.ConfigurableBootstrapContext;
import org.springframework.boot.context.config.ConfigDataLocationResolverContext;
import org.springframework.cloud.kubernetes.commons.KubernetesClientProperties;
import org.springframework.cloud.kubernetes.commons.config.ConfigMapConfigProperties;
import org.springframework.cloud.kubernetes.commons.config.SecretsConfigProperties;

import static org.springframework.cloud.kubernetes.commons.config.ConfigUtils.registerSingle;

public record ConfigDataProperties(KubernetesClientProperties clientProperties,
ConfigMapConfigProperties configMapProperties, SecretsConfigProperties secretsProperties) {

static Registrar of(ConfigDataLocationResolverContext context) {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the idea here is once you call of, the only option you have after is register (this is partial functions kind of), which will register the properties and give them back in form of the ConfigDataProperties instance. My sole purpose of the PR was around this thing, mainly, to decouple and make configdata slightly easier to reason about.

Properties all = Properties.of(context);
return () -> {
registerProperties(context, all.clientProperties(), all.configMapProperties(),
all.secretsConfigProperties());
return new ConfigDataProperties(all.clientProperties(), all.configMapProperties(),
all.secretsConfigProperties());
};
}

private static void registerProperties(ConfigDataLocationResolverContext resolverContext,
KubernetesClientProperties clientProperties, ConfigMapConfigProperties configMapProperties,
SecretsConfigProperties secretsProperties) {

ConfigurableBootstrapContext bootstrapContext = resolverContext.getBootstrapContext();

registerSingle(bootstrapContext, KubernetesClientProperties.class, clientProperties,
"configDataKubernetesClientProperties");

if (configMapProperties != null) {
registerSingle(bootstrapContext, ConfigMapConfigProperties.class, configMapProperties,
"configDataConfigMapConfigProperties");
}

if (secretsProperties != null) {
registerSingle(bootstrapContext, SecretsConfigProperties.class, secretsProperties,
"configDataSecretsConfigProperties");
}

}

@FunctionalInterface
interface Registrar {

ConfigDataProperties register();

}
}
Loading
Loading