-
Notifications
You must be signed in to change notification settings - Fork 8
Feature/kc 26 #1369
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
Merged
Merged
Feature/kc 26 #1369
Changes from 114 commits
Commits
Show all changes
124 commits
Select commit
Hold shift + click to select a range
f382fc9
changes to get docker compose to launch cleanly
ikethecoder 12c86c0
fix group issue by upgrading admin client
ikethecoder 44e29a4
fix group issue by upgrading admin client
ikethecoder 850e0fa
refactor keycloak admin client
ikethecoder 8d0e77c
try to build with openssl legacy provider
ikethecoder afd5b74
try to build with openssl legacy provider
ikethecoder eebd7c1
upd all build steps with ssl flag
ikethecoder abe24cc
fix dockerfile
ikethecoder 1dbd99e
fix cypress
ikethecoder 00af7ce
add some output to cypress automation logs
ikethecoder 3a4d590
upd cypress log
ikethecoder f8320fe
use nightly keycloak and use 2 isntances in docker compose
ikethecoder d3ff9b0
use kc-upgrade gwa for cypress e2e
ikethecoder 5dae9ab
add data plane info as gwa needs for upstream validation check
ikethecoder da49add
fix group mgmt
ikethecoder 03be8db
Test api-key plugin with kong 3.9.0
Elson9 45ef5dc
fix for kong-spec-expose and kong-upstream-jwt
Elson9 306a791
remove commented out cypress tests
Elson9 0e3cf81
use our latest Kong 3 docker image
rustyjux bc6f7e7
upgrade gwa-api version in e2e tests workflow
rustyjux b775320
Fix expected error response for IP restriction
rustyjux 905c4fb
update gwa-cli to 3.0.6 for e2e
rustyjux a867036
provide DECK_CLI env var, eliminate docker compose warnings
rustyjux 1732945
replace test host httpbin.org with httpbun.com
rustyjux a6634f9
accept 97 to 99
rustyjux cfa6051
correct name of template
rustyjux b8ee779
Retry if product/dataset fails to publish
rustyjux 8b84d54
exclude `gwa status` from e2e tests
rustyjux 1dc4036
Expect 200 when using allowed methods (POST/PUT)
rustyjux cad4b3b
add retry for `gwa apply` for two-tiered
rustyjux 9873b39
Only enable code coverage in CI (GitHub Actions)
rustyjux a1fec0e
remove it.onlys - oops
rustyjux ffcd34e
Clear redis rate limit key before new rate limiting test
rustyjux 84a8598
move clear redis timing
rustyjux e59d812
upgrade local postgres to 12.8 > 15
rustyjux 6042f6f
bump actions/cache v2 > v4
rustyjux 0c38d2d
use postgres 14 in e2e
rustyjux 54468e6
Changes to get docker compose to run (with authz issues)
rustyjux be32ec4
Merge remote-tracking branch 'origin/feature/kc-upgrade' into feature…
rustyjux 0115b3b
use updated gwa-api, only run cypress tests 01 and 02
rustyjux 7357a31
update cypress logout action
rustyjux 706a8ff
fixes for updated keycloak ui
rustyjux 0dd5bec
fix expected state for scope not found
rustyjux 81336cb
run all tests
rustyjux ffc00a1
test 01 02
rustyjux 28b5e84
run all tests
rustyjux 4a59668
update node version in nvmrc and ci-feat-sonar GHA
rustyjux 4e0957b
fix decision strategy for default permission
rustyjux 915f0a5
fix and cleanup keycloak tests
rustyjux aa4078a
more test fixes
rustyjux fae9366
bump postgres to 14 in docker compose
rustyjux 1c6215a
parameterize in docker compose
rustyjux b088151
set rate limit to 1 for expected one successful call
rustyjux 020ed9c
add wait before Kong requests after updating auth plugin
rustyjux 44e21dd
remove echo from local kong dockerfile
rustyjux ecbe36b
Merge branch 'cypress/kong3' into feature/kc-26
rustyjux 8f40177
merge consecutive RUN calls
rustyjux 26709a9
Merge branch 'cypress/kong3' into feature/kc-26
rustyjux 00ca8bc
add Namespace.View on Namespace creation
rustyjux fd1b4a8
Add explicit pagination for Keycloak group retrieval with max 1000
rustyjux 969fac7
Update Jest setup with polyfills for Web APIs and updated mocks for K…
rustyjux 84e3ef7
adjust depenencies
rustyjux 92b3795
fix UMA permission assertion
rustyjux ec6e665
remove Namespace.View (return to previous state)
rustyjux 6cc9242
update SonarCloud Scan action
rustyjux c9a5ef2
remove project from sonar arg
rustyjux 19b47bf
add api-services-portal project
rustyjux 5126f93
restore sonar
rustyjux 68861a3
upgrade keycloak-connect
rustyjux ef417f0
Replacing local keycloak-admin-client package with official @keycloak…
rustyjux ee849f9
stop copying keycloak-admin-client in dockerfiles
rustyjux dd6c22c
fix sonar scan action
rustyjux a44306f
code cleanup: use find instead of filter
rustyjux 1535a72
code cleanup: remove await on non-promise
rustyjux f5ff931
Add test to verify authorization scope enforcement (for ds/api)
rustyjux cbd7eb9
Merge branch 'cypress/kong3' into feature/kc-26
rustyjux 2e833e0
Add ForbiddenError class and update authorization handling to use it …
rustyjux 68ae45a
cypress: update expected response code
rustyjux c7b7ad8
cypress: disable documentation tests
rustyjux e3dec96
restore cypress to v13
rustyjux 52ecd7f
Merge branch 'cypress/kong3' into feature/kc-26
rustyjux f8e656f
cypress: add necessary role for Janis for activity tests
rustyjux 0dc7744
cypress: fix error message
rustyjux 973a669
Cypress: add permissions for Janis in client cred ns
rustyjux 33d433b
cypress: force click
rustyjux 848dc5c
enable keycloak metrics and health
rustyjux 3909ec9
Cypress: add missing fixture
rustyjux 877b7e6
cypress: update expected error code to 401 for service account disabled
rustyjux d129061
cypress: visit admin access page
rustyjux 72a8b07
Optimize calls to Keycloak
Elson9 546d40c
Fix test for keycloak optimization
Elson9 12cbb3b
kc26 logout fix
Elson9 8a75a7c
fix Missing parameters: id_token_hint when logging out
Elson9 ee6d686
fix2: Missing parameters: id_token_hint when logging out
Elson9 1b5f97c
remove backend_logout_url
Elson9 2e33a8f
Fix redirect to home page, fix signout page typo
Elson9 36f5bf1
Portal attempt fix to redirect to /signout
Elson9 ec73399
Remove comment that's no longer applicable
Elson9 6bf88f2
use latest cli
rustyjux 4da8817
better handle errors for getOrganization + getOrganizationUnit
rustyjux 76ce9f2
guard gql error if org-unit is null
rustyjux 23d8050
fix logout assertion
rustyjux 3a8070b
Fix merge conflicts from dev
Elson9 bc1d92e
Merge branch 'feature/kc-26' of https://github.com/bcgov/api-services…
Elson9 ffa26ef
Few more merge conflicts, couple remaining
Elson9 ceb32a6
Another merge conflict, just package-lock remaining
Elson9 f631ba2
fix merge conflict package-lock.json, yarn.lock update
Elson9 644ae81
Add skipLibCheck. This is a standard way to avoid dependency type-def…
Elson9 372d8db
Fix portal build
Elson9 a9d556e
Fix portal build 2
Elson9 64f5d00
Fix portal build 3
Elson9 59fdd6d
Fix portal build 4
Elson9 3607444
Fix portal build 5
Elson9 353eaf6
Fix portal build 6
Elson9 a4a3b0e
Fix portal build 7
Elson9 899b364
Upgrade babel/core
Elson9 c25211a
Fix sonar tests
Elson9 982c9bb
Fix last remaining test
Elson9 a39144e
Fix last remaining test 2
Elson9 4f4cd71
Fix scope loading issue with cypress
Elson9 8f04b9e
Fix for 14/04 cypress tests
Elson9 09fd413
accept Namespace.Manage or View for /activity endpoints
rustyjux 2c6b6d4
use gwa-api `dev` branch for e2e
rustyjux aff23a4
kc bump + minor tweaks
Elson9 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,9 +1,10 @@ | ||
| src/node_modules | ||
| src/.npm | ||
| src/_tmp | ||
| src/.cache | ||
| src/.config | ||
| src/.nyc_output | ||
| src/dist | ||
| **/.next | ||
| _data | ||
| _data | ||
| **/node_modules | ||
| __coverage__ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| v16.15.1 | ||
| v22.21.1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,17 +1,8 @@ | ||
| class KeycloakUserGroupPage { | ||
| path: string = '/' | ||
|
|
||
| editButton: string = '[id="editGroup"]' | ||
| groupTab: string = '[data-ng-controller="GroupTabCtrl"]' | ||
| attributeTab: string = '[data-testid="attributesTab"]' | ||
|
|
||
| selectTab(tabName: string){ | ||
| cy.get(this.groupTab).contains('a',tabName).click() | ||
| } | ||
|
|
||
| clickOnEditButton() | ||
| { | ||
| cy.get(this.editButton).click() | ||
| } | ||
| } | ||
|
|
||
| export default KeycloakUserGroupPage |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.