Jimmy Zelinskie
|
1557a27a8c
|
Revert "v1: pagination now deterministic"
This reverts commit 24f329fea674e04c76f5e87c22eea1800e6bc413.
This was unnecessary.
|
2016-02-24 16:40:40 -05:00 |
|
Quentin Machu
|
3563cf9061
|
api: fix pagination token that's returned to match what has been passed
|
2016-02-24 16:40:40 -05:00 |
|
Jimmy Zelinskie
|
452c32d7d7
|
v1: pagination now deterministic
The standard JSON encoding has no guarantee of the order of keys, thus
token values could differ, but still be equivalent.
|
2016-02-24 16:40:40 -05:00 |
|
Quentin Machu
|
f40f6a5ab6
|
api: add missing link field in vulnerability in getLayer
|
2016-02-24 16:39:25 -05:00 |
|
Quentin Machu
|
6d2eedf121
|
api/database: add the layer name that add each feature in getLayer
|
2016-02-24 16:39:25 -05:00 |
|
Jimmy Zelinskie
|
d19a4348df
|
api: implement fernet encryption of pagination tokens
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
c2061dc69e
|
api: fix negative timestamps in notifications
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
f68012de00
|
api: fix 404->500 and NPE issues
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
c504d2ed0e
|
api: add FeatureFromDatabaseModel
This also handles replacing the DB identifier for a maximum version with
the string "None".
|
2016-02-24 16:36:45 -05:00 |
|
Jimmy Zelinskie
|
2d8d9ca401
|
api: finish initial work on v1 API
|
2016-02-24 16:36:45 -05:00 |
|
Quentin Machu
|
94ece7bf2b
|
database: fix notification design and add vulnerability history
|
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
|
5fdd9d1a07
|
*: add metadata support along with NVD CVSS
|
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
|
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
|
04c7351911
|
api: use pointers in models to get proper omitempty semantics
|
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 |
|
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 |
|