No description
  • Python 87.6%
  • Dockerfile 6.3%
  • Makefile 6.1%
Find a file
2020-09-01 22:09:02 -07:00
fixtures Add fixtures for foreman integration test 2018-03-29 16:55:57 +02:00
.gitignore Add .gitignore. 2018-04-17 11:12:56 -07:00
azure-pipelines.yml Add Azure Pipelines config. 2020-09-01 21:22:25 -07:00
constraints.txt Drop redundant version pins 2018-04-17 16:22:53 +02:00
COPYING Fix license file contents 2018-04-17 16:38:44 +02:00
Dockerfile Replace md license with plaintext 2018-04-17 16:24:14 +02:00
foreman_stub.py Handle the routes called by the inv script (#4) 2018-10-11 15:59:56 -04:00
fqdn_sanitizer.py Add fixtures sanitizer for foreman tests 2018-03-29 16:55:57 +02:00
Makefile Upgrade image name in makefile 2018-04-03 20:09:11 +02:00
README.rst Drop ansible plugin rel description from README 2018-04-17 16:30:35 +02:00

Foreman API v2 stub server
--------------------------


Prerequisites
=============

.. note::

    Scripts in this folder require Python 3.6+ runtime.

Sanitizing
~~~~~~~~~~

.. code:: shell

    $ ./fqdn_sanitizer.py fixtures/*.json


Running
=======

Start the stub:

.. code:: shell

    $ ./flaskapp.py


In docker:

.. code:: shell

    $ make


In docker (dev):

.. code:: shell

    $ make dev