Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: optionally use HTTPS (refs #60) #61

Merged
merged 1 commit into from
Oct 27, 2024

Conversation

tomasbjerre
Copy link
Collaborator

No description provided.

@tomasbjerre tomasbjerre merged commit fdb382c into main Oct 27, 2024
4 of 6 checks passed

@SpringBootTest
@EnableWireMock({@ConfigureWireMock(useHttps = true)})
class HttpsTest {
Copy link

@dogruis dogruis Oct 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I might be wrong but I thought you could have one wiremock instance with both http and https enabled. The current setup would force me to have two wiremock instances if I want to run on http and https at the same time.

Having to use
@EnableWireMock{{@ConfigureWireMock(port = 8081)}, @ConfigureWireMock(useHttps = true, port = 8082)}

I would prefer to use

@EnableWireMock(@ConfigureWireMock(useHttps = true, port = 8081, httpsPort = 8082)

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