In T347475, we discovered that the rec-api-ng container hosted on LiftWing was not able to access endpoints external to kubernetes.
To resolve this, we shall configure envoy settings to enable the rec-api-ng container hosted on LiftWing to access wikimedia, wikidata, and wikipedia apis.
Below are the steps we are going to take:
- add envoy listener(s) to the rec-api-ng deployment settings
- update the specified api urls to use localhost:<PORT> in recommendation_liftwing.ini
- configure requests to the above endpoints to send their respective Host headers (see example)