Hello All,
Is there any documentation on how to do cache operations (invalidate, populate, lookup) via a JavaScript callout vs. the usual .xml policies? We have a need to create several permissions objects based on data we're storing in the BaaS... as opposed to creating a flow to serially set 50+ cache keys based on this data, I am looking to do this with one JavaScript policy.
Any other options that I am not aware of other than these two options would be greatly appreciated.
Thanks! Steve
Solved! Go to Solution.
Cache operations are not directly accessible via Javascript Callout. A Node based target however does have access to the operations you mention. See Apigee Node Cache Operations for more information.
Cache operations are not directly accessible via Javascript Callout. A Node based target however does have access to the operations you mention. See Apigee Node Cache Operations for more information.
Although it is not a recommended approach, It can be achieved by making the management apis calls from your JavaScript callout policy.