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

Refresh runtime KVM values cached on the MPs L1 cache

We want to write a generic utility API that will take the KVM (MapIdentifier) name along with entry name and its NEW entry value as request payload. API Proxy will extract that info using the assignmessage policy and assign it to variables used in the keyvaluemap operations policy as below -

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<KeyValueMapOperations name="RefreshKVM" mapIdentifier="SomeValidMap">
    <Scope>environment</Scope>
    <Put override="true">
        <Key>
            <Parameter ref="somekeyvar"/>  
        </Key>
        <Value ref="somevaluevar"/>
    </Put>
    <ExpiryTimeInSecs>1</ExpiryTimeInSecs>
</KeyValueMapOperations>

Is there a way to set to <mapIdentifier ref="somemapvar" /> as a variable ?

0 1 195
1 REPLY 1