edge microgateway plugin

Not applicable

In edge micro configuration file I have added spike arrest plugin. Currently we are pulling 5 proxies into micro edge gateway. For each proxy we would like to impose different time unit. But in current scenario, the time unit mentioned in spike arrest plugin is applicable for all 5 proxies. Is there any way in configuration file to define plugin to proxy level?.

Solved Solved
0 3 275
2 ACCEPTED SOLUTIONS

hi @Jeevanand Perumalsamy,

Plugin configuration is bound to each MG instance. However, you can achieve your goal by creating a separate MG instance for each proxy, and then, in each MG instance, use the “proxy” config in YAML to limit each MG instance to only one MG proxy. From there you can modify the spike arrest config and it will only impact that one proxy. Obviously if you have multiple proxies with same spike config requirements, you can use “proxy” config to add all of the similar ones into same MG instance. Does that make sense?

If this post answers your question, please click accept.

View solution in original post

Not applicable
3 REPLIES 3

hi @Jeevanand Perumalsamy,

Plugin configuration is bound to each MG instance. However, you can achieve your goal by creating a separate MG instance for each proxy, and then, in each MG instance, use the “proxy” config in YAML to limit each MG instance to only one MG proxy. From there you can modify the spike arrest config and it will only impact that one proxy. Obviously if you have multiple proxies with same spike config requirements, you can use “proxy” config to add all of the similar ones into same MG instance. Does that make sense?

If this post answers your question, please click accept.

Not applicable

This article written by @Srinandan Sridhar shows specifically the approach that Robert describes.

https://community.apigee.com/articles/46408/microgateway-plugins-per-proxy.html


Thanks for your help. This is working now.