This project stores SDP items from a NATS network into dgraph.
go run main.go ingest
Open the Ratel dashboard and run whatever query you want. Examples:
Get all items:
{
all(func: type(Item)) {
uid
expand(_all_) {
expand(_all_)
}
}
}
All code should be developed in a feature branch and pull requests must be approved by a maintainer.
To run spec tests run:
go test -v ./... -short
To run acceptance tests also:
go test -v ./...
Supporting infrastructure for acceptance tests can be created by running:
docker-compose up