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

overmindtech/deviant_ingest

Repository files navigation

Dgraph

This project stores SDP items from a NATS network into dgraph.

Running

go run main.go ingest

Viewing results

Open the Ratel dashboard and run whatever query you want. Examples:

Get all items:

{
  all(func: type(Item)) {
    uid
    expand(_all_) {
      expand(_all_)
    }
  }
}

Developing

All code should be developed in a feature branch and pull requests must be approved by a maintainer.

Running Tests

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

About

Database ingestion service for Deviant

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published