Commit Graph
103 Commits
Author SHA1 Message Date
Tim Bruijnzeels 19befdaada Check for pre-existing publication server more carefully. 2021-02-05 16:57:23 +01:00
Ximon Eighteen 394e325b7c cargo fmt 2021-01-06 14:27:59 +01:00
Ximon Eighteen 1c2ee3d336 Separate actor definitions from actor instances, use Token type for password_hash, move request/response handling into the AuthProviders plus some additional error handling. 2020-12-30 15:46:08 +01:00
Tim Bruijnzeels 0413217c53 Rename 'krillpubc server delete' to `krillpubc server clear' #365 2020-12-23 15:00:38 +01:00
Ximon Eighteen bc1908fa54 Update invocation of start_krill_daemon to match changed fn signature and fold fold duplicate start krill in test mode logic into one place. 2020-12-14 21:56:20 +01:00
Tim Bruijnzeels 9d2d0eabc0 Manage Repository Server init/remove through API (#353) 2020-12-14 16:01:33 +01:00
Tim Bruijnzeels cae5dda52c Write notification.xml to new file, then rename #352 2020-12-10 15:58:46 +01:00
Tim Bruijnzeels 0f54bf73ef Fix test environment variables. 2020-12-10 15:39:06 +01:00
Ximon Eighteen 17df0a66ec Merge branch 'v0.8.1-bis' of github.com:NLnetLabs/krill into v0.8.1-bis. 2020-12-09 11:52:35 +01:00
Tim Bruijnzeels 5efe2fa377 Separate krillpubd and krillpubc. (#338) 2020-12-09 11:31:42 +01:00
Ximon Eighteen 83770d75fb Adjust tests to match changes to Actor creation. 2020-12-09 00:41:03 +01:00
Ximon Eighteen cbd01a6b16 FIX: internal actions wrongly attributed to user none due to missing linked auth policy to evaluate the request against. Introduces a separation between actor and actor definition. Actors can now only be created via the Authorizer to ensure they have a linked auth policy. 2020-12-09 00:06:32 +01:00
Ximon Eighteen 472a0e4751 Merge multi-user branch. Uses Lagosta master branch commit a7e73cba which includes multi-user support. 2020-12-07 16:55:40 +01:00
Tim Bruijnzeels 9db34c1077 Improve effeciency and readability of functional tests.
Also, fixes ROA re-issuance when resources were temporarily removed (#96)
2020-11-26 11:39:36 +01:00
Tim Bruijnzeels b5b0b03d0f Remove lazy_static! (#349) 2020-11-17 17:15:43 +01:00
Tim Bruijnzeels 81c737fdd8 Remove derive_more dependency #297 2020-11-11 13:39:31 +01:00
Tim Bruijnzeels b056eb1ebd Reset session if publication server needed to recover. (#339) 2020-11-09 15:46:52 +01:00
Tim Bruijnzeels ef52d96af1 Use locking to force sequential writing to rsync repository folders (#343) 2020-11-09 09:56:54 +01:00
Tim Bruijnzeels 506b6a9d05 Add option to force 'recover' on startup (#333) 2020-10-19 14:00:55 +02:00
Tim Bruijnzeels 1d5262e1b0 Fix debug logging for removing old snapshot files. 2020-10-16 15:07:17 +02:00
Tim Bruijnzeels 2788373048 Archive old commands at startup, just before stopping if KRILL_UPGRADE_ONLY is set. 2020-10-06 20:23:16 +02:00
Tim Bruijnzeels 7a5919f3e4 Simplify AggregateStore and have simple KeyValueStore for storage concerns only. (#324) 2020-10-06 12:15:36 +02:00
Tim Bruijnzeels 6f9c1b8d89 Remove trait layer for AggregateStore (#324) 2020-10-02 10:20:16 +02:00
Tim Bruijnzeels ce8ded8cea Remove old snapshots and dirs after they have become unreferenced for 10 minutes. (#320) 2020-09-30 16:13:21 +02:00
Tim Bruijnzeels 2217b00a2c Optionally archive old events (#307) 2020-09-29 09:05:46 +02:00
Tim Bruijnzeels e0be452789 Recover state in case cache warmup fails (#314) 2020-09-24 14:16:36 +02:00
Tim Bruijnzeels 156a7d473d Warmup aggregate caches on startup (fail early in case of issues) (#315) 2020-09-17 15:29:47 +02:00
Tim Bruijnzeels ef7274bd73 Remove async_trait (#314) 2020-09-07 16:54:57 +02:00
Tim Bruijnzeels 7ec21fb539 Make Signer an explicit enum rather than generic. (#314) 2020-09-07 16:13:15 +02:00
Tim Bruijnzeels ac66275d23 Remove 'async' from Aggregate (#314) 2020-09-04 11:23:20 +02:00
Tim Bruijnzeels 9b46f5ab60 Use tokio::sync::RwLocks everywhere. Fix the message queue consumption. Use async in traits.. 2020-08-19 17:30:54 +02:00
Tim Bruijnzeels 5cbbe2e6ca Get repository status through API. (#250) 2020-08-10 15:21:26 +02:00
Tim Bruijnzeels cc41dde274 Configure rustfmt to allow 120 chars per line. 2020-07-24 14:17:44 +02:00
Tim Bruijnzeels 7fe60f9b1f Write empty repository when publication server is initialised. (fixes: #270) 2020-07-22 15:51:37 +02:00
Tim Bruijnzeels af7a9c6c12 Use local (and now much cleaner) implementation for ID Certificate logic. (closes #45) 2020-07-22 15:07:49 +02:00
Tim Bruijnzeels 6e7fc785b1 Don't use unsafe code where we don't need it. (closes: #273) 2020-07-13 14:27:15 +02:00
Tim Bruijnzeels 00bad7e5a0 Fix unsafe handling of downloaded RIS dump files, and double check unsafe code elsewhere. 2020-06-28 22:43:34 +02:00
Tim Bruijnzeels d10c88f0c9 Release 0.6.2 - Fix issue with determining creation time on certain platforms. 2020-05-15 16:37:33 +02:00
Tim Bruijnzeels e0351a4c06 Wait at least 10 minutes before deleting old snapshots. (fixes: #234) 2020-05-15 11:53:13 +02:00
Tim Bruijnzeels 92bf798551 Make RFC 8181 and RFC 6492 logging optional. (#226) 2020-04-23 17:06:00 +02:00
Tim BruijnzeelsandGitHub f7dcc5b0c0 Show paginated command history (Fixes #112) 2020-04-22 16:12:52 +02:00
Tim Bruijnzeels e755f0ab65 Merge test modules - cleanup. 2020-03-16 14:55:21 -03:00
Tim Bruijnzeels fdfad1dcd4 Add TLS support to the hyper server. 2020-03-02 09:09:51 +01:00
Tim Bruijnzeels ee38cd74f9 Fix clippy warnings under rust 1.41 2020-02-14 15:58:30 +01:00
Tim Bruijnzeels 867fdca459 Revised ErrorResponse json. Now using a map for the arguments and a string label instead of a number. (#192) 2020-02-06 11:56:02 +01:00
Tim Bruijnzeels cdad1ee810 Simplify error handling. (fixes #86) 2020-01-28 11:21:48 +01:00
Tim Bruijnzeels a0c6ab8404 Improve prometheus stats and provide CLI option. (#176) 2020-01-17 17:32:19 +01:00
Tim Bruijnzeels 22dcad036a Add API endpoint and CLI option for listing publishers stale for X seconds. (closes: #177) 2020-01-17 15:16:26 +01:00
Tim Bruijnzeels a03761fef6 Add prometheus stats for the embedded repository. (#176) 2020-01-14 11:34:59 +01:00
Tim Bruijnzeels 5a220b28aa Only log significant RFC 6492 and RFC 8181 exchanges. (fixes: #172) 2020-01-07 16:58:01 +01:00