Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[management] Add integration test for the setup-keys API endpoints #2936

Open
wants to merge 41 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
41 commits
Select commit Hold shift + click to select a range
832e168
refactor jwtValidator and geo db to interfaces + first component test…
pascal-fischer Nov 22, 2024
72157b5
unexport event store and add peerUpdateManager
pascal-fischer Nov 22, 2024
bc6428c
wait if network map update is received and allow validating network m…
pascal-fischer Nov 22, 2024
0928382
add testdata
pascal-fischer Nov 22, 2024
5485b68
add more key creation tests
pascal-fischer Nov 22, 2024
bcec9b4
Merge branch 'refs/heads/main' into test/add-api-component-test
pascal-fischer Nov 22, 2024
b3f0959
add all setup keys tests
pascal-fischer Nov 22, 2024
dcbadd4
fix linter
pascal-fischer Nov 22, 2024
f2280ed
unexport impl structs
pascal-fischer Nov 22, 2024
426b38a
unexport impl structs
pascal-fischer Nov 22, 2024
63b000c
add different users
pascal-fischer Nov 25, 2024
4a1b179
rename geo mock
pascal-fischer Nov 25, 2024
ada2dd5
add benchmark tests for setup keys
pascal-fischer Nov 28, 2024
dfc429d
remove build tags
pascal-fischer Nov 28, 2024
7c3e4a1
fix get test expectation
pascal-fischer Nov 28, 2024
1e0ce80
fix error handling in metrics dummy
pascal-fischer Nov 28, 2024
e4bdb1e
fix time location
pascal-fischer Nov 28, 2024
0149e75
fix time location
pascal-fischer Nov 28, 2024
f389150
fix time location
pascal-fischer Nov 28, 2024
e47c9ed
Merge branch 'main' into test/add-api-component-test
pascal-fischer Nov 29, 2024
95be512
update expected benchmark timings
pascal-fischer Nov 29, 2024
74853be
Merge branch 'main' into test/add-api-component-test
pascal-fischer Nov 29, 2024
83d2af3
update expected benchmark timings
pascal-fischer Nov 29, 2024
49037a7
update expected benchmark timings
pascal-fischer Nov 29, 2024
a931fd7
update expected benchmark timings
pascal-fischer Nov 29, 2024
9c783e5
update expected benchmark timings
pascal-fischer Nov 29, 2024
06d18c0
add additional cases for other resources with high counts
pascal-fischer Nov 29, 2024
39f8eb7
update expected benchmark timings
pascal-fischer Nov 29, 2024
6e2471d
update expected benchmark timings
pascal-fischer Nov 29, 2024
0abb8ef
mark helper
pascal-fischer Nov 29, 2024
c6f12be
update expected benchmark timings
pascal-fischer Nov 29, 2024
65c99ee
update expected benchmark timings
pascal-fischer Nov 29, 2024
2dfe7ca
add dummy keys to delete
pascal-fischer Nov 29, 2024
430092c
fix operation
pascal-fischer Nov 29, 2024
ccff4b4
fix create test group
pascal-fischer Nov 29, 2024
798bddd
update expected benchmark timings
pascal-fischer Dec 1, 2024
86a9bc7
update expected benchmark timings
pascal-fischer Dec 1, 2024
b338429
update expected benchmark timings
pascal-fischer Dec 1, 2024
384bf51
update expected benchmark timings
pascal-fischer Dec 1, 2024
437d3da
update expected benchmark timings
pascal-fischer Dec 2, 2024
bb4696f
update expected benchmark timings
pascal-fischer Dec 2, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
add different users
  • Loading branch information
pascal-fischer committed Nov 25, 2024
commit 63b000c3b70f33396eea7f294a03bf6a8d85770d
2 changes: 1 addition & 1 deletion management/server/http/posture_checks_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ func initPostureChecksTestData(postureChecks ...*posture.Checks) *PostureChecksH
return claims.AccountId, claims.UserId, nil
},
},
geolocationManager: &geolocation.geolocationImpl{},
geolocationManager: &geolocation.GeolocationMock{},
claimsExtractor: jwtclaims.NewClaimsExtractor(
jwtclaims.WithFromRequestContext(func(r *http.Request) jwtclaims.AuthorizationClaims {
return jwtclaims.AuthorizationClaims{
Expand Down
Loading
Loading