This server was generated by the swagger-codegen project. By using the OpenAPI-Spec from a remote server, you can easily generate a server stub.
To run the server, run:
npm start
To view the Swagger UI interface:
open http://localhost:8080/docs
This project leverages the mega-awesome swagger-tools middleware which does most all the work.
Set environment variables to change default configuration.
ARCHIVE=http://localhost:8010/api/v5
EXECUTION=http://localhost:9999/api/v4
JWT_SECRET=bigsecret
Python units_test based tests are available. To run the test, you need to have archive, execution_server services. If authentication of Core is on, you also need the Ingenium auth server. Locations of the services are defined in "config.py" in "tests" folder.
Tests will prompt for username and password. If authentication is turned off for Core, simply provide empty strings.
cd tests
python executions_test.py
python venues_test.py