Skip to content

Beta v0.2#5

Merged
petrstehlik merged 33 commits intomasterfrom
devel
Apr 10, 2017
Merged

Beta v0.2#5
petrstehlik merged 33 commits intomasterfrom
devel

Conversation

@petrstehlik
Copy link
Contributor

Beta version which introduces many improvements and changes

API

  • reworked structure of Python backend to be more "library-like"
  • better DB connector which is now truly a singleton instance
  • ! Setup mode !

Front-end

  • FTAS integration
  • NERD integration
  • SecurityCloud integration
  • Setup mode
  • minor style improvements

If the response is dict or list the API converts it to JSON.
Otherwise it keeps the original.
Now one can use mongodb or sqlalchemy (SqLite, MySQL, PostgreSQL)
Further support for sql databases is not yet supported
classmethods are now check_password and create_hash
If API cannot lookup any users it will set Warning HTTP header
with value 'setup-required'. This tells the front-end to redirect
to /setup page where one can set the admin account.
API now lives in /api folder where it has its module liberouterapi.
This way the root folder is much clearer and free from python files.
HTTP interceptor reacts to HTTP 442 code to redirect to /setup
/setup contains a simple form for initial user registration
For now the FTAS config is hardcoded inside the component. This should
be placed in some sort of config.
This way we can use SafePipe elsewhere and not just in FTAS.
FTAS is now configured via environment config. Options:
* url: simple URL to FTAS instance (e.g. ftas.cesnet.cz)
* fullUrl: complete path to filtering page (without protocol, https is forced here)
* output: must specify which "output" machines to use
Creates an iframe to SecurityCloud GUI instance with optional
setting of looking up by time of an event (clickable through NEMEA Events)
* scgui:
  New module SecurityCloud
  SafePipe as module usage
  FIX: typo
  Convert SafePipe to module
Connects to NERD the same as FTAS or SecurityCloud.
* nerd:
  Introduce module NERD
  Working setup mode
@petrstehlik petrstehlik merged commit 3ad801d into master Apr 10, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant