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

findService() — spring-boot Function Reference

Architecture documentation for the findService() function in DefaultDockerComposeIntegrationTests.java from the spring-boot codebase.

Entity Profile

Dependency Diagram

graph TD
  1dcecdf7_cc3d_5924_707c_5731b05f83a7["findService()"]
  cc6eb136_4e58_bcae_7af6_407ca78e3d25["shouldWorkWithProfiles()"]
  cc6eb136_4e58_bcae_7af6_407ca78e3d25 -->|calls| 1dcecdf7_cc3d_5924_707c_5731b05f83a7
  f0f40a09_7260_eff9_412c_624abd962233["assertThatDoesNotContainService()"]
  f0f40a09_7260_eff9_412c_624abd962233 -->|calls| 1dcecdf7_cc3d_5924_707c_5731b05f83a7
  3b0cd53c_53b7_2635_4cac_b43ef379a69e["assertThatContainsService()"]
  3b0cd53c_53b7_2635_4cac_b43ef379a69e -->|calls| 1dcecdf7_cc3d_5924_707c_5731b05f83a7
  style 1dcecdf7_cc3d_5924_707c_5731b05f83a7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

core/spring-boot-docker-compose/src/dockerTest/java/org/springframework/boot/docker/compose/core/DefaultDockerComposeIntegrationTests.java lines 92–99

	private @Nullable RunningService findService(List<RunningService> runningServices, String serviceName) {
		for (RunningService runningService : runningServices) {
			if (runningService.name().contains(serviceName)) {
				return runningService;
			}
		}
		return null;
	}

Domain

Subdomains

Called By

Frequently Asked Questions

What does findService() do?
findService() is a function in the spring-boot codebase.
What calls findService()?
findService() is called by 3 function(s): assertThatContainsService, assertThatDoesNotContainService, shouldWorkWithProfiles.

Analyze Your Own Codebase

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

Try Supermodel Free