Jimmy Zelinskie
b9a6da4a57
api: implement delete notification
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
96e96d948d
api: handle last page for notifications
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
3eaae478f9
api: implement get notification
2016-02-24 16:36:45 -05:00
Quentin Machu
116ce1a806
api: fix log message when stopping the API server
2016-02-24 16:36:45 -05:00
Quentin Machu
5fdd9d1a07
*: add metadata support along with NVD CVSS
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
c05848e32d
api: implement put vulnerability
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
8209922c0c
api: implement delete vulnerability
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
dc99d45f47
api: refactor endpoints and implement get vulnerability
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
6ac9b5e645
api: fix graceful stop
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
9a8d4aa591
api: implement post vulnerability
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
38aeed4f2c
api: implement get namespaces route
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
b916fba4c6
api: implement delete layer route
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
04c7351911
api: use pointers in models to get proper omitempty
semantics
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
1a5aa88b18
api: use only one layer envelope
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
fa45d516df
api: add JSON tags to API models
2016-02-24 16:36:45 -05:00
Jimmy Zelinskie
d130d2fab4
api: implement getLayer
2016-02-24 16:36:45 -05:00
Quentin Machu
6b3f95dc03
api: fix /v1 router and some status codes
2016-02-24 16:34:54 -05:00
Jimmy Zelinskie
be9423b489
api: add request / response types and rename some fields
2016-02-24 16:34:54 -05:00
Jimmy Zelinskie
822ac7ab4c
api: add initial work on the new API
2016-02-24 16:34:54 -05:00
Quentin Machu
b8b7be3f81
*: remove health checker
2016-02-24 16:34:54 -05:00
Quentin Machu
726bd3c0c6
database/api: add layer deletion support
2016-02-24 16:34:54 -05:00
Quentin Machu
6e20993bac
api: simplify getLayer route and JSON output
2016-02-24 16:34:54 -05:00
Quentin Machu
77387af2ac
updater: port updater and its fetchers
2016-02-24 16:34:54 -05:00
Quentin Machu
2c150b015e
*: refactor & do initial work towards PostgreSQL implementation
2016-02-24 16:32:21 -05:00
Quentin Machu
e834301941
Merge pull request #49 from liangchenye/master
...
Add DataDetector to support ACI and other layout format
2016-01-07 10:44:40 -05:00
Quentin Machu
8c1d3c9a86
*: Fix authentification
typo
2015-12-16 12:01:51 -05:00
Jimmy Zelinskie
34870a2a2b
move LoadTLSClientConfigForServer into API package
...
This isn't reused any where just yet, so we're best off leaving it local
to the place that needs it.
2015-12-15 12:09:46 -05:00
liangchenye
d402ae818e
use imageFormat in params for consistence
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
2015-12-11 19:41:32 +08:00
liangchenye
b1775ed3dc
add data detector to support ACI and other format in the future
...
Signed-off-by: liangchenye <liangchenye@huawei.com>
2015-12-11 19:37:25 +08:00
Quentin Machu
eb7e5d5c74
main: Use configuration file instead of flags and simplify app extension.
...
Clair will now use a YAML configuration file instead of command line
arguments as the number of parameters grows.
Also, Clair now exposes a Boot() func that allows everyone to easily
create their own project and load dynamically their own fetchers/updaters.
2015-12-08 11:50:52 -05:00
Quentin Machu
9946382223
api: Extracted client cert & HTTP JSON Render to utils.
2015-12-04 16:56:20 -05:00
Quentin Machu
e444e93c97
api/database: Add the ability to delete layers
2015-12-04 14:42:21 -05:00
Quentin Machu
9db0e63401
api: Specify what packages cause the layer to have vulnerabilities.
2015-12-01 17:02:49 -05:00
Quentin Machu
3ec262dd51
Initial commit
2015-11-13 14:11:28 -05:00