Workflow for Using the Cache Management API Sample Orchestrator
To assist your understanding and use of the sample Cache Management APIs, Salesforce provides sample Java orchestration classes. These classes demonstrate how to make parallel calls for populating and regenerating the API cache response in your catalog.
-
Create Products and a Catalog
-
Download the Postman Environment and Collection Files
-
Set Up a Connected App for Postman
-
Set Up Postman, Import the Files, and Get the Token
-
Make Sure Your IDE Is Configured for Java
-
Get the Sample Orchestrator Code for CacheManagement APIs
-
Open the Orchestrator Folder in Your IDE
-
Run the PopulateCacheOrchestratorApplication Class
-
Prepare to Use the Regenerate Cache APIs
-
Run the RegenerateCacheOrchestratorApplication Class