Some questions about Key/Value Map

Not applicable

Q1:

I read in an old post, that it is not possible to access properties form Key/Value Map by JavaScript. Does the latest version of Apigee support this feature?

Q2:

Does the Apigee Maven plugin support deployment of Key/Value Map properties?

Q3:

I saw the Cloud version of Apigee offers an UI to edit Key/Value Map in scope "Environment". Will there be also an UI to edit Maps of Scope "apiproxy" and "Organisation"? If not, will this features be implemented in future Versions of Apigee?

Thx.

Alex

0 1 288
1 REPLY 1

sarthak
Participant V

Hi @Alexander Hafen Please see my answers :

Q1. There are two ways to access KeyValueMaps:

1. Via KeyValueMap policy

2. By calling the KeyValue Map rest APIs which are documented here. You can definitely call the API from javascript using httpClient which is documented here. So you will be able to access the KVM entries from javascript.

Q2. I do not think so. I would recommend you to add this requirement to https://github.com/apigee/apigee-deploy-maven-plugin/issues and also might be as a separate thread in community tagging this as a feature request.

You can obviously build your own automation using the above mentioned KVM rest APIs.

And you are more than welcome to customize the maven plugin to add this feature. It is an open source project.

Q3. I will see if we already have a future Jira opened for this feature request, and if not I will open one.

Thanks