Support of spring InetUtils in DefaultApplicationFactory
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Stale
- Domain
- backend, networking
Research direction
Start at DefaultApplicationFactory.getLocalHost() and review how the current InetAddress lookup is performed. Check how spring-cloud InetUtils can be integrated to honor the spring.cloud.inetutils configurations while retaining the existing fallback and UnknownHostException handling. Done means preferred network interfaces are selected through InetUtils when available.
Written by the indexing model from the issue text.
Description
To be able to select one of the "preferred" network interface which InetAddress doesn't allow.
Add the support of spring InetUtils to levrage the
"spring.cloud.inetutils.[...]" configurations in DefaultApplicationFactory.getLocalHost()
private final Optional<org.springframework.cloud.commons.util.InetUtils> inetUtils
protected InetAddress getLocalHost() {
try {
inetUtils.map(InetUtils::findFirstNonLoopbackAddress).orElse(InetAddress.getLocalHost());
}
catch (final UnknownHostException ex) {
throw new IllegalArgumentException(ex.getMessage(), ex);
}
}
- Dominant language
- Java
- Stars
- 12.9k
- Forks
- 3.2k
- Avg merge
- 15h 10m
- Merged PRs (30d)
- 86
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from codecentric/spring-boot-admin
-
theme: server-ui type: enhancement
Difficulty 3/5 1-2 days Newbie friendliness 30/100
codecentric/spring-boot-admin#5765 ·
Maintainers usually reply within 1 day
-
Bug: Dependency Trees overflows the call stack on cyclic SBOM dependency graphsPossibly taken @faystmax claimed this 8 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 68/100
codecentric/spring-boot-admin#5746 ·
Maintainers usually reply within 1 day
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
codecentric/spring-boot-admin#5743 ·
Maintainers usually reply within 1 day
-
Bug: Filtering rules are not synchronized between SBA nodesPossibly taken @SteKoe claimed this 10 days ago. Open
Difficulty 3/5 1-2 days Newbie friendliness 45/100
codecentric/spring-boot-admin#5721 · 3 comments ·
Maintainers usually reply within 1 day
-
Bug: Multiple notifications from multiple instancesPossibly taken @YadavKshitiz claimed this 12 days ago. Open
Difficulty 4/5 3-5 days Newbie friendliness 55/100
codecentric/spring-boot-admin#5716 · 1 comment ·
Maintainers usually reply within 1 day
All issues in codecentric/spring-boot-admin
Similar issues
-
status: team-only type: dependency-upgrade
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
spring-projects/spring-boot#52143 · 1 comment ·
Maintainers usually reply within 1 day
-
area/frontend good first issue kind/cooldown
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
kestra-io/kestra#20704 · 1 comment ·
Maintainers usually reply within 1 day