ximon18 and GitHub
bcf4031fe1
Quick PoC hack to support uploading more children resources.
2019-12-17 17:02:18 +01:00
Tim Bruijnzeels
b24ac3d806
Rename /api/v1/health to /api/v1/authorized which reflects more appropriately what it does. ( #141 )
2019-11-28 11:11:37 +01:00
Tim Bruijnzeels
1e0b2e64e5
Add end-point for getting the RFC8183 Parent Response as XML and json. ( #141 )
2019-11-28 10:04:08 +01:00
Tim Bruijnzeels
8f7e6d4fcc
Add end-point for getting the RFC8183 Publisher Request as XML. ( #141 )
2019-11-27 16:43:29 +01:00
Tim Bruijnzeels
da889f29e9
Add end-point for getting the RFC8183 Child Request as json. ( #141 )
2019-11-27 16:30:49 +01:00
Tim Bruijnzeels
ff6267b9cc
Add end-point for getting the RFC8183 Repository Response as json. ( #141 )
2019-11-27 16:30:07 +01:00
Tim Bruijnzeels
93c6cb5b81
Separate repo config and state endpoints. ( #141 )
2019-11-27 10:53:00 +01:00
Tim Bruijnzeels
a2b2a811e7
Use explicit .xml for child_request xml end point. ( #141 )
2019-11-27 09:16:12 +01:00
Tim Bruijnzeels
1ffb01b554
Fix inconsistency in path routing. ( #141 )
2019-11-26 15:12:18 +01:00
Tim Bruijnzeels
1d2f4aa38d
Better error reporting when updating a repository for a CA. ( #141 )
2019-11-25 16:13:53 +01:00
Tim Bruijnzeels
df66d8b403
Better responses for unknown methods vs resources in the API. ( fixes : #146 )
2019-11-24 09:55:22 +01:00
Tim Bruijnzeels
66a0c75acb
Add regression tests to ensure that 0.4.0 events can always be parsed.
2019-11-23 21:34:40 +08:00
Tim Bruijnzeels
5c0a04200d
Use separate API call for list authorisations ( closes #127 )
2019-11-14 15:46:58 +01:00
Tim Bruijnzeels
26bb82014f
Show parents in list, and parent contact only as separate call in API and CLI ( Closes #138 )
2019-11-14 15:13:39 +01:00
Tim Bruijnzeels
4d62555466
Add option to refresh, sync and publish all CAs in bulk from the CLI and API. ( fixes #114 )
2019-11-08 17:21:42 +01:00
Tim Bruijnzeels
e2e6c9ee92
Publish at remote server ( #60 ), migrate to it from the embedded ( #104 ), and back ( #105 ).
2019-11-08 13:44:58 +01:00
Tim Bruijnzeels
714f0fcb6e
Show repo state and published objects through API and CLI. ( #104 )
2019-11-04 14:28:56 +01:00
Tim Bruijnzeels
c6f38065a7
Add rfc8183 publisher request to API and CLI. ( #104 )
2019-11-04 11:29:20 +01:00
Tim Bruijnzeels
f08d9a359f
Allow remote publishers ( #107 ) and remove publishers ( #113 ).
2019-10-31 14:43:16 +01:00
Tim Bruijnzeels
2c6d810aab
Allow users of a UI to login using the API token, and then be allowed access.
2019-10-14 16:44:26 +02:00
Tim Bruijnzeels
7fec0e3c5d
Remove krillserver (plain api) publication contact. Closes #101 .
2019-10-11 17:02:58 +02:00
Tim Bruijnzeels
d5e9c03f4a
Add/update/remove parent and/or child. Closes #91 #92 #93
2019-10-10 12:18:40 +02:00
Tim Bruijnzeels
3da221afb3
Explicitly trigger background refresh CA certificates when testing. Closes : #87
2019-10-02 17:17:34 +02:00
Tim Bruijnzeels
f1f43dcebf
Show history of CA in CLI. Closed : #90
2019-10-01 15:23:09 +02:00
Tim Bruijnzeels
1d232e2659
Stop using work space.
2019-09-12 21:46:46 -07:00
Tim Bruijnzeels
6248f0baf0
Introducing api client (issue #34 ). Still things to do, see below.
...
Done:
* api client introduced
* code can do a list and parse the json response
Todo:
* Token validation on API
* Synchronise directory
* Binary for api client
* Format output for client (text/json/none)
* Cleanup, most notably move http client code into util for re-use.
2019-01-23 16:48:14 +01:00
Tim Bruijnzeels
0ffcd18e74
Moving shared API data (between server and client) into its own module.
2019-01-23 16:48:14 +01:00
Tim Bruijnzeels
c2ba03e679
Some more work done to separate the CMS/XML protocol and JSON. Still some more cleanup coming. (see issue #34 )
2019-01-23 16:48:14 +01:00
Tim Bruijnzeels
573f3422df
Extracting the RFC8181 and 8183 stuff into its own module. Paving the way for a simpler JSON api with token (or other) authentication.
2019-01-18 16:54:03 +01:00
Tim Bruijnzeels
d0bf4c6766
Only expose /ui/dev in dev mode (export KRILL_DEV_MODE=whatever).
2019-01-16 14:56:33 +01:00
Tim Bruijnzeels
e9716ec454
Cleanup: do not load publishers from disk, and include certificate in publisher details (one https end point less)
2019-01-16 14:40:44 +01:00
Tim Bruijnzeels
d8d7958fe8
Moving ui content around, and have dynamic handler to help ui development.
...
Note: idea is that in future we will use the Vue tool chain to build static pages into './ui/dist' - link this to cargo so that it's done before cargo starts compiling rust. And then include these files as static resources. Also, only expose /ui/dev in development mode (to be introduced, perhaps have an ENV for this, so we do not pollute the config).
2019-01-16 11:50:19 +01:00
Tim Bruijnzeels
6a53b5a2a8
Organising the use statements
2019-01-16 11:25:48 +01:00
Tim Bruijnzeels
2c8493e8f6
Fixing warnings for unused (future use) parameter in Signer implementations (currently only one signature algorithm is allowed)
2019-01-16 10:36:01 +01:00
Tim Bruijnzeels
b92d284a38
Updated to master rpki-rs "^0.3" - and quite a bit of refactoring that followed.
2019-01-16 10:30:43 +01:00
Tim Bruijnzeels
09f2645baa
Allow overriding the publisher_handle when adding a publisher.
2019-01-14 11:48:19 +01:00
Tim Bruijnzeels
e1410558f9
Return an empty 404 if the path starts with /api
2019-01-11 16:33:45 +01:00
Tim Bruijnzeels
e7c02430ef
Added support to remove publisher through API and CLI ( #10 )
2019-01-11 16:26:55 +01:00
Tim Bruijnzeels
464afb0a4a
Improving the conversions for data submitted to the http server, so we can refer to types in signatures.
2019-01-11 15:32:07 +01:00
Tim Bruijnzeels
14d4fdb766
Support adding a publisher through the API and CLI. See issue #10 .
...
Still needs better error reporting and documentation, but works mostly (integration test is green).
2019-01-09 16:58:55 +01:00
Tim Bruijnzeels
f98bc1878f
Restructuring modules (no functional changes).
2019-01-08 16:28:36 +01:00
Tim Bruijnzeels
4549cd57b1
Restructuring modules
2019-01-08 15:30:03 +01:00
Tim Bruijnzeels
a0cbab60e7
Doing a health check, using an authenticated krill CLI. Closes #8
2019-01-07 17:00:44 +01:00
Tim Bruijnzeels
850623d52f
Naming the project 'Krill', and restructuring things somewhat in anticipation of the CA components.
2019-01-04 15:38:10 +01:00