Skip to content

refactor/improve hostname parsing in Http4sServer to support URI format#2713

Merged
simonredfern merged 2 commits intoOpenBankProject:developfrom
hongwei1:refactor/hostname-parsing-improvement
Feb 27, 2026
Merged

refactor/improve hostname parsing in Http4sServer to support URI format#2713
simonredfern merged 2 commits intoOpenBankProject:developfrom
hongwei1:refactor/hostname-parsing-improvement

Conversation

@hongwei1
Copy link
Contributor

This PR improves hostname parsing in Http4sServer to support both plain IP addresses and URI formats.

Changes

  • Added parseHostname helper function to extract hostname from URI format
  • Supports both '127.0.0.1' and 'http://127.0.0.1' formats
  • Uses Uri.fromString for proper URI parsing

Testing

  • Tested with plain IP format
  • Tested with URI format

… obp-api

- Update Dockerfile_PreBuild to use obp-api/target/obp-api.jar
- Update build_pull_request.yml artifact path
- Update build_container.yml artifact path
- Align with obp-http4s-runner module removal
@sonarqubecloud
Copy link

@simonredfern simonredfern merged commit 80a563a into OpenBankProject:develop Feb 27, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants