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

simpleRepository() — spring-boot Function Reference

Architecture documentation for the simpleRepository() function in ConfigurationMetadataRepositoryJsonBuilderTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  cf7c6591_e04f_5450_0e09_ea4a8a9318e3["simpleRepository()"]
  6201a8c7_4caf_583b_5eb1_82576c6e7119["validateFoo()"]
  cf7c6591_e04f_5450_0e09_ea4a8a9318e3 -->|calls| 6201a8c7_4caf_583b_5eb1_82576c6e7119
  03e76805_67f6_02dc_71cd_4fb3e6172301["contains()"]
  cf7c6591_e04f_5450_0e09_ea4a8a9318e3 -->|calls| 03e76805_67f6_02dc_71cd_4fb3e6172301
  style cf7c6591_e04f_5450_0e09_ea4a8a9318e3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

configuration-metadata/spring-boot-configuration-metadata/src/test/java/org/springframework/boot/configurationmetadata/ConfigurationMetadataRepositoryJsonBuilderTests.java lines 42–51

	@Test
	void simpleRepository() throws IOException {
		try (InputStream foo = getInputStreamFor("foo")) {
			ConfigurationMetadataRepository repo = ConfigurationMetadataRepositoryJsonBuilder.create(foo).build();
			validateFoo(repo);
			assertThat(repo.getAllGroups()).hasSize(1);
			contains(repo.getAllProperties(), "spring.foo.name", "spring.foo.description", "spring.foo.counter");
			assertThat(repo.getAllProperties()).hasSize(3);
		}
	}

Domain

Subdomains

Frequently Asked Questions

What does simpleRepository() do?
simpleRepository() is a function in the spring-boot codebase.
What does simpleRepository() call?
simpleRepository() calls 2 function(s): contains, validateFoo.

Analyze Your Own Codebase

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

Try Supermodel Free