Thanks Phillipe, appreciate your detailed solution. One reason I am little skeptical using the restman as its an API. If in future product upgrades, the API behavior changes or becomes incompatible then there can be a potential outage of the policy. I am not sure what is the Layer7 teams approach of restman compatibility whenever they release newer version. I still consider it as a tool for gateway management and may be not convinced to use this API in the real run time environment.
For Layer7 team, I was informed by the support team that there is a
tactical assertion "SetClusterProperty". Can someone from Layer7 team shed some light on this.------------------------------
API Platform Product Architect
DFS
Chicago, IL
------------------------------
Original Message:
Sent: 07-19-2019 07:54 AM
From: Philippe Brand
Subject: Update Custom Cluster Variable via Policy assertion
- Create a user for example "l7migrate" on IIDP, create new private key and certificate, associate public certificate to user "l7migrate".
- Modify "restman" API to allow user with this certificate.
- Create an encap:
Set context:
<l7:ClusterProperty xmlns:l7='http://ns.l7tech.com/2010/04/gateway-management'>
<l7:Name>${clusterProperty}</l7:Name>
<l7:Value>${clusterValue}</l7:Value>
</l7:ClusterProperty>"