This integration layer service provides asset and qu transfer information to integrators. The information is based on qubic events (aka 'logging').
- Go (golang)
- Postgresql database
CREATE USER some_user_name WITH PASSWORD 'some-password';
CREATE DATABASE some_database OWNER some_user_name;
Database migrations use golang-migrate and are automatically applied on
startup. For manual migration you can use migrate-cli (see golang-migrate docs), for example to clean the database use
down
or drop
:
migrate -source file://path/to/migrations -database postgres://localhost:5432/database down
Environment variables need to be set or necessary values need to be passed as command line arguments.
Run go build
in the root folder. Then you can run the executable.
Run go test -v ./...
to execute all tests. To exclude system integration tests that have dependencies to external
systems and therefore need configuration use the ci
tag : go test -v -tags ci ./...
.