isActiveAgainstBoundDataWhenProfilesDontMatch() — spring-boot Function Reference
Architecture documentation for the isActiveAgainstBoundDataWhenProfilesDontMatch() function in ConfigDataPropertiesTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD 59391cfd_2949_56f6_d41d_fb24ade8f1cb["isActiveAgainstBoundDataWhenProfilesDontMatch()"] 6b13a440_b8c4_f4d4_0bc2_c932b8debc75["MapConfigurationPropertySource()"] 59391cfd_2949_56f6_d41d_fb24ade8f1cb -->|calls| 6b13a440_b8c4_f4d4_0bc2_c932b8debc75 4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"] 59391cfd_2949_56f6_d41d_fb24ade8f1cb -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6 bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"] 59391cfd_2949_56f6_d41d_fb24ade8f1cb -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] 59391cfd_2949_56f6_d41d_fb24ade8f1cb -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 7785d98a_1ccf_9b09_91bd_465da4d9bce1["createTestProfiles()"] 59391cfd_2949_56f6_d41d_fb24ade8f1cb -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 style 59391cfd_2949_56f6_d41d_fb24ade8f1cb fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java lines 181–192
@Test
void isActiveAgainstBoundDataWhenProfilesDontMatch() {
MapConfigurationPropertySource source = new MapConfigurationPropertySource();
source.put("spring.config.activate.on-cloud-platform", "kubernetes");
source.put("spring.config.activate.on-profile", "x | z");
Binder binder = new Binder(source);
ConfigDataProperties properties = ConfigDataProperties.get(binder);
ConfigDataActivationContext context = new ConfigDataActivationContext(CloudPlatform.KUBERNETES,
createTestProfiles());
assertThat(properties).isNotNull();
assertThat(properties.isActive(context)).isFalse();
}
Domain
Subdomains
Source
Frequently Asked Questions
What does isActiveAgainstBoundDataWhenProfilesDontMatch() do?
isActiveAgainstBoundDataWhenProfilesDontMatch() is a function in the spring-boot codebase.
What does isActiveAgainstBoundDataWhenProfilesDontMatch() call?
isActiveAgainstBoundDataWhenProfilesDontMatch() calls 5 function(s): Binder, MapConfigurationPropertySource, createTestProfiles, get, put.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free