No description
  • Python 99.2%
  • Dockerfile 0.8%
Find a file
2020-09-01 22:08:16 -07:00
azure-pipelines.yml Add Azure Pipelines config. 2020-09-01 21:35:18 -07:00
constraints.txt Use flask form parsing (#2) 2020-05-20 09:23:39 -07:00
Dockerfile Added base files 2020-02-26 13:10:36 +10:00
fallaxy.py Lock everything (#3) 2020-06-06 05:35:43 +10:00
LICENSE Initial commit 2020-02-25 18:19:38 -08:00
README.md Added some notes about the extra endpoints 2020-02-26 16:44:20 +10:00

Ansible Galaxy stub server

Docker Repository on Quay

A mock server of both Ansible Galaxy and Automation Hub to use for CI testing. It will henceforth be now known as Fallaxy Server.

Usage

To use locally run the following

docker run --rm -p 8080:8080 -e FALLAXY_TOKEN=my_token quay.io/ansible/fallaxy-test-container:latest

From there you can access the Galaxy API by navigating to;

  • http://127.0.0.1:8080/api/v2/collections/ - Galaxy
  • http://127.0.0.1:8080/api/automation-hub/v3/collections/ - Automation Hub

Notes

As well as implementing parts of the v2 and v3 API, this endpoint also exposes the following routes:

  • GET /api/custom/collections/<filename> - Download the collection based on the filename specified.
  • POST /api/custom/reset/ - Reset all the existing collections and clear the cache. POST {"clear":false} to just reset the collections and rebuild from the cache.