Updates to KeyValueMap

0 2 201

When updating a KeyValueMap(KVM) for a specific org, does the update to the KVM take effect right away, or does it require a bundle re-deployment before the update take into effect? In other words, if I use the update API, https://api.enterprise.apigee.com/v1/organizations/{org_name}/keyvaluemaps/{map_name}, to update a keyvaluemap we use, would it affect the runtime API calls immediately after the keyvaluemap update is done or do I have to re-deploy the bundle in order to see the new values?

If the update of a keyvaluemap involves only the existent key/value pairs, then it takes about a couple of minutes for the new values to be refreshed in the runtime traffic. If the update of a keyvaluemap adds new key/value pairs, then in order to see the new key/value pairs, code changes to the API to reference the new keys and a bundle deployment are required.

For the keyvaluemaps update management API call, please reference http://apigee.com/docs/management/apis/put/organizations/%7Borg_name%7D/keyvaluemaps/%7Bmap_name%7D

For details on the KeyValueMap policy, please reference http://apigee.com/docs/api-services/reference/key-value-map-operations-policy

Comments
sgilson
New Member

The first link in this article is not accessible. It should go to:

http://apigee.com/docs/management/apis/put/organizations/%7Borg_name%7D/keyvaluemaps/%7Bmap_name%7D

Stephen

birute
Staff

Thank you @sgilson. The link has been updated.

Version history
Last update:
‎04-03-2015 05:34 PM
Updated by: