Home / Function/ shouldTolerateEndpointWithSameId() — spring-boot Function Reference

shouldTolerateEndpointWithSameId() — spring-boot Function Reference

Architecture documentation for the shouldTolerateEndpointWithSameId() function in EndpointMetadataGenerationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  adb42b89_3f6a_de8a_4812_24bf36bf7793["shouldTolerateEndpointWithSameId()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  adb42b89_3f6a_de8a_4812_24bf36bf7793 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  adb42b89_3f6a_de8a_4812_24bf36bf7793 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  cd667486_6216_4e28_9508_41322ef89e2d["defaultAccess()"]
  adb42b89_3f6a_de8a_4812_24bf36bf7793 -->|calls| cd667486_6216_4e28_9508_41322ef89e2d
  75ef14b3_32fe_e68e_87cc_2720b865a960["cacheTtl()"]
  adb42b89_3f6a_de8a_4812_24bf36bf7793 -->|calls| 75ef14b3_32fe_e68e_87cc_2720b865a960
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  adb42b89_3f6a_de8a_4812_24bf36bf7793 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style adb42b89_3f6a_de8a_4812_24bf36bf7793 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-processor/src/test/java/org/springframework/boot/configurationprocessor/EndpointMetadataGenerationTests.java lines 180–187

	@Test
	void shouldTolerateEndpointWithSameId() {
		ConfigurationMetadata metadata = compile(SimpleEndpoint.class, SimpleEndpoint2.class);
		assertThat(metadata).has(Metadata.withGroup("management.endpoint.simple").fromSource(SimpleEndpoint.class));
		assertThat(metadata).has(defaultAccess("simple", "simple", TestAccess.UNRESTRICTED));
		assertThat(metadata).has(cacheTtl("simple"));
		assertThat(metadata.getItems()).hasSize(3);
	}

Domain

Subdomains

Frequently Asked Questions

What does shouldTolerateEndpointWithSameId() do?
shouldTolerateEndpointWithSameId() is a function in the spring-boot codebase.
What does shouldTolerateEndpointWithSameId() call?
shouldTolerateEndpointWithSameId() calls 5 function(s): cacheTtl, defaultAccess, fromSource, getItems, withGroup.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free