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
Tim Bruijnzeels
3101cf9622
Improved variant documentation.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
412a9eab37
Rename 'inner' to 'issued' for clarity.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
ecbac2d19b
Improve clarity of terms.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
b7258e7462
Rename command label for consitency.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
e2bd486d88
Document funtion.
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
eb420f9d02
Clarify suspend directive in example config file. ( #623 )
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
4dc54f3a8c
Automatically suspend inactive child CAs *if* configured to do so. ( #623 )
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
48c6557bd3
Unsuspend child CA when it sends a valid RFC 6492 request. ( #623 )
...
(also make tests more deterministic wrt ca refresh)
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
319f00081a
Add support (and API) for suspending/unsuspending child CAs. ( #623 )
2021-08-30 10:47:28 +02:00
Tim Bruijnzeels
bc24111a51
Update to latest lagosta
2021-08-30 10:24:33 +02:00
Tim Bruijnzeels and GitHub
2301c1645e
Perform RRDP session reset on startup (if repo is initialized) ( #533 ) ( #637 )
2021-08-28 08:46:43 +02:00
Ximon Eighteen and GitHub
7e3cf9982c
Exclude Git repository content that should not be part of the Rust crate when published to crates.io. ( fixes #630 ) ( #640 )
2021-08-18 09:58:12 +02:00
Ximon Eighteen
55a944e255
Temporarily disable the RIPE NCC Validator 3 test until I can work out why it is trying to rsync from an HTTP URI...
2021-08-17 14:52:23 +02:00
Ximon Eighteen
62cadf8e8a
E2E test minor logging improvements: Fix an empty "->" log line in the E2E test and add the API call being made to each of the messages logged during initial Krill setup.
2021-08-17 12:32:49 +02:00
6b9d437d11
Add rsync uri to (new) TALs in testbed setup. ( #624 ) ( #633 )
...
Co-authored-by: Ximon Eighteen <3304436+ximon18@users.noreply.github.com >
2021-08-17 10:43:38 +02:00
Ximon Eighteen
2b81eeaba4
Merge branch 'main' into dev
2021-08-16 17:04:30 +02:00
Ximon Eighteen
19e6b934b5
Merge branch 'main' into dev
2021-08-16 17:03:56 +02:00
Ximon Eighteen and GitHub
2141226c6c
Patch workflow for cargo-generate-rpm issue #21 ( #613 ) ( #617 )
2021-08-16 14:46:28 +02:00
Tim Bruijnzeels and GitHub
29ea7f64ce
Optionally fall back to KRILL_AUTH_TOKEN for docker. ( #632 , #605 )
2021-08-11 11:40:39 +02:00
Tim Bruijnzeels and GitHub
4daf0daea3
Accept insecure certs when submitting protocol CMS ( #628 , #629 )
...
Includes minor code cleanup:
- remove unnecessary async
- do not try to print protocol CMS (not accessible throug CLI and we have logging)
2021-08-10 16:00:52 +02:00
Tim Bruijnzeels and GitHub
37ce99298e
Monitor child CA versions and send version to parent/repo ( #622 , #620 )
2021-08-10 15:45:54 +02:00
Tim Bruijnzeels and GitHub
a189e6867c
Deal with parent errors or not-performed responses to sign requests. ( #499 )
2021-08-04 16:43:42 +02:00
Tim Bruijnzeels
b173c32129
Improve formatting or error reply.
2021-08-04 14:58:26 +02:00
Tim Bruijnzeels and GitHub
25fa398ec7
Mark roas lost resources ( #602 )
2021-08-04 12:51:49 +02:00
Tim Bruijnzeels and GitHub
765b131184
Create ROAs if needed, when keys are activated ( #601 )
2021-08-04 12:06:47 +02:00
Ximon Eighteen and GitHub
47d23f87a7
Permit disabling automatic sending of prompt=login to the OIDC provider ( #616 )
...
Adds a new `prompt_for_login` configuration file setting in the `[auth_openidconnect`]` block (defaults to true for backward compatibility) which can be used to avoid advising the OpenID Connect provider to prompt for login details even if the user has a valid provider login session. Resolves #614 .
2021-08-03 11:20:38 +02:00
Ximon Eighteen
45977aa136
Remove more intercepts and waits that might be blocking the test from progressing.
2021-08-03 10:00:19 +02:00
Ximon Eighteen
fa95116bc5
Comment out problematic waiting for now...
2021-08-03 10:00:16 +02:00
Ximon Eighteen
a2667c2db3
Ignore all unhandled promise rejections
...
Newer Cypress fails tests in more situations than Cypress 6.8.0, but we’re not ready to investigate the root cause yet so just retain the previous behaviour for now.
2021-08-03 09:57:47 +02:00
Ximon Eighteen
8a708c9c72
FIX: Test Rust function name should match the JS test being executed.
2021-08-01 21:48:24 +02:00
Ximon Eighteen
fc5683cefa
FIX: Logout intercept should be POST not GET.
2021-08-01 21:48:18 +02:00
Ximon Eighteen
ffd6c09460
FIX: syntax error in Cypress intercept() call.
2021-08-01 20:33:16 +02:00
Ximon Eighteen
5c3a463e1b
Update intercept calls per Cypress 7 migration guide.
2021-08-01 20:14:45 +02:00
Ximon Eighteen
ba0bb12cc7
Upgrade Cypress from 8.0.0 to 8.1.0.
...
See if any of the fixes help with the hanging UI tests.
2021-08-01 20:14:36 +02:00
Ximon Eighteen
9323ca9dea
Don't complain about missing UI artifacts to upload as this is normal for tests of builds that lack the ui-tests cargo feature.
2021-07-30 22:08:07 +02:00
Ximon Eighteen
f39e8499d1
Set bgp_risdumps_enabled = false in UI integration tests as we don't test this part of the UI and it causes Krill to do more work on already slow GH Actions runner VMs, and tests seem to be locking up with the last message being "Updated announcements based on BGP Ris Dumps".
2021-07-30 21:58:00 +02:00
Ximon Eighteen
ad70e0e05a
Attempt to work around the ESOCKETTIMEDOUT test failure in GH Actions. This change solves the issue in an AWS t2.small VM.
2021-07-30 00:38:39 +02:00
Ximon Eighteen
cc3419074b
FIX: Upgraded Cypress uses an err.message field, not an err.description field. Check the right field to catch the uncaught exception 'Redirected when going from "/onboarding" to "/interstitial" via a navigation guard' caused during the 'can logout' test in the multi_user_config_file test.
2021-07-29 20:43:55 +02:00
Ximon Eighteen
fb33669664
Prevent Cypress failing the can logout test due to an uncaught "Redirected when going from "/onboarding" to "/interstitial" via a navigation guard." exception in Lagosta.
2021-07-29 17:20:30 +02:00
Ximon Eighteen and GitHub
f504d00a84
FIX: Don't assume err.description is non-null as since the ugprade from Cypress 6.8.0 to 8.0.0 sometimes it isn't.
2021-07-29 17:01:51 +02:00
Ximon Eighteen and GitHub
4d5c6c5147
Bump Cypress to latest (6,8.0 -> 8.0.0) as advised in https://github.com/cypress-io/cypress/issues/7062 "cy.visit() failed trying to load ESOCKETTIMEDOUT".
2021-07-29 16:21:23 +02:00
Ximon Eighteen and GitHub
5f913be94a
Fix incorrect conditional Cypress test logic.
2021-07-29 15:02:49 +02:00
Ximon Eighteen
cc94c6a658
Silence spurious unused code warnings concerning the OpenID Connect mock.
2021-07-29 11:40:11 +02:00
Ximon Eighteen
8aed66bfde
Document more details on how the token and user details are passed back to Lagosta post OpenID Connect login.
2021-07-28 11:29:00 +02:00
Ximon Eighteen
f508608cb3
Minor improvements to the login flow multi-user developer doc.
2021-07-28 11:15:42 +02:00
Ximon Eighteen
cdcd926082
Use the PlantUML Online service to render the diagrams as GitHub doesn't support plantuml syntax rendering.
2021-07-27 16:56:58 +02:00
Ximon Eighteen
07def92bda
Initial atttempt at documenting the multi-user login flows from a developer perspective.
2021-07-27 16:54:52 +02:00