java-artefacts
Disclaimer
This collection of Australian Consumer Data Right (CDR) software artefacts includes code written in Java.
The artefacts in this repo are offered without warranty or liability, in accordance with the MIT licence.
The Data Standards Body (DSB) develops these artefacts in the course of its work, in order to perform quality assurance on the Australian Consumer Data Right Standards (Data Standards).
The DSB makes this repo, and its artefacts, public on a non-commercial basis in the interest of supporting the participants in the CDR eco-system.
The resources of the DSB are primarily directed towards assisting the Data Standards Chair for developing the Data Standards.
Consequently, the development work provided on the artefacts in this repo is on a best-effort basis, and the DSB acknowledges the use of these tools alone is not sufficient for, nor should they be relied upon with respect to accreditation, conformance, or compliance purposes.
Software requirements
To run the artefacts, you need to install
- Java 8
- Maven 3
How to Build
Navigate to the project folder and execute
mvn install --projects !integration-test
or, if you want to skip the Docker image build step:
mvn install -Ddockerfile.skip=true --projects !integration-test
The --projects !integration-test
parameter skips running of the integration tests. You can ommit this parameter if you've built the current version of the project once before and the data-holder
is running, so the tests can be run agains it.
Unit tests
The Maven install
command runs unit tests as a part of the build. You can re-run the tests any time with:
mvn test
Included Modules
- client - Java library, reference Implementation of CDS client (Accredited Data Recipient - ADR). Used by client-cli and integration-test
- client-cli - Command Line Interface tool to access Data Holder endpoints.
- integration-test - Integration tests to run against Data Holder endpoints.
- data-holder - Reference Implementation of CDS server (Data Holder).
Rules of engagement
Contributions to this open source project are made by raising issues and contributing code through pull requests.
We ask that all contributors to the Australian Consumer Data Standards repositories comply with the GitHub Community Forum Code of Conduct.