Tim Bruijnzeels
f854c6a71f
Update version in changelog for 0.9.2-RC2 release
v0.9.2-rc2
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
56f46fbc01
Simplify map+flatten to use filter instead.
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
82f217b888
Do not allow 0 (or negative) hours for suspend_child_after_inactive_hours
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
653c5cfc73
Wait after (re)start before suspending children ( #665 )
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
ebb90e09fa
Fix comment.
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
8f208eec06
Also suspend children with no known last connection #664
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
d2301ea4fe
Update version for development.
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
730cbe344a
Synchronize CaStatus and CAs on startup ( #662 )
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
5685873512
When a CA is removed, remove it from CaStatus as well ( #661 )
2021-09-16 14:33:45 +02:00
Tim Bruijnzeels
89956e6b47
Fix (inverse logic) krill_ca_child_state metric.
2021-09-16 14:33:45 +02:00
Ximon Eighteen and GitHub
38a7f34d43
Publish Docker images ourselves as Docker Hub autobuilds are too unreliable.
2021-09-16 14:13:46 +02:00
Tim Bruijnzeels and GitHub
15b0a6f454
Merge pull request #660 from NLnetLabs/dev
...
Release 0.9.2-rc1
v0.9.2-rc1
2021-09-14 13:26:55 +02:00
Tim Bruijnzeels
934501e495
Update changelog for 0.9.2-rc1 release.
2021-09-13 16:39:53 +02:00
Tim Bruijnzeels
15b282db98
Update version for release candidate 0.9.2-rc1.
2021-09-13 15:28:32 +02:00
Tim Bruijnzeels
cadaeacbab
Typo in ci.yml
2021-09-13 15:17:12 +02:00
Tim Bruijnzeels
d47b20c920
Disable ui-tests in GHA for now. ( #659 )
2021-09-13 15:15:54 +02:00
Tim Bruijnzeels and GitHub
5f4189c6eb
Reorganise use statements ( #647 )
2021-09-13 14:01:40 +02:00
Tim Bruijnzeels
00b97e7377
Remove copied comment.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
cc844c712c
Remove redundant clippy allow.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
72df8caac4
Fix typo.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
3cc9547e1e
Hide ca-child metrics if there are no CAs with children.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
4eae590e99
Keep child state (active/pending) in status and show in CLI and metrics. ( #656 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
5ff136b6fb
Show suspended/active state for child CAs. ( #656 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
5d5728dc68
Improve help text in default config.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
80a7885382
Document metrics and disabling them in default config file. ( #654 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
3d0df004ba
Reorganise metrics and allow disabling details. ( #654 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
3cb3cec512
Use pub Arc<Comfig> in KrillServer for easier access to configuration. ( #654 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
6c30c0e24d
Postpone cloning CaStatus bits as long as possible. ( #655 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
dd02a89b8a
Use cache for CaStatus. ( #655 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
656f45518b
Change 'repo' to 'ps' in metric - i.e. use 'Publication Server' rather than repo.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
1ebe63e4bc
Clarify next planned connection for publication.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
9eaa921720
Consistent capitalisation of CA in metrics help.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
c92dd1869c
Clarify unix timestamp in metrics
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
d39d38dd32
Use explicit Timestamp type.
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
7e4467f87a
Monitor ca to publication server connections with prometheus. ( #650 ) ( #652 )
...
* Monitor ca to publication server connections with prometheus. (#650 )
* Monitor child cas (#653 )
* Move BGP announcement metrics into its own scoped section.
* Add comments for metrics
* Monitor child connections using prometheus (#651 )
* Fix help text for metric
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
56dca5e864
Monitor ca-parent connections with prometheus. ( #648 )
2021-09-13 13:32:22 +02:00
Tim Bruijnzeels
9c90073db1
cargo update
2021-09-13 13:23:24 +02:00
27fd25dcb2
Use async reqwest for openid connect checks ( #645 )
...
PR #646
* cargo update
* Use an enum instead of a trait (prepare to allow async)
* Use async reqwest client for openid connect checks.
* Move extract bearer token function to util::httpclient.
Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com >
2021-09-06 13:38:17 +02:00
Tim Bruijnzeels
1dfffed3ff
Update to latest rpki-rs.
2021-08-30 13:25:50 +02:00
Tim Bruijnzeels
055b817881
Cargo clippy - rust 1.54
2021-08-30 13:13:20 +02:00
Tim Bruijnzeels
8584efe429
Cargo fmt - rust 1.54
2021-08-30 11:31:35 +02:00
Ximon Eighteen and GitHub
d59ffc39f4
Remove errant file.
2021-08-30 11:11:11 +02:00
Tim Bruijnzeels and GitHub
12d802a9fc
Add unguessable subdir to RRDP snapshot and delta paths. ( #515 ) ( #641 )
2021-08-30 10:48:08 +02:00
Tim Bruijnzeels
6953fe917f
Use explicit functions for 'suspend' and 'unsuspend' rather than a boolean.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
5c90624ffd
Restrict ca_refresh_seconds to 10-60 minutes.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
4c554fb78f
Change ca_refresh in config to ca_refresh_seconds to be explicit.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
925020f7d6
Formatting
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
8bbd5c2e78
Remove calls to refresh_all in test
...
This is done in the expectation check now.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
40c06a4f9e
Remove a child from the child stats when it is removed from the parent ca.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
8c9da393c4
Track 'unsuspended' in its own field for ChildCertificateUpdates.
2021-08-30 10:47:28 +02:00