Recommended Shared Flows For All Proxies

When demand from a single API development team grows, they might choose to distribute the development across multiple teams. How can they ensure consistency in standards, naming conventions and code reuse?

One approach is to provide an API Proxy template. Teams can create a copy of this template for every project manually or via an automated script. This template could contain the following:

There are a few different examples of projects following best practices:

- Currency V1

- Apigee Bootstrap

I advise you create your own template, depending on your own requirements and standards.

Remember - if you use Shared Flows, it will be much easier to update your template over time and apply the changes to all proxies!

Comments
olofhaglund
New Member

Be careful of how you do CORS in a shared flow. It can bite you from behind if you are not careful. We had CORS in a shared flow and after a while when we added more and more services it gave us more and more problems.

Now we let the backend services handle the CORS themselves and then in Apigee modify the CORS to add the headers Apigee requires.

Version history
Last update:
‎03-11-2020 04:18 AM
Updated by: