eclipse / microprofile-service-mesh-service-a

microprofile-service-mesh-service-a
Apache License 2.0
4 stars 13 forks source link

Add Open API to Service a #25

Open Emily-Jiang opened 6 years ago

Emily-Jiang commented 6 years ago

We should Open API to the service a and then demonstrate how it can be accessible from Istio service mesh.

kenfinnigan commented 6 years ago

With mTLS enabled the only way for the endpoint to be accessible is by adding an Ingress Gateway rule for it

pilhuhn commented 5 years ago

I don't think this is an issue at all, as with Istio you want to have all traffic go via the Ingress-GW and not directly via OpenShift route or plain Kubernetes Ingress.

If the traffic goes via IG, then we need to slightly set up the GW-VS differently to not only

match
   - uri:
      prefix: /mp-serv...

but also

  - uri:
      prefix: /openapi

and potentially

  - uri:
      exact: /metrics

to demo / expose this.