Stian Thorgersen
59acbb8f67
Remove need to implement getAnnotationClass and getValueType in suppliers ( #37296 )
...
Signed-off-by: stianst <stianst@gmail.com>
2025-02-13 15:02:26 +01:00
vramik
679f44692d
Add Groups resource type and scopes to authorization schema and evaluation implementation
...
Closes #35562
Signed-off-by: vramik <vramik@redhat.com>
2025-02-12 10:07:09 -03:00
Šimon Vacek
f5470716fe
Migrate EventConfigTest to the new testsuite ( #37092 )
...
* Move EventConfigTest.java to the new testsuite
Signed-off-by: Simon Vacek <simonvacky@email.cz>
* Move EventConfigTest.java to the new testsuite
Part of: #34494
Signed-off-by: Simon Vacek <simonvacky@email.cz>
---------
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2025-02-12 07:20:53 +01:00
Stian Thorgersen
b8c1cd410f
Support for running code on the server for tests ( #37210 )
...
Closes #34190
Signed-off-by: stianst <stianst@gmail.com>
2025-02-11 14:08:02 +01:00
Stian Thorgersen
b7b84d75d1
Add factory to create custom admin clients ( #37125 )
...
Closes #36608
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: Simon Vacek <simonvacky@email.cz>
2025-02-10 12:51:56 +01:00
Stian Thorgersen
19cabe8238
Migrate tests from org/keycloak/tests/admin/authentication to new framework ( #37003 )
...
* Migrate tests from org/keycloak/tests/admin/authentication to new framework
Part of #34494
Signed-off-by: stianst <stianst@gmail.com>
* Update tests/MIGRATING_TESTS.md
Signed-off-by: Stian Thorgersen <stian@redhat.com>
---------
Signed-off-by: stianst <stianst@gmail.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
2025-02-06 10:24:50 +01:00
Pedro Ruivo
beb20dc425
Add default configuration for cache 'crl'
...
Fixes #36752
Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Signed-off-by: Pedro Ruivo <pruivo@users.noreply.github.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2025-02-03 09:53:31 +01:00
Šimon Vacek
d522fd265d
Rename .env-test to .env.test ( #36975 )
...
Closes : #36974
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2025-02-03 07:41:56 +01:00
Stian Thorgersen
c188a6c1d9
Add config options for suppliers and option to enable debugging for server dist ( #36912 )
...
Closes #31141 , closes #36775
Signed-off-by: stianst <stianst@gmail.com>
2025-01-29 14:25:50 +01:00
Stian Thorgersen
5b93c3c3ce
Add assertions util for admin events ( #36778 )
...
Closes #36685
Signed-off-by: stianst <stianst@gmail.com>
2025-01-28 12:40:16 +01:00
Stian Thorgersen
8e072e91f2
Add support for .env-test file in new test framework ( #36857 )
...
Closes #36839
Signed-off-by: stianst <stianst@gmail.com>
2025-01-28 10:09:24 +01:00
Václav Muzikář
aff423c7e9
Upgrade to Quarkus 3.17.8 ( #36758 )
...
Closes #36757
Closes #33475
Closes #34454
Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2025-01-27 18:20:05 +01:00
Miquel Simon
2dbf58dc46
Add JDK suite to the new testing framework and run it as part of the Java Distribution IT ( #36638 )
...
Closes #35388
Signed-off-by: Miquel Simon <msimonma@redhat.com>
2025-01-24 10:08:11 +01:00
Stian Thorgersen
ec2c701a80
Refactor events to use event store instead of syslog ( #36684 )
...
Closes #35091
Signed-off-by: stianst <stianst@gmail.com>
2025-01-23 07:40:49 +01:00
Stian Thorgersen
99e2f1df94
Replace createRealm/createClient and invalid use of ref with attachTo ( #36640 )
...
Closes #35995
Signed-off-by: stianst <stianst@gmail.com>
2025-01-21 14:05:14 +01:00
Stian Thorgersen
14cf2233c5
Always reset timeoffset in new timeframework ( #36612 )
...
Closes #36611
Signed-off-by: stianst <stianst@gmail.com>
2025-01-21 10:36:54 +01:00
vramik
8b5ebe98d8
[FGAP] Design AdminPermissionEvaluator implementation for FGAP v2
...
Closes #34921
Signed-off-by: vramik <vramik@redhat.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-01-15 16:05:14 -03:00
Stian Thorgersen
388fa5a3eb
Rename org.keycloak.test groupId to org.keycloak.testframework for new test framework artifacts ( #36443 )
...
Closes #36431
Signed-off-by: stianst <stianst@gmail.com>
2025-01-14 14:32:03 +01:00
Stian Thorgersen
2d913e5186
Rename org.keycloak.test.framework package to org.keycloak.testframework ( #36390 )
...
Closes #36388
Signed-off-by: stianst <stianst@gmail.com>
2025-01-14 10:04:41 +01:00
Alexander Schwartz
e760121956
Avoid using docker hub for pulling images ( #36334 )
...
Closes #36331
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2025-01-10 13:01:44 +01:00
vramik
0a632fdefa
[FGAP] Add adminPermissionClientCheck to authorization services REST endpoints
...
Closes #35945
Signed-off-by: vramik <vramik@redhat.com>
2025-01-10 08:56:48 -03:00
Michal Hajas
3839f8e3b5
Add metric for password validations ( #36049 )
...
Closes #36048
Signed-off-by: Michal Hajas <mhajas@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2025-01-07 10:05:47 +01:00
Pedro Igor
93c1740538
Support for initial CRUD operations when managing admin permissions
...
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Closes #35987
2024-12-18 07:43:13 -03:00
Stian Thorgersen
d3b759b56f
Support injecting admin client configured from managed realm ( #35693 )
...
Closes #35501
Signed-off-by: stianst <stianst@gmail.com>
2024-12-06 14:00:16 +01:00
Stian Thorgersen
9ab5575959
Introduce support for an extension to auto register a value type ( #35645 )
...
Closes #35592
Signed-off-by: stianst <stianst@gmail.com>
2024-12-05 14:50:31 +01:00
Šimon Vacek
9abbf3edc6
Support setting time offset on test server within tests ( #35495 )
...
Closes : #34189
Signed-off-by: Simon Vacek <simonvacky@email.cz>
2024-12-04 12:09:46 +01:00
Stian Thorgersen
6e8a7a844f
Support adding clients and users to RealmConfigBuilder ( #35542 )
...
Closes #35541
Signed-off-by: stianst <stianst@gmail.com>
2024-12-03 12:23:54 +01:00
Stian Thorgersen
e995601e79
Refactor logging for test framework registry ( #35447 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-12-03 10:43:23 +01:00
Stian Thorgersen
c0209ccd03
Migrate EmailEventListenerTest ( #35202 )
...
* Move EmailEventListenerTest
Part of #34494
Signed-off-by: stianst <stianst@gmail.com>
* Update EmailEventListenerTest for migration
Part of #34494
Signed-off-by: stianst <stianst@gmail.com>
---------
Signed-off-by: stianst <stianst@gmail.com>
2024-11-28 10:19:45 +01:00
Cornelius Roemer
29abfd3e89
Fix typos in *.md and *.adoc files using codespell interactive mode
...
Closes #35256
This PR fixes a bunch of typos in docs files.
I ran codespell on `*.adoc` and `*.md` files in the repo in interactive mode
carefully checking each identified typo and proposed fix for false positives.
The most widely read file with typos identified is likely the changelog/migration guide.
Signed-off-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2024-11-25 08:21:26 +01:00
Stian Thorgersen
ad313e0109
Add support to intercept server and realm config to test framework ( #35184 )
...
Closes #35173
Signed-off-by: stianst <stianst@gmail.com>
2024-11-21 15:13:58 +01:00
Stian Thorgersen
89556c7b79
Add email extension to test framework ( #35096 )
...
Closes #35094
Signed-off-by: stianst <stianst@gmail.com>
2024-11-20 08:31:23 +01:00
Stian Thorgersen
5e54ebde18
Move Nimbus OAuth client into separate module ( #35090 )
...
Closes #34487
Signed-off-by: stianst <stianst@gmail.com>
2024-11-19 12:24:44 +01:00
Stian Thorgersen
057407385d
Add ManagedRealm#getId ( #35086 )
...
Closes #35085
Signed-off-by: stianst <stianst@gmail.com>
2024-11-19 11:21:01 +01:00
Lukas Hanusovsky
7502b9cdf6
[Test framework MVP] ImpersonationDisabledTest ( #35057 )
...
* [Test framework MVP] ImpersonationDisabledTest
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
* Apply suggestions from code review
Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com>
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-19 11:20:29 +01:00
Stian Thorgersen
ce684e553f
Support injecting into superclass of tests ( #35084 )
...
Closes #35082
Signed-off-by: stianst <stianst@gmail.com>
2024-11-19 10:52:57 +01:00
Stian Thorgersen
1b8cdbd75f
Use cleanup tasks in migrated UserProfileAdminTest ( #35074 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com>
2024-11-19 10:07:27 +01:00
Stian Thorgersen
c93e185e3f
Migrate AdminSignatureAlgorithmTest ( #35049 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com>
2024-11-19 08:08:44 +01:00
Stian Thorgersen
de14e1c310
Migrate AdminPreflightTest ( #35042 )
...
Part of #34494
Signed-off-by: stianst <stianst@gmail.com>
2024-11-18 16:36:26 +01:00
Stian Thorgersen
8ebe9000b2
Add support for marking a managed realm as dirty, making updates with rollback, and running cleanup tasks for a realm ( #35037 )
...
Closes #35035
Signed-off-by: stianst <stianst@gmail.com>
2024-11-18 14:41:48 +01:00
Stian Thorgersen
4b497dd64c
Pass builders to realm, client, and user configs ( #35033 )
...
Closes #35032
Signed-off-by: stianst <stianst@gmail.com>
2024-11-18 10:54:11 +01:00
Stian Thorgersen
0c1282df57
Add startup instructions for remote test server ( #35030 )
...
Closes #35029
Signed-off-by: stianst <stianst@gmail.com>
2024-11-18 10:43:00 +01:00
Stian Thorgersen
17fe21a437
Add simple logging support to the test framework ( #34956 )
...
Closes #34955
Signed-off-by: stianst <stianst@gmail.com>
2024-11-18 07:36:22 +01:00
Stian Thorgersen
b82ec62eb7
Add database testsuite matrix to new testsuite ( #34775 )
...
Closes #34692
Signed-off-by: stianst <stianst@gmail.com>
2024-11-11 07:04:30 +01:00
Lukas Hanusovsky
1192dc3169
[Test framework] AdminEventsSupplier support ( #34704 )
...
* [Test framework] AdminEventsSupplier support
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
* Update test-framework/core/src/main/java/org/keycloak/test/framework/events/AdminEventsParser.java
Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com>
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-07 10:27:43 +00:00
Lukas Hanusovsky
a8d9a5553f
[Test framework] Add custom provider dependencies into a Keycloak server ( #34621 )
...
* Add custom provider dependencies into a Keycloak server.
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>
* Update test-framework/examples/pom.xml
Signed-off-by: Stian Thorgersen <stian@redhat.com>
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Simon Vacek <svacek@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-11-06 08:39:28 +01:00
fwojnar
b3dd26a7c3
Migrate WelcomeTestPage to testsuite framework ( #34543 )
...
* Migrate WelcomeTestPage to testsuite framework
Closes #34491
Signed-off-by: wojnarfilip <fwojnar@redhat.com>
* Refactor welcome page a bit
Signed-off-by: stianst <stianst@gmail.com>
* Fixes for htmlunit
Signed-off-by: stianst <stianst@gmail.com>
* Cleanup imports
Signed-off-by: stianst <stianst@gmail.com>
---------
Signed-off-by: wojnarfilip <fwojnar@redhat.com>
Signed-off-by: stianst <stianst@gmail.com>
Co-authored-by: wojnarfilip <fwojnar@redhat.com>
Co-authored-by: stianst <stianst@gmail.com>
2024-11-05 10:57:58 +01:00
Stian Thorgersen
d6b01015c4
Database suppliers refactoring WIP ( #34574 )
...
Signed-off-by: stianst <stianst@gmail.com>
2024-11-05 07:20:11 +01:00
Lukas Hanusovsky
440624e398
[Test framework] Update MVN dependencies ( #34629 )
...
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
2024-11-04 15:27:42 +00:00
Stian Thorgersen
a7af380f71
Break up test-framework into multiple modules, and introduce placeholder for new testsuite ( #34507 )
...
Closes #34194
Signed-off-by: stianst <stianst@gmail.com>
2024-11-01 08:52:00 +01:00
Lukas Hanusovsky
2b2107f397
Move Test Framework ( #32407 )
...
* Move Test Framework
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
* Update .github/workflows/ci.yml
Signed-off-by: Stian Thorgersen <stian@redhat.com>
---------
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2024-08-28 14:14:08 +02:00