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

readOnlyAccessEndpoint() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  6105b8c1_9731_547f_8ade_4b71dae9c5c8["readOnlyAccessEndpoint()"]
  83ee5c58_5d39_6a9f_3b4b_81ba336603a7["withGroup()"]
  6105b8c1_9731_547f_8ade_4b71dae9c5c8 -->|calls| 83ee5c58_5d39_6a9f_3b4b_81ba336603a7
  a7060ba0_7028_1911_946e_7c3090117119["fromSource()"]
  6105b8c1_9731_547f_8ade_4b71dae9c5c8 -->|calls| a7060ba0_7028_1911_946e_7c3090117119
  525878df_aaac_a261_8c5d_13633f714c2c["access()"]
  6105b8c1_9731_547f_8ade_4b71dae9c5c8 -->|calls| 525878df_aaac_a261_8c5d_13633f714c2c
  c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239["getItems()"]
  6105b8c1_9731_547f_8ade_4b71dae9c5c8 -->|calls| c8c9e7f6_e856_4711_6fe7_b1c2aeb3d239
  style 6105b8c1_9731_547f_8ade_4b71dae9c5c8 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 78–85

	@Test
	void readOnlyAccessEndpoint() {
		ConfigurationMetadata metadata = compile(ReadOnlyAccessEndpoint.class);
		assertThat(metadata)
			.has(Metadata.withGroup("management.endpoint.readonlyaccess").fromSource(ReadOnlyAccessEndpoint.class));
		assertThat(metadata).has(access("readonlyaccess", TestAccess.READ_ONLY));
		assertThat(metadata.getItems()).hasSize(2);
	}

Domain

Subdomains

Frequently Asked Questions

What does readOnlyAccessEndpoint() do?
readOnlyAccessEndpoint() is a function in the spring-boot codebase.
What does readOnlyAccessEndpoint() call?
readOnlyAccessEndpoint() calls 4 function(s): access, fromSource, getItems, withGroup.

Analyze Your Own Codebase

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

Try Supermodel Free