we have requirement to update cluster wide properties for service, providing with service name or service URL with REST man service, is it possible?, if yes, please help me with configuration.
thanks a lot.
Create a Cluster PropertyURL: https://<gateway name>:8443/restman/1.0/clusterPropertiesHTTP Method: PostHeaders: AuthorizationContent-Type: application/xmlPayload;<l7:ClusterProperty xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management"> <l7:Name>foo</l7:Name> <l7:Value>1234</l7:Value></l7:ClusterProperty>
Update a Cluster Property
URL: https://<gateway name>:8443/restman/1.0/clusterProperties/5db1321e3a29ddaf67d501c6f8f19709HTTP Method: PutHeaders: AuthorizationContent-Type: application/xmlPayload:<l7:ClusterProperty xmlns:l7="http://ns.l7tech.com/2010/04/gateway-management" id="5db1321e3a29ddaf67d501c6f8f19709" version="1"> <l7:Name>foo</l7:Name> <l7:Value>123</l7:Value></l7:ClusterProperty>
Note: When you are updating a cluster property you need to know the GOID for the URI and the payload along with version needs to be incremented. The GOID will be returned during a Get to review all the cluster properties or the response when the cluster wide properties is created through restman.
Director, CA Support
Retrieving data ...