isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() — spring-boot Function Reference
Architecture documentation for the isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() function in ConfigDataPropertiesTests.java from the spring-boot codebase.
Entity Profile
Dependency Diagram
graph TD dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c["isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch()"] 6b13a440_b8c4_f4d4_0bc2_c932b8debc75["MapConfigurationPropertySource()"] dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c -->|calls| 6b13a440_b8c4_f4d4_0bc2_c932b8debc75 4fef258c_a2a4_d498_7bd8_31a7595265f6["put()"] dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c -->|calls| 4fef258c_a2a4_d498_7bd8_31a7595265f6 bdf1886c_19f9_9cc1_5bff_886f1b1e2835["Binder()"] dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c -->|calls| bdf1886c_19f9_9cc1_5bff_886f1b1e2835 c90d60de_6e4d_b157_5121_acbc78d427f0["get()"] dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c -->|calls| c90d60de_6e4d_b157_5121_acbc78d427f0 7785d98a_1ccf_9b09_91bd_465da4d9bce1["createTestProfiles()"] dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c -->|calls| 7785d98a_1ccf_9b09_91bd_465da4d9bce1 style dbdcb1be_e1db_8c6f_9a25_0f7d3be39d9c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
core/spring-boot/src/test/java/org/springframework/boot/context/config/ConfigDataPropertiesTests.java lines 194–205
@Test
void isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() {
MapConfigurationPropertySource source = new MapConfigurationPropertySource();
source.put("spring.config.activate.on-cloud-platform", "cloud-foundry");
source.put("spring.config.activate.on-profile", "a | b");
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 isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() do?
isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() is a function in the spring-boot codebase.
What does isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() call?
isActiveAgainstBoundDataWhenCloudPlatformDoesntMatch() 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