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

loadJsonFromDistributionManifest() — spring-boot Function Reference

Architecture documentation for the loadJsonFromDistributionManifest() function in ManifestTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  7690ec8f_8894_4e0b_1eab_7516dd1396af["loadJsonFromDistributionManifest()"]
  dd8ce24d_ae54_bc94_c431_a08f0e2df55a["getContentAsString()"]
  7690ec8f_8894_4e0b_1eab_7516dd1396af -->|calls| dd8ce24d_ae54_bc94_c431_a08f0e2df55a
  409dd64b_ee03_c6dd_5c25_7bed3773ba59["getManifest()"]
  7690ec8f_8894_4e0b_1eab_7516dd1396af -->|calls| 409dd64b_ee03_c6dd_5c25_7bed3773ba59
  style 7690ec8f_8894_4e0b_1eab_7516dd1396af fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/type/ManifestTests.java lines 32–39

	@Test
	void loadJsonFromDistributionManifest() {
		String content = getContentAsString("distribution-manifest.json");
		Manifest manifestList = getManifest(content);
		assertThat(manifestList.getSchemaVersion()).isEqualTo(2);
		assertThat(manifestList.getMediaType()).isEqualTo("application/vnd.docker.distribution.manifest.v2+json");
		assertThat(manifestList.getLayers()).hasSize(1);
	}

Domain

Subdomains

Frequently Asked Questions

What does loadJsonFromDistributionManifest() do?
loadJsonFromDistributionManifest() is a function in the spring-boot codebase.
What does loadJsonFromDistributionManifest() call?
loadJsonFromDistributionManifest() calls 2 function(s): getContentAsString, getManifest.

Analyze Your Own Codebase

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

Try Supermodel Free