fuzzball-service

module
v0.2.1-0...-9c16218 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2020 License: BSD-3-Clause

README

Fuzzball Service

Built with Mage CI Workflow Dependabot

Fuzzball enables programmatic management of high performance compute resources.

Quick Start

Ensure that you have one of the two most recent minor versions of Go installed as per the installation instructions.

Install Mage as per the installation instructions.

To run the server, you'll need MongoDB, NATS, and Redis endpoints to point it to. If you don't have these already, you can start them with Docker easy enough:

docker run -d -p 27017:27017 mongo
docker run -d -p 4222:4222 nats
docker run -d -p 6379:6379 redis

Finally, run the server:

mage run

Testing

Unit Tests

Unit tests can be run like so:

mage unittest
Integration Tests

To run integration tests, you'll need MongoDB, NATS, and Redis endpoints to point it to. If you don't have these already, you can start them with Docker easy enough:

docker run -d -p 27017:27017 mongo
docker run -d -p 4222:4222 nats
docker run -d -p 6379:6379 redis

Integration tests can then be run like so:

mage test

License

This project is licensed under a 3-clause BSD license found in the license file.

Directories

Path Synopsis
cmd
internal
pkg/token
Package token defines middleware that parses and validates a bearer token and passes it via the request context.
Package token defines middleware that parses and validates a bearer token and passes it via the request context.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL