microcks / microcks-quarkus

Quarkus extension that enables embedding Microcks as a DevService managing mocks for dependencies and contract-testing your API endpoints
https://microcks.io
Apache License 2.0
15 stars 3 forks source link

Remove the fixed ports usage #4

Closed lbroudoux closed 1 year ago

lbroudoux commented 1 year ago

Reason/Context

Fixed ports were introduced as a hack before discovering the properties registration mechanism of a dev-service. They are not recommended by testcontainers as we're evolving in a highly volatile and dynamic environment. Now that we have property registration and the UI integration, we can retrieve the running port easily and no longer need those ports.

Description

Remove the settings for static ports and update the documentation accordingly.

Implementation ideas

Only dynamic ports should be used.