-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make management.oauth_client_secret optional
Also: -Javascript formatting improvements -Clean up some necessary code and files -Improve scripts that runs selenium tests -Add selenium test that verifies oauth authentication against keycloak
- Loading branch information
1 parent
f4a7d2f
commit eacdf8f
Showing
26 changed files
with
265 additions
and
75 deletions.
There are no files selected for viewing
This file contains 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 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 |
---|---|---|
|
@@ -33,3 +33,5 @@ selenium/screens/*/* | |
selenium/logs | ||
selenium/suites/logs/* | ||
selenium/suites/screens/* | ||
h2/*.trace.db | ||
h2/*.lock.db |
This file contains 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 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 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 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
31 changes: 31 additions & 0 deletions
31
deps/rabbitmq_management/selenium/suites/oauth-with-keycloak.sh
This file contains 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 |
---|---|---|
@@ -0,0 +1,31 @@ | ||
#!/usr/bin/env bash | ||
|
||
SCRIPT="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" | ||
|
||
# Name of the suite used to generate log and screen folders | ||
SUITE=$( basename "${BASH_SOURCE[0]}" .sh) | ||
|
||
# Path to the test cases this suite should run. It is relative to the selenium/test folder | ||
TEST_CASES_PATH=/oauth/with-uaa | ||
# Path to the folder where all configuration file reside. It is relative to the selenim/test folder | ||
TEST_CONFIG_PATH=/oauth | ||
# Path to the uaa configuration. It is relative to the TEST_CONFIG_PATH | ||
KEYCLOAK_CONFIG_PATH=/keycloak | ||
# Name of the rabbitmq config file. It is relative to the TEST_CONFIG_PATH | ||
RABBITMQ_CONFIG_FILENAME=rabbitmq-with-keycloak.config | ||
|
||
source $SCRIPT/suite_template | ||
|
||
_setup () { | ||
start_keycloak | ||
start_rabbitmq | ||
} | ||
_save_logs() { | ||
save_container_logs rabbitmq | ||
save_container_logs keycloak | ||
} | ||
_teardown() { | ||
kill_container_if_exist rabbitmq | ||
kill_container_if_exist keycloak | ||
} | ||
run |
This file contains 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 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.