Hi Team,
Please let us know if there's a way to automate by adding mandatory shared flow into the proxy bundle to deploy into APIGEE Edge. This is to save time and effort and also an effort to enable the beginners to build their Pass through proxies without much understanding on each and every policies and leverage the existing shared flows for ease.
Thanks,
Merin
Answer by Dino-at-Google
·
Oct 08, 2018 at 04:24 PM
There are several related concepts:
All of these things are documented.
You are asking about "mandatory shared flow".
There are various ways that I can think of to enforce a "mandatory" shared flow, for varying degress of "enforcement".
Hi Dino,
Thanks for the info. I m adding little more details to the requirement.
Some shared flows needs to be included in all the proxies both in request and response flows developed in the project. Suppose I have two shared flows namely InitialChecks and LoggingChecks to be included in the Proxy Preflow and Target PostFlow respectively. Now when I develop the proxybundle from openapi2apigee node.js module which creates proxy bundle from swagger file. Is there a way to by default add these shared flow in all the proxy bundles to be created? This will save time in adding all the basic shared flow without actually adding them from the UI.
Regards,
Merin
@Merin Mary Jose Hello, Did you figure out this requirement? Please let me know if you did, am now trying to achieve the same thing myself.
Have you looked at Flowhooks? What do you think of that feature?
I think FlowHooks do that! They do what you want. You must have looked at FlowHooks. Does that feature not satisfy your requirement?
@Dino-at-Google you are right using FlowHook this requirement can be done,
@Merin Mary Jose can make the commonly used share flow, and then add that shared flow in Pre-proxy Flow Hook and Post-proxy Flow Hook.
The shared policy will get executed in both the request and response flow, I think which is the requirement.
Is it possible to add Conditional Flow under Shared Flow in Apigee ? If it is then how ? 1 Answer
POST request to Shared Flow endpoint is creating new Proxies 0 Answers
Fetch WSDL Error: Could not download resource. peer not authenticated. 6 Answers
Mock Responses with no-target proxy 0 Answers
When is it appropriate to use Java Callout? Docs offer conflicting advice. 1 Answer