Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 1.56 KB

mode-server.md

File metadata and controls

30 lines (20 loc) · 1.56 KB

Server mode

Threagile may run as a server on your local machine. To do it simply run command server and by default (unless you changed server values in config or flags) web server will be accessible from localhost:8080

The server is using gin to serve HTTP connection and have few limitations:

  • do not support includes
  • single threaded - because of dependency on running graphviz as a process

Edit feature

In server mode you can also go and edit model, run analysis on it in UI. The feature is under development and that's only very first iteration is ready. But most viable product here would be adding an ability to do changes to your model via UI.

You can find a demo here. Feature is still under development and video may be a bit obsolete. However it's giving an idea of how feature is going to be used.

Most important note that the model is fully in the memory of the browser and to store it somewhere you need to export it to your hard drive.

The UI is fully based on the schema.json.

There are a lot of improvements for the feature such as:

  1. Allow adding custom risk tracking (currently it's broken).
  2. Improve changing technical assets (remember all of dragging around).
  3. Add question mark with explanation for each field.
  4. Allow to resize technical asset rectangle.
  5. Propagate id changes (for example if technical asset id changed it needs to be changed in risk tracking as well).
  6. Model validation.