malaskowski / aet-docker

Docker support for AET - easy to set up local/developer environment with example Docker Swarm configuration.
Apache License 2.0
8 stars 9 forks source link

Proxy all API endpoints via report app: /api, /suite, /xunit #21

Closed jwadolowski closed 4 years ago

jwadolowski commented 4 years ago

In order to avoid direct connectivity between aet.sh and Apache Karaf all HTTP endpoints should be proxied via AET web server (report app). At the time of writing only /api is exposed this way, but there are 2 others: /suite and /xuint. This PR adds reverse proxy rules for both of them and adjusts AET_WEB_API variable accordingly.

Full flow from aet.sh perspective:

aet_sh_flow