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

logsProducesEvents() — spring-boot Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  708a14b6_9582_4f3f_9331_4ac2ddf45340["logsProducesEvents()"]
  ffedf588_7c32_be87_49b5_6f0bec311aa1["http()"]
  708a14b6_9582_4f3f_9331_4ac2ddf45340 -->|calls| ffedf588_7c32_be87_49b5_6f0bec311aa1
  88e4c755_21cd_03d2_7b78_c0a678363843["responseOf()"]
  708a14b6_9582_4f3f_9331_4ac2ddf45340 -->|calls| 88e4c755_21cd_03d2_7b78_c0a678363843
  style 708a14b6_9582_4f3f_9331_4ac2ddf45340 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 773–783

		@Test
		void logsProducesEvents() throws Exception {
			ContainerReference reference = ContainerReference.of("e90e34656806");
			URI logsUri = new URI(CONTAINERS_URL + "/e90e34656806/logs?stdout=1&stderr=1&follow=1");
			given(http().get(logsUri)).willReturn(responseOf("log-update-event.stream"));
			this.api.logs(reference, this.logListener);
			InOrder ordered = inOrder(this.logListener);
			ordered.verify(this.logListener).onStart();
			ordered.verify(this.logListener, times(7)).onUpdate(any());
			ordered.verify(this.logListener).onFinish();
		}

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free