Commit Graph
116 Commits
Author SHA1 Message Date
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 abd218a81b Use asynchronous locks to secure write access to CAs and status. (#250) 2020-08-18 11:53:02 +02:00
Tim Bruijnzeels 3e22e97abc Use persistent storage for tracking the CA to parents and repo status (#250) 2020-08-12 14:20:16 +02:00
Tim Bruijnzeels 6adfe7821e Get repository status through CLI. (#250) 2020-08-11 10:30:02 +02:00
Tim Bruijnzeels fb059a6d96 Show the statuses of parents through the CLI and API. (#260) 2020-08-03 11:03:20 +02:00
Tim Bruijnzeels 5d3dcf1642 Dry-run ROA updates, show the impact for the affected prefixes. (#290) 2020-07-28 17:03:32 +02:00
Tim Bruijnzeels 3fb4d164b3 Provide (scoped) ROA suggestions. (#289) 2020-07-28 11:16:14 +02:00
Tim Bruijnzeels cc41dde274 Configure rustfmt to allow 120 chars per line. 2020-07-24 14:17:44 +02:00
Tim Bruijnzeels aa89b3dbe7 Sign oneoff RTA (still needs e2e testing). (#283) 2020-07-20 16:54:48 +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 865180d31b Make ROA (de-)aggregation threshold configurable, and test! (#268) 2020-07-10 16:51:03 +02:00
Tim Bruijnzeels ee5b6d9f08 Use a lazily initialised configuration static for easier access to config. (#268) 2020-07-10 13:08:24 +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 f8e41e305f Prevent the creation of ROAs that are redundant / make other ROAs redundant. (#198) 2020-06-09 17:01:56 +02:00
Tim Bruijnzeels 3d8b40da3b Add regression tests for history grandchildren and remote publication. Use BTreeMap to have consistent ordering. 2020-04-30 17:14:04 +02:00
Tim Bruijnzeels 744912b2a1 Add history regression tests for rfc6492 keyroll scenario 2020-04-30 16:21:00 +02:00
Tim Bruijnzeels ce13e7a2d1 Add history regression tests for rfc6492 scenario. 2020-04-30 16:17:34 +02:00
Tim Bruijnzeels 3acf7d7fd4 Fix history regression tests for "ca_roas" scenario. 2020-04-30 15:28:50 +02:00
Tim Bruijnzeels 865b1af5a2 Start of regression test for command history. (#228) 2020-04-29 17:01:52 +02:00
Tim Bruijnzeels 4ac7473c25 Reorganised resources for api regression testing. 2020-04-28 15:02:49 +02:00
Tim Bruijnzeels e755f0ab65 Merge test modules - cleanup. 2020-03-16 14:55:21 -03:00
Tim Bruijnzeels 4c716c8f09 Use hyper for all of the API - and make lots of stuff async-await as a result. (#189) 2020-03-15 11:55:05 -03:00
ximon18andGitHub cdeb52224a Don't wait for child resources to be issued. 2020-02-25 09:23:06 +01:00
Tim Bruijnzeels cc5afda6f7 Attempt to fix e2e test to wait until resources are issued to test CAs. 2020-02-21 17:22:48 +01:00
Tim Bruijnzeels e7ecd5a39f Fix ASN not held by parent in e2e test data. 2020-02-21 15:58:09 +01:00
Tim Bruijnzeels ee38cd74f9 Fix clippy warnings under rust 1.41 2020-02-14 15:58:30 +01:00
Ximon Eighteen 8f9d6836fd FIX: indentation accidentally omitted from recent commit. 2020-01-29 19:38:17 +01:00
Ximon Eighteen 62d7fb9629 FIX: Line accidentally removed from a recent commit. 2020-01-29 19:37:36 +01:00
Ximon Eighteen aef6565691 Verify that child resources are created. 2020-01-29 19:37:20 +01:00
Ximon Eighteen 2026bead6b Allow nested properties to be checked. 2020-01-29 19:36:30 +01:00
Ximon Eighteen 14d5541c57 FIX: also detect empty strings. 2020-01-29 19:36:07 +01:00
Ximon Eighteen c322aa332e Log the number of failed retries when an action with retries fails. 2020-01-29 19:35:35 +01:00
ximon18andGitHub 4cf066a52f Remove explicit service version detection, this is now handled by the framework instead. (#186) 2020-01-22 15:54:58 +01:00
ximon18andGitHub e3f768c56d Move the Krill E2E tests from the rpki-deploy repo to the Krill repo. (#181) 2020-01-22 14:17:15 +01:00
Tim Bruijnzeels 14ed737b4e Let users generate a config file using 'krillc config'. (Fixes: #167) 2020-01-09 16:10:14 +01:00
Tim Bruijnzeels 593bf7a35d Let user specify a repository before adding a parent #160 2019-12-17 16:56:19 +01:00
Tim Bruijnzeels 7aa521d204 Add tests for checking ROA max length values. (fixes: #153) 2019-12-12 15:26:33 -03:00
Tim Bruijnzeels 8442211754 Use rpki-rs branch with resource-set fixes. (#152) 2019-12-12 08:54:17 -03:00
Tim Bruijnzeels 7ecf8d6912 Temporary workaround for ResourceSet::intersection, only works for single parent CAs. (#152) 2019-12-11 20:33:03 -03:00
Tim Bruijnzeels 33feafe807 Use new repo URI on manifests when changing to a new repository. (#150) 2019-12-02 12:05:12 +01:00
Tim Bruijnzeels 28252aa6ba Log RFC 8181 messages received by the repository and their replies. (#143) 2019-11-28 21:04:37 +01:00
Tim Bruijnzeels 93c6cb5b81 Separate repo config and state endpoints. (#141) 2019-11-27 10:53:00 +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 601a667272 Use normalised route authorizations in the API. (Closes #126) 2019-11-13 12:11:13 +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 237c5a3b4e Add publisher to remote (krill) pubd in test. 2019-11-04 16:05:08 +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 6ceec7efbf Add IdCert to Publishers so we can verify RFC8183 messages there. (#107) 2019-10-22 09:31:30 +02:00