Hi! I'm trying to connect to WireMock Cloud via a ...
# wiremock-java
b
Hi! I'm trying to connect to WireMock Cloud via a
WireMock
instance, the underlying
HttpAdminClient
and a
ClientTokenAuthenticator
. The problem I'm facing is that WMC URLs like _https://<mock>.wiremockapi.cloud/__admin/requests_ don't need the port to be specified in order to be accessible, however
WireMock
and
HttpAdminClient
always configure a port, at least the default 8080 one. Is there a way to configure the connection to not use a port, or are there port numbers where WMC URLs are available at?
t
It’ll always be
443
if you’re using HTTPS
b
Oh yeah, you are right, thanks. 🙏 I might have some more questions later when I try out connecting to different endpoints on WMC.
t
Did you spot that we updated the OpenAPI (for the oss) a couple of days ago?
b
Yes, Lee mentioned it last week. I saw that the /files, /health and /version endpoints are now included. Are they planned to be added to the
Admin
class as well?
t
I wouldn't expect we'll add these 3. They're really meant for standalone operation.
👍 1