Uploaded image for project: 'Hybrid Cloud Console'
  1. Hybrid Cloud Console
  2. RHCLOUD-40314

As a ClowdApp, I can expose and consume grpc endpoints

XMLWordPrintable

      Clowder's dependency resolution and endpoint injection is very helpful for wiring services together. However, it was built with the assumption of public/private endpoints only. This becomes problematic when ClowdApps want to expose / consume grpc.

      These problems are clearly demonstrated by this class (see the comments): https://github.com/RedHatInsights/notifications-backend/blob/master/backend/src/main/java/com/redhat/cloud/notifications/config/KesselConfigInterceptor.java

      Acceptance criteria:

      • As a ClowdApp serving grpc API, I can specify that in the ClowdApp definition so that it can be discovered by other services
      • As a ClowdApp depending on another ClowdApp that exposes an grpc API, I can discover the host (without incorrect scheme), port and protocol via the endpoints section of cdappconfig.json

              Unassigned Unassigned
              rhn-engineering-jharting Jozef Hartinger
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: