Saturday, January 28, 2017

What is GRS : Global Resource Setting

When we code Connectors, we provide endpoints in the below manner.

  • Hardcode the URL which is bad practice. This would lead us to make changes manually in higher environments.
  • Have System Setting where we define URL s for each environment Dev, QA, UAT, PROD.
  • Have a DeclarePage with all the endpoints listed. Decalre_OrgEnvProperties.Endpoint()
  • Endpoint can be configured as a value list. 
  • This approach is via Global Resource Setting (GRS).

Benefits:

  • Manual changes are not needed in higher environments. No hard coding.
  • We can specify declare page as node level data page which would improve the performance.

No comments:

Post a Comment


HowToPega : All rights reserved and the contents are copyrighted to Pavan Kumar Naidu