How do I verify if Context Store is successfully connected to the External Data Mart?

Last Updated : Jun 06, 2019 |

If you have access to the database itself, the simplest way to verify is:

  1. Create a context with the persistToEDM flag set to true => {"contextId":"PersistedContext","persistToEDM":"true","data":{"key1_name":"value1_data"}

  2. Run an SQL query to search the database for this context => select * from cs_operation where context_id = 'PersistedContext'

If you cannot query the database directly, you can use ContextStoreQuery ReST interface to verify that the context has been written to the External Data Mart => http://clusterIP/services/ContextStoreQuery/edm/contexts/audit/{{contextId}}/?data=true