Commit Graph
90 Commits
Author SHA1 Message Date
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
Tim Bruijnzeels 718e40fd60 Remove unused struct from use. 2019-10-17 15:56:39 +02:00
Tim Bruijnzeels 077d0fda66 Removing tokens for CAs and publishers. Closes: #100 2019-10-14 16:12:13 +02:00
Tim Bruijnzeels 1e3a4a0236 Remove API client for syncing a dir to a Krill API publication server. Closes: #102. 2019-10-11 17:17:53 +02:00
Tim Bruijnzeels f1d3820ff6 Depend on rpki-rs branch with fix for IPv6 ROAs (#88) 2019-10-11 10:23:26 +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 7fad4f8f2d Fix Handle allowed chars, map safely to filesystem, and use where applicable. 2019-09-27 11:11:25 +02:00
Tim Bruijnzeels 1d232e2659 Stop using work space. 2019-09-12 21:46:46 -07:00
Tim Bruijnzeels 0bbfebfbb6 Use workspaces in project. 2019-04-11 16:36:33 +02:00
Tim Bruijnzeels 5e00fd99cb Clean-up 2019-04-09 17:15:33 +02:00
Tim Bruijnzeels c70021b33f Proxy CMS delta requests 2019-04-08 16:45:26 +02:00
Tim Bruijnzeels 812f6cc4f4 Proxy CMS list request client side and server side. 2019-04-08 16:10:12 +02:00
Tim Bruijnzeels 1f38e6f734 Test CMS client similarly to running it from the command line. 2019-04-08 12:45:05 +02:00
Tim Bruijnzeels c661b2bc4d Support returning the RFC8181 repository response from server, and process it on the cms client 2019-04-08 10:04:08 +02:00
Tim Bruijnzeels b874e36c88 Support adding an RFC8181 client 2019-04-05 17:27:49 +02:00
Tim Bruijnzeels f7005d2490 Support listing RFC8181 clients 2019-04-05 15:02:54 +02:00
Tim Bruijnzeels 63a76dc370 Moving publisher API definitions to krill-commons, and use updated module names. 2019-03-13 15:26:36 +01:00
Tim Bruijnzeels a1e7b0c69f Taking out all of the CMS Proxy code. This will be moved into a separate project. Fixes issue: #34 2019-03-12 15:38:10 +01:00
Tim Bruijnzeels 8b4db0bfcb Re-architecting the application to use event sourcing (fixes: #35) 2019-02-15 15:24:50 +01:00
Tim Bruijnzeels 5bca26c8f7 Fixing clippy warnings. Just a few ;) 2019-02-06 16:04:31 +01:00
Tim Bruijnzeels afb9ba69f3 Re-organising api data module names in prep of also moving RRDP data definitions here (which will help with integration testing) 2019-01-29 14:03:15 +01:00
Tim Bruijnzeels 0eeda206b9 Support output formats for krillc (api). Also fix bugs in verification of adding new publishers. 2019-01-28 15:04:37 +01:00
Tim Bruijnzeels 292cf1cb00 Let publication API client sync at server. Also ensure that calls are authorized. 2019-01-25 16:51:15 +01:00
Tim Bruijnzeels 74709d0c5e Update the RFC8181 code to re-use the API implementations for the messages. I.e. just deal with XML here, and ErrorPdus. 2019-01-25 14:51:20 +01:00
Tim Bruijnzeels 252580a3ca Moving all the http client stuff into crate::util::httpclient, and make it a bit smarter especially w.r.t. json handling. 2019-01-24 17:26:25 +01: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