How do I verify if Context Store is successfully deployed?

Last Updated : Nov 14, 2017 |

The most reliable way to verify deployment is to create and retrieve test Contexts through the ContextStoreRest interface. You can submit requests to the Cluster IP address (which will round-robin request to each available ContextStoreRest instance) or directly to the security module IP address of a server to verify that each is working as expected.

Helpful hint If you create contexts without specified contextIds with the shortid=true parameter (http://clusterIP/services/ContextStoreRest/cs/contexts/?shortid=true), the first 1-3 digits of the returned, auto-generated contextId match the last octet of the security module IP address of the server on which the context was created. So with just a few simple create requests to the cluster IP address, you can verify that each of the servers is processing requests and therefore ContextStoreRest is functioning correctly.

Submit test requests using either a ReST client such as Postman (for Google Chrome) or the live API built-in to ContextStoreRest itself (http://clusterIP/services/ContextStoreRest/)

Note:

Sample Postman request collections are available to download from the Context Store DevConnect for all ContextStoreRest operations and features.