Hi ,
I want to expose a publicly available GRPC app as a REST api on Apigee X.
I created the Target Server as gRPC - External callout type and linked it to the ExternalCallout policy like
Do you have the full working request in a third party tool, and have you compared it to what Apigee sends (via debug, etc)?
I am wondering if Apigee is adding on the resource path when proxying to your backend service, which you can easily remove via something as follows:
Hi @ArunavaP, just checking in to see if @hartmann's suggestion helped resolve your question. If the provided guidance was helpful, marking it as an accepted solution would be great for others facing similar challenges. 🙂
Hi Aruna!
The External Callout policy requires a specific gRPC proto implementation. This feature may only be helpful for you if you're open to implementing this Apigee proto on the server side.
Based on your use case, I believe you're looking for gRPC transcoding. This isn't formally supported by Apigee yet. Currently, Apigee only supports gRPC as passthrough (streaming request and response).
While gRPC transcoding isn't natively supported, you could inspect the binary gRPC payload (request or response) and decode it using a proto file and this sample Java Callout.
Let us know if you have any further questions.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 | |
1 |