AQCU Derivation Chain Report
This application can be run locally using the docker container built during the build process or by directly building and running the application JAR. The included docker-compose
file has 3 profiles to choose from when running the application locally:
- aqcu-dc-report: This is the default profile which runs the application as it would be in our cloud environment. This is not recommended for local development as it makes configuring connections to other services running locally on your machine more difficult.
- aqcu-dc-report-local-dev: This is the profile which runs the application as it would be in the aqcu-local-dev project, and is configured to make it easy to replace the aqcu-dc-report instance in the local-dev project with this instance. It is run the same as the
aqcu-dc-report
profile, except it uses the docker host network driver. - aqcu-dc-report-debug: This is the profile whichi runs the application exactly the same as
aqcu-dc-report-local-dev
but also enables remote debugging for the application and opens up port 8000 into the container for that purpose.
Before any of these options are able to be run you must also generate certificates for this application to serve using the create_certificates
script in the docker/certificates
directory. Additionally, this service must be able to connect to a running instance of Water Auth when starting, and it is recommended that you use the Water Auth instance from the aqcu-local-dev
project to accomplish this. In order for this application to communicate with any downstream services that it must call, including Water Auth, you must also place the certificates that are being served by those services into the docker/certificates/import_certs
directory to be imported into the Java TrustStore of the running container.
To build and run the application after completing the above steps you can run: docker-compose up --build {profile}
, replacing {profile}
with one of the options listed above.