Hello together, I am posting here, since I invest...
# help
Hello together, I am posting here, since I invested now 3 hours in reading the docu and stackoverflow without being successful. ChatGPT just delivers nonsense answers or at least not 100% working stuff. Situation: I am running wiremock as a standalone service from a jar file in a kubernetes / docker environment. Problem: Out of reasons I don't want to access the admin api over
but over the url
. How can I achieve this? Is there a setting option like
adminApiConfig": { "urlPath": "/pathprefix }"
or similar as ChatGPT suggests? If not, is this possible in general? Follow-up problem: If there is such a thing, where can I specify it? I was looking for something like a
file or something similar where I can specify default options like ports or similar wiremock should read and use on start up. Unfortunately I cannot find an example for such a config file or smth similar by searching the documentation or the internet. I know that for similar applications such things exist. Can you help me? Thank you in advance! 🙏
I don't think there is a way to configure the admin url base path so this is not exposed via any of the config options
Mh okay. too bad. How can I set config options in general?
WireMock standalone has a number of command line options that you can set - https://wiremock.org/docs/standalone/java-jar/#command-line-options Or, starting from
, the Docker image supports passing command line arguments standalone version as a environment variable - https://wiremock.org/docs/standalone/docker/#passing-command-line-arguments-as-environment-variable