WSO2 Publisher: use endpoint {service-IP}:{port} instead of localhost:{port}

Viewed 55

I was deploying an integration solution using Integration Studio, after deploying it to my kubernetes cluster the service appeared fine in my services list in the publisher.

Problem: after creating an API from that service, the endpoint ends up being localhost:{port}, of course this endpoint doesn't work when using the gateway since it must be {service IP of integration}:{port}

Do I have to manually change the endpoint every time ? I want to know if there's something I can do to make this process easier

here's my metadata.yaml folder

serviceUrl: "https://{MI_HOST}:{MI_PORT}/mock"

Thank you

1 Answers
Related