tree: 328193f2127c5755d16a56fb99c44561525bed72 [path history] [tgz]
  1. README.MD
  2. api_test.py
  3. app.py
sandbox/job-status-rest-server/README.MD

Python Flask framework based REST API for sending job statuses from clusters

Requirement

  • pip install flask
  • pip install flask-restful

Sample CURL Command curl -X POST -d “job_id=ABC&job_name=Test&status=0&emails[]=supun.nakandala@gmail.com&emails[]=eabeysin@iu.eduhttp://localhost:8089/job_status