diff --git a/.github/workflows/deploy-azure.yml b/.github/workflows/deploy-azure.yml index 08a7bef..e88de66 100644 --- a/.github/workflows/deploy-azure.yml +++ b/.github/workflows/deploy-azure.yml @@ -120,5 +120,6 @@ jobs: if: success() run: | echo "App: http://${{ steps.tf.outputs.public_ip }}:8081" >> "$GITHUB_STEP_SUMMARY" + echo "Swagger UI: http://${{ steps.tf.outputs.public_ip }}:8080/swagger-ui.html" >> "$GITHUB_STEP_SUMMARY" echo "Prometheus: http://${{ steps.tf.outputs.public_ip }}:9090" >> "$GITHUB_STEP_SUMMARY" echo "Grafana: http://${{ steps.tf.outputs.public_ip }}:3000" >> "$GITHUB_STEP_SUMMARY" diff --git a/README.md b/README.md index dc748eb..64ec4d0 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,9 @@ Also started by compose: [Prometheus](http://localhost:9090) and | **Swagger UI** | https://team-bytebite.stud.k8s.aet.cit.tum.de/swagger-ui.html | — | | **Grafana** | https://team-bytebite.stud.k8s.aet.cit.tum.de/grafana | `admin` / `bytebite` | -The app also deploys to an **Azure VM** at `http://:8081`, with Prometheus on `:9090` -and Grafana on `:3000`. The IP is assigned by Terraform, get it from the GitHub Actions result. +The app also deploys to an **Azure VM** at `http://:8081`, with the Swagger UI on +`:8080/swagger-ui.html`, Prometheus on `:9090` and Grafana on `:3000`. The IP is assigned by +Terraform, get it from the GitHub Actions result. Both deployments run automatically on every merge to `main`. @@ -184,6 +185,13 @@ http://localhost:8080/swagger-ui.html The UI includes the User Service, Grocery Service, and Gen AI Service OpenAPI definitions. The raw specs are available through the gateway at `/v3/api-docs/user-service`, `/v3/api-docs/grocery-service`, and `/v3/api-docs/gen-ai`. +On the deployed environments the same UI lives at: + +| Deployment | Swagger UI | +|---|---| +| Kubernetes | `https://team-bytebite.stud.k8s.aet.cit.tum.de/swagger-ui.html` | +| Azure VM | `http://:8080/swagger-ui.html` | + --- ### Testing