Skip to content
This repository has been archived by the owner on Feb 2, 2022. It is now read-only.

usgs/aqts-capture-stattype-router

Repository files navigation

Aquarius Timeseries (AQTS) Statistic Type Transformation Router

Build Status codecov

Determine how the timeseries should be routed for further transformation.

Testing

This project contains JUnit tests. Maven can be used to run them (in addition to the capabilities of your IDE).

Docker Network

A named Docker Network is needed to run the automated tests via maven. The following is a sample command for creating your own local network. In this example the name is aqts and the ip addresses will be 172.25.0.x

docker network create --subnet=172.25.0.0/16 aqts

Unit Testing

To run the unit tests of the application use:

mvn package

Database Integration Testing

To additionally start up a Docker database and run the integration tests of the application use:

mvn verify -DTESTING_DATABASE_PORT=5437 -DTESTING_DATABASE_ADDRESS=localhost -DTESTING_DATABASE_NETWORK=aqts -DROOT_LOG_LEVEL=INFO

LocalStack

TBD