Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Enabling/disabling the API policy at runtime

Hi All,

How can I enable/disable the API policy(using policy property “true/false”) at runtime? I have not been able to locate a Management API which can perform such an update.

I am aware that the config.json in the Apigee Maven build can update this property and it works perfectly. However, the Maven build generates a new proxy version and deploys it to the runtime.

I prefer a solution which does not generate a new build.

Any suggestions on how the above can be implemented? As an alternative, I plan to implement the above scenario by using a flag in the KVM and enabling/disabling the policy by inspecting the flag.

Is there a way in which the policy property can be leveraged?

Regards,

Ravi

0 9 1,447
9 REPLIES 9