Skip to content

Latest commit

 

History

History
26 lines (14 loc) · 1.01 KB

develop.md

File metadata and controls

26 lines (14 loc) · 1.01 KB

More information for developers

To start development see how to install the source here.

All npm commands

  • npm run serve to run the application from the source code

  • npm run test to run the tests

  • npm run inspect to run the application with the inspect flag, which allows profiling in Chrome (chrome://inspect).

  • npm run build to compile and build OS native applications

  • npm run generate-prefixes -- --a ASN(S) --o OUTPUT_FILE to generate the monitored prefixes file

Composition notes

You can compose the tool with 3 main components: connectors, monitors, and reports.

Important: All connectors MUST extend the class Connector. Monitors extend the class Monitor. Reports extend the class Report. From the superclass they will inherit various generic methods while some have to be implemented.

Reports don't receive only alerts but also the data that provoked such alerts (so you can store the data and replay the accident later).