Announcements
The Google Cloud Community will be in read-only from July 16 - July 22 as we migrate to a new platform; refer to this community post for more details.
Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

can some one post how to use Populate and lookup cache polices ?

Not applicable
 
Solved Solved
0 4 547
1 ACCEPTED SOLUTION

anilsr
Former Googler

@VINEETH , Apigee Policy Docs explain same how to use. Did you refer the docs here & here ? Have you tried anything ? Do you see any issues ?

See an example here that exactly explains above query.

See attached policy that show Populate & Lookup cache example,

envname-rev2-2016-08-07.zip

Sample Call,

http://{ORGNAME}-{ENVNAME}.apigee.net/envname?cachedata=HeyHelloCacheThisData

3310-screen-shot-2016-08-07-at-101035-pm.png

View solution in original post

4 REPLIES 4

anilsr
Former Googler

@VINEETH , Apigee Policy Docs explain same how to use. Did you refer the docs here & here ? Have you tried anything ? Do you see any issues ?

See an example here that exactly explains above query.

See attached policy that show Populate & Lookup cache example,

envname-rev2-2016-08-07.zip

Sample Call,

http://{ORGNAME}-{ENVNAME}.apigee.net/envname?cachedata=HeyHelloCacheThisData

3310-screen-shot-2016-08-07-at-101035-pm.png

@Anil Sagar, I followed the example as per the links provided by APIGEE, however I am not able to see the value "twitter-translate.apiAccessToken" variable when I do lookupcache.

@VINEETH, See updated answer & sample api proxy that demonstrates both policies.

Thanks Anil !!