Backend for the SIMPLE YAML Compiler GUI web application.
Frontend repository can be found here.
-
Download the OKD client oc.
-
Select Python from the list of options
- Select your project, set application name and select the repository. Supported Python version is 2.7.
-
Create route and expose it to the internet using
oc annotate route <SERVICE NAME HERE> router.cern.ch/network-visibility=Internet -
(Optional) Add health-check to the backend deployment on
/healthendpoint.
/versions-GETlist of installed compiler versions/compile-POSTsite-level config file to be compiled/augmented// Request { "version": "v1.0.6", "site_conf": (binary) } // Response (success) { "augmented_conf": "...", "schema": "..." } // Response (failure) { "Input File": "<site-level conf>", "error": "<error traceback>", "file_name1": "...", "file_name2": "...", "file_name3": "...", ... }
/health-GEThealth check endpoint
In order to install a new compiler simply download it from the SIMPLE Grid YAML compiler package page in PyPi here and extract it inside the compilers directory.
The backend will take care of picking up the installed compilers and providing a list of available versions to the frontend.

