alberts / dcos-oauth

DC/OS OAuth Service

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AuthDCOS

Golang backend for DC/OS authorization

TODO: put build status here

Installation

Prerequisites

  • Go 1.6

Once the environment is set for Go, run make to compile and make install to install.

Tests

Running make test will build the docker image authdcos and run tests in the test directory. The API integration tests will run two containers:

  • authdcos-zk
  • authdcos-api

then send a request with the available HTTP methods for the API routes. Please refer to /api/routes.go for more details.

HTTP API specification

The file docs/apispec-swagger.json specifies the behavior bouncer's HTTP API, using Swagger 2.0 notation.

For ease of viewing, the contents of apispec-swagger.json can be pasted into the Swagger editor — resulting in a useful and beautiful HTML live-rendering of the API specification. Note that the HTML output does not necessarily contain all detail specified in the JSON file.

License

Apache License 2.0

About

DC/OS OAuth Service

License:Apache License 2.0


Languages

Language:Go 97.5%Language:Makefile 2.5%