CRUK-CI Clarity API Recorder 2.31.7 API
This project is record and playback wrappers for the Cambridge Research UK Cambridge Institute (CRUK-CI) Java client for Clarity's REST API.
It provides a means of recording Clarity API server messages to files, which can then be used to provide a replay of those messages from the files. This allows unit tests to be written that have real data but don't change over time and can be run without access to the original server.
To use the record and playback wrappers, create a Spring application context
including the main client's file
org/cruk/clarity/api/clarity-client-context.xml
plus either
org/cruk/clarity/api/clarity-record-context.xml
for recording or
org/cruk/clarity/api/clarity-playback-context.xml
for playback.