Posted: 8 Nov 2015 15:31 EST Last activity: 2 Dec 2015 4:01 EST
Disabling a REST or SOAP service on Pega 7 cluster node ?
Is there a particular way in Pega 7 to disable a REST or SOAP service on a given node ? May be a prconfig settings or similar ?
Context is as follow : while deploying the same application on several cluster nodes with a shared DB, we would like to disable some Http services on Pega nodes deployed in a Semi-Trusted network zone.
I don't think there is any OOTB way to limit the REST/SOAP requests to specific nodes in a clustered environment, unless you provide different URL pattern for REST/SOAP request and configure the load balancer to dispatch REST/SOAP request to the right destination based on that special URL pattern.
I confirm that it's not possible out-of-the-box to restrict services unless you restrict ALL services by disabling PRRestService servlet.
Eventually we plan to use a custom access restriction code implemented in the service activity. The service will use the node classification feature where you can flag a node with a classification by updating prconfig.
At runtime, service activity will retrieve the value of dynamic system setting to allow or deny access to the service based on the node value.