Sida Chen
9306e99368
converted to structured logging by using logrus
...
changed from capnslog to logrus for logging JSON structured message.
finished issue #383
7 years ago
Jimmy Zelinskie
6a569fd945
move config to main / decentralize config
...
This puts config in its relevant location and moves functions around
loading config files into the main package.
As a side effect of removing cyclic imports for the API config, the
context library is no longer used.
8 years ago
Jimmy Zelinskie
e7f72ef5ad
utils: rm prometheus.go
8 years ago
Jimmy Zelinskie
78cef02fda
pkg: cerrors -> commonerr
8 years ago
Quentin Machu
b8865b2106
pgsql: Replace liamstask/goose by remind101/migrate
...
Fixes #93
8 years ago
Quentin Machu
836d37b275
*: use `path/filepath` instead of `path`
8 years ago
Quentin Machu
e7b960c05b
database: Allow specifying datastore driver by config
...
Fixes #145
8 years ago
Quentin Machu
883be8769f
database: fix Ping() method in PostgreSQL's implementation
9 years ago
Jimmy Zelinskie
99f3552470
database: add Insert/DeleteVulnerabilityFix
9 years ago
Quentin Machu
03d904c620
database: improve PostgreSQL test inits and cleanups
9 years ago
Quentin Machu
8be18a0a01
database: write more of the notification system
9 years ago
Quentin Machu
baed60e19b
prometheus: add initial Prometheus support
9 years ago
Quentin Machu
ad0531acc7
notifier/database: refactor notification system and add initial Prometheus support
9 years ago
Quentin Machu
b8b7be3f81
*: remove health checker
9 years ago
Quentin Machu
563b3825d8
database: let handleErrors deal with the not found case
9 years ago
Quentin Machu
82175dcfe9
*: add missing copyright headers
9 years ago
Quentin Machu
77387af2ac
updater: port updater and its fetchers
9 years ago
Quentin Machu
7c70fc1c20
database: add initial vulnerability support
9 years ago
Quentin Machu
6a9cf21fd4
database: log and mask SQL errors
9 years ago
Quentin Machu
970756cd5a
database: do insert/find layers (with their features and vulnerabilities)
9 years ago
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
9 years ago