pkmitre / openva-flask-experiment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Experimental openVA RESTful Interface Approach

This repository demonstrates a simple approach to organizing openVA algorithms and services into a service oriented architecture using RESTful interfaces. Note that this sketch organizes all the interfaces using synchronous access, and an asynchronous structure would be more appropriate if this approach is adopted.

Setup

First set up the demonstration algorithm and format translation services, following the README documentation in each repository:

Then run the demonstration user interface:

  FLASK_ENV=development FLASK_APP=openva.py flask run -p5000

The service can then be accessed at http://127.0.0.1:5000/ and tested by uploading the who2016-example-request-14.csv file included in this directory.

About


Languages

Language:HTML 54.0%Language:Python 46.0%