Commit 99904fc
Feature/kc 26 (#1369)
* changes to get docker compose to launch cleanly
* fix group issue by upgrading admin client
* fix group issue by upgrading admin client
* refactor keycloak admin client
* try to build with openssl legacy provider
* try to build with openssl legacy provider
* upd all build steps with ssl flag
* fix dockerfile
* fix cypress
* add some output to cypress automation logs
* upd cypress log
* use nightly keycloak and use 2 isntances in docker compose
* use kc-upgrade gwa for cypress e2e
* add data plane info as gwa needs for upstream validation check
* fix group mgmt
* Test api-key plugin with kong 3.9.0
* fix for kong-spec-expose and kong-upstream-jwt
* remove commented out cypress tests
* use our latest Kong 3 docker image
* upgrade gwa-api version in e2e tests workflow
* Fix expected error response for IP restriction
* update gwa-cli to 3.0.6 for e2e
* provide DECK_CLI env var, eliminate docker compose warnings
* replace test host httpbin.org with httpbun.com
* accept 97 to 99
* correct name of template
* Retry if product/dataset fails to publish
* exclude `gwa status` from e2e tests
* Expect 200 when using allowed methods (POST/PUT)
* add retry for `gwa apply` for two-tiered
* Only enable code coverage in CI (GitHub Actions)
* remove it.onlys - oops
* Clear redis rate limit key before new rate limiting test
* move clear redis timing
* upgrade local postgres to 12.8 > 15
* bump actions/cache v2 > v4
* use postgres 14 in e2e
* Changes to get docker compose to run (with authz issues)
* use updated gwa-api, only run cypress tests 01 and 02
* update cypress logout action
* fixes for updated keycloak ui
* fix expected state for scope not found
* run all tests
* test 01 02
* run all tests
* update node version in nvmrc and ci-feat-sonar GHA
* fix decision strategy for default permission
* fix and cleanup keycloak tests
* more test fixes
* bump postgres to 14 in docker compose
* parameterize in docker compose
* set rate limit to 1 for expected one successful call
* add wait before Kong requests after updating auth plugin
* remove echo from local kong dockerfile
* merge consecutive RUN calls
* add Namespace.View on Namespace creation
* Add explicit pagination for Keycloak group retrieval with max 1000
* Update Jest setup with polyfills for Web APIs and updated mocks for Keycloak. Refactor error handling in BatchService.
* adjust depenencies
* fix UMA permission assertion
* remove Namespace.View (return to previous state)
* update SonarCloud Scan action
* remove project from sonar arg
* add api-services-portal project
* restore sonar
* upgrade keycloak-connect
* Replacing local keycloak-admin-client package with official @keycloak/keycloak-admin-client.
* stop copying keycloak-admin-client in dockerfiles
* fix sonar scan action
* code cleanup: use find instead of filter
* code cleanup: remove await on non-promise
* Add test to verify authorization scope enforcement (for ds/api)
* Add ForbiddenError class and update authorization handling to use it for permission denials
* cypress: update expected response code
* cypress: disable documentation tests
* restore cypress to v13
* cypress: add necessary role for Janis for activity tests
* cypress: fix error message
* Cypress: add permissions for Janis in client cred ns
* cypress: force click
* enable keycloak metrics and health
* Cypress: add missing fixture
* cypress: update expected error code to 401 for service account disabled
* cypress: visit admin access page
* Optimize calls to Keycloak
* Fix test for keycloak optimization
* kc26 logout fix
* fix Missing parameters: id_token_hint when logging out
* fix2: Missing parameters: id_token_hint when logging out
* remove backend_logout_url
* Fix redirect to home page, fix signout page typo
* Portal attempt fix to redirect to /signout
* Remove comment that's no longer applicable
* use latest cli
* better handle errors for getOrganization + getOrganizationUnit
* guard gql error if org-unit is null
* fix logout assertion
* Few more merge conflicts, couple remaining
* Another merge conflict, just package-lock remaining
* fix merge conflict package-lock.json, yarn.lock update
* Add skipLibCheck. This is a standard way to avoid dependency type-definition issues and is recommended when using older TypeScript with newer @types packages.
* Fix portal build
* Fix portal build 2
* Fix portal build 3
* Fix portal build 4
* Fix portal build 5
* Fix portal build 6
* Fix portal build 7
* Upgrade babel/core
* Fix sonar tests
* Fix last remaining test
* Fix last remaining test 2
* Fix scope loading issue with cypress
* Fix for 14/04 cypress tests
* accept Namespace.Manage or View for /activity endpoints
* use gwa-api `dev` branch for e2e
* kc bump + minor tweaks
---------
Co-authored-by: James Elson <james.elson@gov.bc.ca>
Co-authored-by: Russell Vinegar <russell.vinegar@gov.bc.ca>1 parent b8895df commit 99904fc
File tree
95 files changed
+32545
-53909
lines changed- .github/workflows
- e2e
- cypress
- fixtures
- pageObjects
- support
- tests
- 02-client-credential-flow
- 08-client-role
- 09-update-product-env
- 10-clear-resources
- 12-access-permission
- 14-org-assignment
- 15-aps-api
- local
- db
- feeder-init
- gwa-api
- keycloak
- kong
- oauth2-proxy
- src
- auth
- batch
- controllers
- v2
- v3
- nextapp
- components
- forms
- radio-card-group
- pages
- services
- keycloak
- keystone
- org-groups
- test
- integrated
- keycloak
- org-groups
- mocks/handlers
- data
- services
- batch
- uma2
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
95 files changed
+32545
-53909
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
2 | 1 | | |
3 | 2 | | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
318 | 318 | | |
319 | 319 | | |
320 | 320 | | |
| 321 | + | |
| 322 | + | |
| 323 | + | |
321 | 324 | | |
322 | 325 | | |
323 | 326 | | |
| |||
394 | 397 | | |
395 | 398 | | |
396 | 399 | | |
| 400 | + | |
| 401 | + | |
397 | 402 | | |
398 | 403 | | |
399 | 404 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | | - | |
| 49 | + | |
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
52 | 58 | | |
53 | 59 | | |
54 | 60 | | |
| 61 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
20 | 28 | | |
21 | 29 | | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
30 | 45 | | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | 46 | | |
42 | | - | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
43 | 51 | | |
44 | 52 | | |
45 | 53 | | |
46 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
47 | 60 | | |
48 | 61 | | |
49 | 62 | | |
| |||
62 | 75 | | |
63 | 76 | | |
64 | 77 | | |
65 | | - | |
| 78 | + | |
66 | 79 | | |
67 | 80 | | |
68 | 81 | | |
| |||
198 | 211 | | |
199 | 212 | | |
200 | 213 | | |
201 | | - | |
| 214 | + | |
202 | 215 | | |
203 | 216 | | |
204 | 217 | | |
| |||
0 commit comments