https://linen.dev logo
#help
Title
# help
s

Shlomy Sheps

03/12/2023, 3:28 PM
hi. I setup a wiremock inside a pod in kubernetes. is it possible to configure the wiremock (running on the pod) with java code that run from outside the kubernetes cluster? (or i must use the APIs..) the reason for that is that the test for setting up the wiremock is executed from a runner in gitlab ci. (external to the kubernetes cluster) the access to the pod will be available by setting an ingress to the pod.
1
the solution for that is using the WireMock class as a client and connecting to the pod. had to define ingress on kubernetes
Copy code
private WireMock wiremock = new WireMock("https","<http://nuance-connector-dev.zebra-med.com|nuance-connector-dev.zebra-med.com>", 443);
13 Views