diff --git a/requirements.txt b/requirements.txt index e69de29..3fc5868 100644 --- a/requirements.txt +++ b/requirements.txt @@ -0,0 +1,7 @@ +click==6.6 +Flask==0.11.1 +itsdangerous==0.24 +Jinja2==2.8 +MarkupSafe==0.23 +Werkzeug==0.11.11 +wheel==0.24.0 diff --git a/src/api/index.py b/src/api/index.py index 20f5b19..c4c741c 100644 --- a/src/api/index.py +++ b/src/api/index.py @@ -1,4 +1,12 @@ +""" + This is a RESTful interface implemented using Flask micro framework. + The API is driven by configuration that is organized in terms of the monitoring classes + We designed the classes to be reusable (and powered by labels): + 'monitoring-type': + 'class':'' + 'config':' +""" from flask import Flask,request import sys import os