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

waitReturnsStatus() — spring-boot Function Reference

Architecture documentation for the waitReturnsStatus() function in DockerApiTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  848e8de4_a88e_848d_cec3_fbf906bbb3b8["waitReturnsStatus()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  848e8de4_a88e_848d_cec3_fbf906bbb3b8 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"]
  848e8de4_a88e_848d_cec3_fbf906bbb3b8 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843
  58c031ee_e8f8_6766_d784_1fc9bd408e84["getStatusCode()"]
  848e8de4_a88e_848d_cec3_fbf906bbb3b8 -->|calls| 58c031ee_e8f8_6766_d784_1fc9bd408e84
  style 848e8de4_a88e_848d_cec3_fbf906bbb3b8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buildpack/spring-boot-buildpack-platform/src/test/java/org/springframework/boot/buildpack/platform/docker/DockerApiTests.java lines 792–799

		@Test
		void waitReturnsStatus() throws Exception {
			ContainerReference reference = ContainerReference.of("e90e34656806");
			URI waitUri = new URI(CONTAINERS_URL + "/e90e34656806/wait");
			given(http().post(waitUri)).willReturn(responseOf("container-wait-response.json"));
			ContainerStatus status = this.api.wait(reference);
			assertThat(status.getStatusCode()).isOne();
		}

Subdomains

Calls

Frequently Asked Questions

What does waitReturnsStatus() do?
waitReturnsStatus() is a function in the spring-boot codebase.
What does waitReturnsStatus() call?
waitReturnsStatus() calls 3 function(s): getStatusCode, http, responseOf.

Analyze Your Own Codebase

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

Try Supermodel Free