Skip to content

Be able to use json and soap transport on the same port#86

Merged
pbourseau merged 4 commits into
IZIVIA:devfrom
juherr:feat/soap-json-same-port
Dec 17, 2025
Merged

Be able to use json and soap transport on the same port#86
pbourseau merged 4 commits into
IZIVIA:devfrom
juherr:feat/soap-json-same-port

Conversation

@juherr

@juherr juherr commented May 9, 2025

Copy link
Copy Markdown
Contributor

Close #83

(includes changes from #85)

@sonarqubecloud

sonarqubecloud Bot commented May 9, 2025

Copy link
Copy Markdown

@juherr

juherr commented May 20, 2025

Copy link
Copy Markdown
Contributor Author

@lilgallon @xhanin I’m considering using a single port for both OCPP and an API. Any thoughts on the proposed changes?

Added a `newMessageId` lambda parameter to `WebsocketClient` to enable custom message ID generation, defaulting to UUID.randomUUID. Updated tests to utilize this new parameter, improving test reliability by using predefined message IDs.
…guration.

This change separates the server transport logic from the server configuration, improving modularity and testability. It replaces direct port handling with transport-based server initialization and updates associated tests accordingly.
Fix #83
@pbourseau pbourseau force-pushed the feat/soap-json-same-port branch from 5cf2631 to cbcae2a Compare December 15, 2025 07:20
@juherr

juherr commented Dec 15, 2025

Copy link
Copy Markdown
Contributor Author

@pbourseau Thanks for the rebase. Do you think this is ready to be merged, or is there anything else needed on your side?

@pbourseau

Copy link
Copy Markdown
Contributor

Hi @juherr, yes I am take care of testing and updating our projects to ensure it all still works with your changes, and if so I will merge and publish a new version. Thank you very much for all your contributions 🙏

@sonarqubecloud

Copy link
Copy Markdown

@pbourseau pbourseau merged commit fbe0d0c into IZIVIA:dev Dec 17, 2025
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.

[REQUEST] Shared Http4kServer for multiple Transports

2 participants