About the mock solutions

The open-source mock solutions are a representation of the live CDR register, a data holder, and a data recipient. They aim to help participants explore and understand the CDR regime.

The mock solutions can be downloaded from the open-source repository and run in potential and current participants’ environments, to help with development and testing of their solutions.

How to access the mock solutions

  • download the source code from GitHub
  • download the container images from Docker Hub

How to use the mock solutions

The mock solutions can be used to interact with each other, or users can replace any of the mock solutions with their own data holder or data recipient solution.

The mock solutions give users the ability to see working code that conforms to the Consumer Data Standards and has passed the Conformance Test Suite. The solutions also include more than 400 automated integration tests that developers can look at to see how to call the APIs.

The mock solutions are also reference tools that could help participants when resolving issues. The code in these solutions will allow developers to get an understanding of how the CDR APIs work. For example, the authorisation APIs are complex, and it can be difficult to determine the cause of a specific problem. The examples of working APIs aim to help developers to troubleshoot and resolve issues. They can also choose to contribute any modifications back to the main codebase, subject to ACCC review and approval.

When to use the mock solutions

The mock solutions are available at any time for use throughout a participant’s activation journey. Where the greatest benefit lies, is to access these tools in the discovery phase of a participant’s project to assist with scoping of a compatible CDR solution. From this stage, the tools can provide further value as a reference point for code, to validate a solution through the build and to test a participant’s solution.

Using the mock solutions early on in the journey is intended to improve quality, accuracy and speed of build for a participant’s solution.

Related links