-
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
Simplify config data code a bit (CAN ONLY GO IN THE NEXT MAJOR RELEASE) #1189
Draft
wind57
wants to merge
374
commits into
spring-cloud:main
Choose a base branch
from
wind57:simplify-config-data-code-a-bit
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
374 commits
Select commit
Hold shift + click to select a range
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 aded605
Merge branch 'main' into simplify-config-data-code-a-bit
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 e6f357c
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 1319fe7
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ce3f543
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 9424c2e
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 bd1d38d
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 cddd550
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 1e266af
Merge branch 'main' into simplify-config-data-code-a-bit
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 212da95
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 2e7e421
trigger
wind57 fa9fd09
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 2150c47
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 428372d
trigger
wind57 9ca883d
trigger
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 4e6ebf1
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 0f9cb3d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b7304fd
Merge branch 'main' into simplify-config-data-code-a-bit
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 8e6edff
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 5eb5c51
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 cdcc4b7
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 48f7cb0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 94faf4e
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 8a18085
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 d19b997
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 a6b2ca8
fix issue
wind57 3e53dd4
Merge branch '3.0.x' into clean-cluster-role-binding
wind57 3ed982a
fix issue
wind57 b43ed66
Merge branch 'clean-cluster-role-binding' into simplify-config-data-c…
wind57 e4cab39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 2823660
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 ba4cab0
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a88fe82
Merge branch 'main' into simplify-config-data-code-a-bit
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 fc06861
Merge branch 'improve-build-times' into simplify-config-data-code-a-bit
wind57 5a7695a
merge
wind57 d23f582
Merge branch 'improve-build-times' into simplify-config-data-code-a-bit
wind57 8a5243c
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b4b7bf4
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 4636bc8
add profile
wind57 b65a7d4
Merge branch 'add-profile-for-pretest-actions' into simplify-config-d…
wind57 e13bcd3
fix
wind57 cbf83c4
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ccf2cf4
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 7eeb454
Merge branch 'simplify-clean-up-ater-bug-fix' into simplify-config-da…
wind57 0515920
fix
wind57 565679c
test
wind57 3a86923
test
wind57 f92960b
Merge branch 'another-solution-for-our-hangs' into simplify-config-da…
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 a36b287
Merge branch '3.0.x' into simplify-config-data-code-a-bit
wind57 8d4c395
Merge branch 'another-solution-for-our-hangs' into simplify-config-da…
wind57 0327416
review comments
wind57 c998899
Merge branch 'another-solution-for-our-hangs' into simplify-config-da…
wind57 1408d44
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 b479c3f
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 2925ee1
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 0340ca5
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 71e28ba
placeholder commit
wind57 2caa179
placeholder commit
wind57 af7cdbb
placeholder commit
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 cc54bc1
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 add0f67
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9772622
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 df2d07e
fix
wind57 02f6bc6
Merge branch 'increase-timeout' into simplify-config-data-code-a-bit
wind57 1029ecc
trigger
wind57 b6a4b45
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 51999ad
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 00a559d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 de460ea
Merge branch 'main' into simplify-config-data-code-a-bit
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 d3428ef
Merge branch 'main' into simplify-config-data-code-a-bit
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 98cde54
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 116c199
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 9463a05
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 f1447cd
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 07d99a5
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 14b165b
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 82f21f0
Merge branch 'main' into simplify-config-data-code-a-bit
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 d7a2b33
Merge branch 'main' into simplify-config-data-code-a-bit
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 1b1c164
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 f6707d5
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 cd61725
merge main
wind57 9930c7d
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ca071e3
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 0043006
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 e7384a8
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 4e292ec
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 a2f496c
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 3129276
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 f04ed58
Merge branch 'main' into simplify-config-data-code-a-bit
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 32e3556
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 4023ca3
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 cca5bed
Merge branch 'main' into simplify-config-data-code-a-bit
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 81efd8f
Merge branch 'main' into simplify-config-data-code-a-bit
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 5bd3f88
Merge branch 'main' into simplify-config-data-code-a-bit
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 3d22d02
Merge branch 'main' into simplify-config-data-code-a-bit
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 3529141
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 b5477a7
placeholder commit
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 37c0ba2
Merge branch 'main' into simplify-config-data-code-a-bit
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 397d9af
Merge branch 'main' into simplify-config-data-code-a-bit
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 93c95cb
Merge branch 'main' into simplify-config-data-code-a-bit
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 698a120
Merge branch 'main' into simplify-config-data-code-a-bit
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 7c98947
merge main
wind57 9740bef
formatting
wind57 9dd5bbf
fix test
wind57 82b51e5
formatting
wind57 f9330c3
formatting
wind57 e3ca2f8
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ffb7e19
Merge branch 'main' into simplify-config-data-code-a-bit
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 a1fd41a
Merge branch 'main' into simplify-config-data-code-a-bit
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 6099d1f
Merge branch 'main' into simplify-config-data-code-a-bit
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 d4bd1a6
merge main
wind57 66f929c
fix test
wind57 0355d7a
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 5dc9c06
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 bf0cc39
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 725d227
Merge branch 'main' into simplify-config-data-code-a-bit
wind57 f342faf
Merge branch 'main' of https://github.com/spring-cloud/spring-cloud-k…
wind57 ec3930e
Merge branch 'main' into simplify-config-data-code-a-bit
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
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
223 changes: 0 additions & 223 deletions
223
...springframework/cloud/kubernetes/commons/config/KubernetesConfigDataLocationResolver.java
This file was deleted.
Oops, something went wrong.
67 changes: 67 additions & 0 deletions
67
.../org/springframework/cloud/kubernetes/commons/config/configdata/ConfigDataProperties.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,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) { | ||
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(); | ||
|
||
} | ||
} |
Oops, something went wrong.
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.
the idea here is once you call
of
, the only option you have after isregister
(this is partial functions kind of), which will register the properties and give them back in form of theConfigDataProperties
instance. My sole purpose of the PR was around this thing, mainly, to decouple and make configdata slightly easier to reason about.