Pedro Igor
0d3ca438ed
Aligning kc.bat with latest changes to kc.sh
...
Closes #11185
Closes #13472
2022-08-03 13:05:07 +02:00
Dominik Guhr
43afcf11ac
add gelf log level option
...
also aligns writing in logging.adoc to always use GELF instead of gelf/Gelf in plain text.
Closes #13397
2022-08-01 12:28:47 -03:00
Dominik Guhr
10e3c797a3
Only show non-hidden options in --help-all for options where supportlevel is not SUPPORTED
...
Closes #13385
2022-08-01 10:03:28 -03:00
Dominik Guhr
059a132476
Fixes the regression in 19 for MariaDB, MySQL and other DBs
...
databases that are not using an official liquibase type in Database.java could not be seeded anymore because
the liquibase types we use in model-jpa were not indexed and loaded during the build anymore.
Introduces highly needed tests for other databases than postgres, because postgres has an official liquibase databasetype in its list
in database.java and as such differs from nearly all other vendors.
Closes #13389
2022-07-28 20:40:51 +02:00
Alexander Schwartz
8470a30446
Introduce CLI parameter to set the deployment state version seed
...
Closes #12710
2022-07-27 20:10:17 +02:00
Alexander Schwartz
7f355b43f8
Add prefix to the area Map storage options for Quarkus
...
Closes #13355
2022-07-27 11:00:25 +02:00
Stian Thorgersen
ae33af92d9
Promote new admin console to default ( #13243 )
...
Closes #13242
2022-07-27 10:13:49 +02:00
Alexander Schwartz
67e2f342a9
Allow Quarkus configuration to mix different storage providers
...
Closes #13312
2022-07-26 21:56:16 +02:00
Michal Hajas
3589778a10
Add possibility to configure HotRod storage in Quarkus distribution
...
Closes #12617
2022-07-26 14:13:39 +02:00
Dominik Guhr
878e3e0cbc
change --help to only show "supported" options ( #13304 )
...
* Unsupported options only shown when using help-all
* reworked impl based on comment in #13284
* Also fixes minor things of #13284 as unused imports
Closes #13283
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-07-25 19:34:10 +02:00
Dominik Guhr
9bb1299d89
change optimised to optimized
...
also: fix kc.bat to not use autobuild in devmode anymore, fix containers.adoc to not use auto_build naming, fix build command cli help as it is not required anymore to run it beforehand.
2022-07-22 10:29:07 -03:00
Pedro Igor
e14bd51656
Properly enable/disable metrics and health endpoints
...
Closes #11506
Co-authored-by: Dominik Guhr <dguhr@redhat.com>
2022-07-22 09:41:29 -03:00
nchopra
4fd3049c85
[12826] Configuring Postgres and MariaDb version
2022-07-20 11:31:59 -03:00
Dominik Guhr
b563028f42
Rename Cluster to Cache in cli help and rename classes to refer to caching
...
Should be merged after the changes to auto-build are in to avoid more merge conflicts
Closes #13124
2022-07-19 08:17:39 -03:00
Pedro Igor
89028613d8
Introducing --optimise option
...
Closes #10737
2022-07-15 15:12:17 -03:00
Pedro Igor
f6a2b334d1
Integrate the JPA map store ( #13097 )
...
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2022-07-14 17:47:51 -03:00
Pedro Igor
b80731decf
Remove any legacy provider from runtime when running the new store ( #12963 )
2022-07-13 07:30:14 -03:00
Dominik Guhr
e9714c78a6
Fix internal filepath for logging on windows
...
Alo fixes filepath for concurrenthashmap and one windows-only test referencing now non-existing QuarkusJpaConnectionProviderFactory log output in LoggingDistTest
Closes #12984
2022-07-11 08:23:26 -03:00
Dominik Guhr
1edce54aff
Baseline: Ability to set SupportLevel for categories and show marker in CLI help
...
Closes #12927
2022-07-07 12:48:19 -03:00
Dominik Guhr
1d6dde02e5
Add support and docs for centralized logging using gelf.
...
* 99% 1:1 wrapper of the underlying quarkus gelf extension.
* excluded `filter-stack-trace` and `stack-trace-throwable-reference` options for now, as they are either undocumented on the quarkus side or not important imo.
* added docs and examples for Graylog and ELK stack
* NOT added an automated test, as this is really a 1:1 wrapper around the extension, Test setup would be cumbersome, test would take too much time and tests are done in quarkus itself.
Closes #12125
2022-06-30 16:16:19 -03:00
Dominik Guhr
c19428aa81
introduce hidden transaction-jta-enabled config option
...
Closes #12400
2022-06-30 16:01:23 -03:00
Pedro Igor
605b51890e
Enables the new store and the concurrenthashmap provider
...
Closes #12651
2022-06-30 10:55:22 -03:00
Pedro Igor
95528e77bb
Fixing env vars precedence over conf file ( #12638 )
...
Closes #12413
2022-06-22 15:13:58 +02:00
andreaTP
3abcc699a1
Move all dist options to the new module
...
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-06-17 09:06:40 -03:00
Dominik Guhr
9df0d9a5c4
Fixes wrong values shown for configkeys (e.g. http-enabled) in show-config when in dev-mode.
...
also removes unnecessary internal and self-referencing values from output
Closes #9525
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-06-14 09:19:03 -03:00
Dominik Guhr
b5c8f92fe7
Update Quarkus to 2.7.6.Final ( #12371 )
...
Resolves #12370
2022-06-10 09:14:59 -03:00
Pedro Igor
5e5cfff4e2
Resolve default values for runtime options when running re-aug
...
Closes #10818
2022-06-09 08:32:30 -03:00
Pedro Igor
b34f46155c
Allow setting the admin hostname
...
Closes #12190
2022-06-08 16:41:43 -03:00
Pedro Igor
c18b87af5f
Keycloak server fails to start when using different named schema
...
Closes #12219
2022-06-08 09:10:25 -03:00
Pedro Igor
6156272f39
Persisted config source not loading properties at runtime ( #12157 )
...
Co-authored-by: Dominik Guhr <dguhr@redhat.com>
2022-05-25 16:29:37 -03:00
Pedro Igor
b5a5d68dbc
Imposing certain constraints to files when importing at start-up
...
Closes #11861
2022-05-16 16:49:42 +02:00
Dominik Guhr
1162952432
Quarkus Tests on Windows
...
Tested using Windows 10 locally
Closes #10926
2022-05-05 11:56:29 -03:00
Kai Josef Schauerte
016c28e7a5
Added a hint to the --cache-config-file config option that you not need to specify the configuration folder
...
Closes #11302
2022-05-03 09:48:22 -03:00
Dominik Guhr
6ef80239cf
change approvals to reflect typofix
...
Closes #11344
2022-04-19 07:34:15 -03:00
Dominik Guhr
7811f3721a
Add db-url-port option
...
to set the port when not using a full db-url
closes #11251
2022-04-13 08:31:25 -03:00
Stian Thorgersen
7c64f28934
Change admin console to load keycloak.js using a relative URL ( #11109 )
...
* Change admin console to load keycloak.js using a relative URL
Closes #11108
* fix tests
Co-authored-by: Dominik Guhr <dguhr@redhat.com>
2022-04-06 09:35:26 +02:00
Pedro Igor
23c5199c0c
Allow overriding the host header using X-Forwarded-Host ( #11021 )
...
Closes #10997
2022-04-05 09:17:08 +02:00
Dominik Guhr
9e57f836f2
Make quarkus runtime properties also available as runtime properties in keycloak
...
Changes behaviour to:
- all raw quarkus config properties are handled as runtime config in keycloak, with the exception of raw properties we need for additional datasources, there we check for build- vs runtime
- unknown quarkus buildtime properties require a build first or the usual quarkus warning is shown
- wrapped quarkus properties still get ignored / overwritten by our configuration layer (no change in behaviour here)
Closes #10968
2022-03-30 18:13:09 -03:00
Dominik Guhr
a5c3d035b9
Fixes showing sensitive values like passwords and irritating error msg when key used is unknown
...
Only first unknown option is shown for now. May be iterated in the future.
Closes #10050
Closes #10051
2022-03-29 10:37:07 -03:00
Dominik Guhr
0941a4709e
Fixes windows configuration test
...
also fixes using ~ as database default for e.g. IDELauncher (does not work on all windows versions)
also fixes the HelpCommandTest, as approvalTests are now generated based on the OS the tests run
Closes #10246
Co-authored-by: Victor-Philipp Negoescu <victor-philipp.negoescu@iteratec.com>
2022-03-29 10:34:34 -03:00
Pedro Igor
e177f90299
Allow importing realms during startup ( #10754 )
...
Closes #9261
2022-03-24 14:35:09 +01:00
keycloak-bot
c71aa8b711
Set version to 999-SNAPSHOT ( #10784 )
2022-03-22 09:22:48 +01:00
Pedro Igor
ffa6df5547
Fixes to hostname ( #10820 )
...
Closes #10627
Closes #10331
2022-03-22 08:11:50 +01:00
Dominik Guhr
5233f2a729
Remove wrong message from build command help
...
Closes #10664
2022-03-10 13:36:48 -03:00
Dominik Guhr
1710b38cf8
Update to quarkus 2.7.3
...
Full changelog on quarkus side: https://github.com/quarkusio/quarkus/releases/tag/2.7.3.Final | startup performance: no degradation | manual smoke tests: passed
Closes #10641
2022-03-08 13:45:25 -03:00
Dominik Guhr
8454dc5a5d
Support for console-JSON and FILE logging
...
See logging.adoc for details on the usage
Closes #10523 , #10607 and #10415
2022-03-08 08:19:03 -03:00
andreaTP
59d9e3e3ee
Enable the heatlh endpoints under a flag
2022-02-24 14:35:42 -03:00
Dominik Guhr
19a17e79ba
Change tx driver handling.
...
Introduce a non-tx driver for the vendors and map based on new build option transaction-tx-enabled
Closes #10191 and others.
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-02-22 18:00:31 -03:00
keycloak-bot
d9f1a9b207
Set version to 18.0.0-SNAPSHOT ( #10165 )
2022-02-11 21:28:06 +01:00
Dominik Guhr
23e5bc7aa3
Readme review v1 ( #10082 )
2022-02-10 06:51:53 +01:00
Pedro Igor
0908325e6d
Can not set a jgroups stack other than the defaults from Infinispan
...
Closes #10052
2022-02-09 06:34:25 -03:00
Dominik Guhr
c22299045c
remove profile references
...
Closes #9683
2022-02-09 06:24:37 -03:00
Pedro Igor
f107f0596e
Rename h2-file and h2-mem and removing defaults from production databases
...
Closes #9973
2022-02-04 15:43:51 -03:00
andreaTP
3244cd7f84
Remove Quarkus tests workaround for log capturing
2022-02-04 11:20:18 -03:00
Dominik Guhr
0f3293cf00
Do not show full help when providing an invalid option
...
Closes #9956
2022-02-04 13:53:02 +01:00
Pedro Igor
ec49695a98
Initial logging support
...
Closes #9901
2022-02-03 13:44:24 +01:00
Pedro Igor
3967c81453
Review Configuring a Database guide ( #9559 )
...
Closes #9457
Co-authored-by: Stian Thorgersen <stian@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2022-02-02 13:30:53 +01:00
Pedro Igor
fe0cb36284
Do not run re-augmentation if config is the same in dev mode
...
Closes #9906
2022-02-01 13:32:16 -03:00
Stian Thorgersen
cc88fb2daa
Update default distribution to Quarkus ( #9839 )
...
Closes #9837
2022-02-01 09:42:09 +01:00
Dominik Guhr
5a1f4b8889
Quarkus update to 2.7.0.Final
...
Minor and micro dependency updates, some relocations (e.g. vault, ZipUtils), so some changes were needed to make this work.
Closes #9872
2022-01-31 09:55:02 -03:00
Pedro Igor
d140abb8fa
Mapped Quarkus properties should not be persisted ( #9808 )
...
Closes #9807
2022-01-27 11:12:31 +01:00
Pedro Igor
7c162b42a6
Improve enabling/disabling features in Quarkus distribution ( #9801 )
...
Closes #9706
2022-01-27 11:11:46 +01:00
Pedro Igor
781ceb24fd
Add a quarkus.properties for unsupported configuration options
...
Closes #9682
2022-01-26 11:26:50 -03:00
Pedro Igor
d28b54e5d5
Hide Hasicorp Vault from CLI ( #9700 )
...
Closes #9688
2022-01-25 14:24:35 +01:00
Pedro Igor
b53c5d5eee
Build command should not allow runtime options
...
Closes #9618
2022-01-23 16:30:48 -03:00
Pedro Igor
1b1e220236
Remove system property from help message ( #9694 )
...
Closes #9687
2022-01-21 13:22:21 +01:00
Pedro Igor
0a9387ff4f
Unified configuration option format and renaming keycloak.properties to keycloak.conf
...
Closes #9606
2022-01-19 08:47:15 -03:00
Pedro Igor
8ed7c0544f
Defaults to TLSv1.3
...
Closes #9530
2022-01-18 07:42:24 -03:00
Daniel Gozalo
8ea09d3816
[ fixes #9222 ] - Let users configure Dynamic Client Scopes ( #9327 )
2022-01-12 14:27:24 +01:00
Pedro Igor
981cda5bfd
Database configuration tests
...
Closes #9293
2022-01-05 09:26:46 -08:00
andreaTP
dfcf46ca60
Bump Quarkus to 2.5.4.Final
2021-12-22 02:29:28 -08:00
Pedro Igor
4f568dff63
[ fixes #9133 ] - Allow setting JDBC driver and transaction type
2021-12-21 09:57:21 -08:00
andreaTP
6c12c18854
review
2021-12-20 07:47:42 -08:00
andreaTP
79463ffa58
Stabilize docker distribution tests
2021-12-20 07:47:42 -08:00
keycloak-bot
9f3d4a7d42
Set version to 17.0.0-SNAPSHOT
2021-12-20 10:50:39 +01:00
Dominik Guhr
68271ba486
Solves Issue [ #9186 ] Update to 2.5.3 and small typo fix
2021-12-16 07:43:45 -08:00
Dominik Guhr
c70dc0e72d
Add IsIntegrationTest BuildStep Annotation
2021-12-14 04:07:48 -08:00
Dominik Guhr
dad5639b4e
WIP: use extra buildstep and configprovider for tests
2021-12-14 04:07:48 -08:00
Pedro Igor
07196cdcf9
[ fixes #9116 ] - Fixing cluster config tests
2021-12-14 03:32:43 -08:00
Pedro Igor
9b243cebeb
[ fixes #9089 ] - Fixing export and import commands
2021-12-14 03:32:10 -08:00
Dominik Guhr
f2abfecca1
KEYCLOAK-19858 Add Tests to check that no credentials are leaking when using CLI commands. Also: Tests for Help Command output using Golden master technique
2021-12-14 02:13:59 -08:00
Dominik Guhr
21ccf7dd8a
Fixes 9094: Remove other values for features command. Only preview allowed for now.
2021-12-13 13:58:56 -08:00
Pedro Igor
bf0f3d605c
[ fixes #9052 ] - Renaming cluster options to cache
2021-12-10 08:20:53 +01:00
Thomas Darimont
50060775f6
8877 Make KeycloakMetricsHandler aware of context-path
...
Adapt KeycloakMetricsHandler to consider custom relative paths via `kc.http.relative-path`
or --http-relative-path=/auth. Previously only the fixed path /metrics was allowed which did not work
with custom context-paths.
- Adapted KeycloakProcessor to Pedros proposal from 0b28d71dd0
- Removed unnecessary KeycloakMetricsHandler
- Added MetricsDistTest
Fixes #8877
2021-12-09 13:13:14 -08:00
Pedro Igor
48835576da
[KEYCLOAK-19885] - Parallelize cache manager init
2021-12-09 15:35:55 +01:00
andreaTP
1f9b2be65a
more improvements
2021-12-07 04:56:52 -08:00
andreaTP
e1a2e27e6c
Faster Quarkus Docker based tests
2021-12-07 04:56:52 -08:00
andreaTP
8750d94140
[KEYCLOAK-19847] - Restore Docker Dist tests coverage
2021-12-07 04:56:52 -08:00
Dominik Guhr
28673ed4d8
KEYCLOAK-19832 Update to Quarkus 2.5.1
2021-12-06 12:10:55 -08:00
Pedro Igor
9a4ab82d08
[KEYCLOAK-19847] - Optimizations and refactoring for better/stable startup time
2021-12-02 08:57:23 -08:00
Andrea Peruffo
cd5ccdbf3e
[KEYCLOAK-19311] Add testcontainers to Dist.X Integration Tests ( #8946 )
...
* Supporting running tests against the server image using test containers
2021-11-29 11:20:50 -03:00
Andrea Peruffo
79931fd607
[KEYCLOAK-19311] Distx IT tests improvements ( #8930 )
...
* Testcontainers support to Dist.X testsuite
2021-11-29 09:28:04 -03:00
Pedro Igor
e1916fbdb1
[KEYCLOAK-19311] - Baseline for Dist.X tests
2021-11-24 05:06:53 -08:00