Sunday, August 16, 2015

Proxy Flow Re-use using maven plugin

Proxy Flow re-use is quite commonly encountered during API proxy development with Apigee.

For example, consider request flows with two kinds of Authentication (Basic & OAuth) mechanisms. The two request flows differ in Auth policies used - one uses Basic Auth and other uses OAuth; assuming the rest of request flow is exactly same including fault handling and logging.

In such cases, it's desirable to have a common proxy flow that can reused in both the request flows.

At the moment, Apigee Edge does not support flow re-use out of the box. This can done using maven plugin which I implemented - Proxy Dependency Maven Plugin .The plugin works like macro pre-processor that substitutes common flows during build time.

The link provided above, documents in detail the working of the plugin and the pattern for modelling re-use in proxies.

2 comments:

  1. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Apigee, kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on Apigee. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us:
    Name : Arunkumar U
    Email : arun@maxmunus.com
    Skype id: training_maxmunus
    Contact No.-+91-9738507310
    Company Website –http://www.maxmunus.com



    ReplyDelete
  2. I really appreciate information shared above. It’s of great help. If someone want to learn Online (Virtual) instructor lead live training in Apigee , kindly contact us http://www.maxmunus.com/contact
    MaxMunus Offer World Class Virtual Instructor led training on TECHNOLOGY. We have industry expert trainer. We provide Training Material and Software Support. MaxMunus has successfully conducted 100000+ trainings in India, USA, UK, Australlia, Switzerland, Qatar, Saudi Arabia, Bangladesh, Bahrain and UAE etc.
    For Demo Contact us.
    Sangita Mohanty
    MaxMunus
    E-mail: sangita@maxmunus.com
    Skype id: training_maxmunus
    Ph:(0) 9738075708 / 080 - 41103383
    http://www.maxmunus.com/




    ReplyDelete