Skip to content

OpenIngenium/core_server

Repository files navigation

Ingenium Core Server

Overview

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.

Running the server

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.

Setting environment variables

Set environment variables to change default configuration.


ARCHIVE=http://localhost:8010/api/v5
EXECUTION=http://localhost:9999/api/v4
JWT_SECRET=bigsecret

Running Tests

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

About

Service that coordinates archive, execution service, and execution monitor service

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors