Skip to content

Latest commit

 

History

History
44 lines (34 loc) · 469 Bytes

README.md

File metadata and controls

44 lines (34 loc) · 469 Bytes

controlusoHPC

Config

File: "service.config"

[config]
HOST=
PORT=
INDEX=
UC_CONVERSION=1/0
SECRET="random key"

Develop

export FLASK_APP=apicontrolusohpc
export FLASK_ENV=development
flask run
# flask run --host 0.0.0.0

Notes

GET /<index_name>/_search
{
  "query": {
    "range":{
        "RecordTime":{
          "gte": 1646262000
        }
    }
  }
}
apt-get install libsasl2-dev python-dev libldap2-dev libssl-dev