"servers" empty in http://localhost/iaf/api/webservices/openapi.json?uri=/service1a
With F!F 7.8:
8.1.0-20240228.042318:
URLs to verify/test http://localhost/iaf-test/iaf/api/webservices/openapi.json?uri=/exception http://localhost/iaf-test/api/openapi.json
Situation 1 http://localhost/iaf-test/api/openapi.json => still works fine in master (8.1-SNAPSHOT).
Situation 2
http://localhost/iaf-test/iaf/api/webservices/openapi.json?uri=/exception
Needs the configured loadBalancer.url property, and otherwise it shows an empty array.
Does work as expected in: 7.9.1, 8.0.0, 8.1.
Previously, in 7.9.0 and lower versions, it always uses the request and always shows a value for the server.
Feels a bit stilly to say 'this works as intended', but right now we cannot do much about this behavior. There are some limitations on when and where we can retrieve the server info. If you call the webservices endpoint directly it still works (as described by @jkosternl).
For our frank-cloud module we can try to determine the service endpoint (by reading the docker/k8s API), and provide more accurate information, when the OpenApi spec is retrieved through the frontend module.
Duplicate of #6373. This is working as intended. Once we have a cloud module, and can read the Kubernetes API, we can find the INGRESS and set the value automatically.