Commit graph

296 commits

Author SHA1 Message Date
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
Dominik Guhr
c49c4f80a2 update to quarkus 2.7.2
postgres update to 42.3.3. Did a hands-on startup performance test between 2.7.1 and 2.7.2, no change (between 3.2xx and 3.4xx seconds for start-dev with initialized db, mostly in the 3.3xx or lower 3.4xx timeframe). Also did a few smoketests

Closes #10437

Closes #10282
2022-02-24 17:19:05 -03:00
andreaTP
59d9e3e3ee Enable the heatlh endpoints under a flag 2022-02-24 14:35:42 -03:00
Pedro Igor
e3d294e988 Wrong description for import/export options
Fixes #10355
2022-02-24 13:28:24 +01:00
Dominik Guhr
c9764e114e Update quarkus/pom.xml
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2022-02-23 11:26:55 -03:00
Dominik Guhr
86dcec8e3a Update to Quarkus 2.7.1
Postgresql driver patch to 42.3.2

Closes #10111
2022-02-23 11:26:55 -03:00
Pedro Igor
209df44641
Fixing responses when unexpected errors occurs (#10383)
Closes #10338
2022-02-23 07:44:25 +01: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
Dominik Guhr
9358535161
Fix admin user creation message when calling quarkus welcomepage from remote (#10362)
For wildfly, everything is as before. For Quarkus, we check if http is enabled and provide the right port and scheme if so, and also we are relative-path aware.

Closes #10335
2022-02-22 08:19:45 +01:00
Pedro Igor
a9668d14ce Proper error response when handing unexpected errors
Closes #10176
2022-02-16 15:35:38 -03:00
Yoshiyuki Tabata
089c2df391
Closes #10243 (#10244) 2022-02-16 12:22:11 +01:00
Stian Thorgersen
fa87d46210
Remove additional repositories where they are not needed. Set updatePolicy for GA. (#10047)
Closes: #10133
2022-02-16 08:59:05 +01:00
Pedro Igor
f3c3bb5001
Removing unnecessary code paths during startup (#10131)
Closes #10130
2022-02-15 12:09:14 +01:00
Stian Thorgersen
5d3fbbb158
Update README.md 2022-02-15 08:11:44 +01:00
Dominik Guhr
5d781304e7 Fix idelauncher resourceloading
caused by doubled slashes when getting the path for resources while running IDELauncher. So now we sanitize them. Tests by building and running  wf and quarkus distribution, running from idelauncher and running using quarkus:dev, assets got always loaded.

closes #9942
2022-02-14 15:51:58 -03:00
Dominik Guhr
e1967250af
provide readme for containers module (#10093)
seems to accidentally gone missing when moving from containers repo

Closes #10092
2022-02-14 16:03:03 +01:00
Thomas Darimont
61ea2dd1bb Add ability to control debug suspend mode to kc scripts
We now consider the new env variable DEBUG_SUSPEND to control the
suspend mode of the remote debug configuration. DEBUG_SUSPEND defaults to 'n' which was the hard-coded default setting before.

Fixes #10178

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2022-02-13 13:39:10 -03:00
keycloak-bot
d9f1a9b207
Set version to 18.0.0-SNAPSHOT (#10165) 2022-02-11 21:28:06 +01:00
Sebastian Schuster
011d108fff
10073 reduced quarkus image size (#10074) 2022-02-10 08:01:51 +01:00
Dominik Guhr
23e5bc7aa3
Readme review v1 (#10082) 2022-02-10 06:51:53 +01:00
Stefan Guilhen
7c1d6eae43
Upgrade to Liquibase 4.6.2
* Upgrade to Liquibase 4.6.2
* Add valid checksums to changesets to allow migration to newest liquibase
* Update liquibase licenses

Co-authored-by: Martin Kanis <mkanis@redhat.com>
2022-02-09 12:56:46 +01:00
Pedro Igor
82300ba731 Failing to use cache remote-stores due to missing dependencies
Closes #10046
2022-02-09 06:34:41 -03: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
Dominik Guhr
1b77358160 Logging guide v1
Closes #10001
2022-02-08 18:13:05 -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
Pedro Igor
eaa8ea6334 Revert changes to stick session defaults
Repoen #9393
2022-02-04 15:12:56 +01:00
Dominik Guhr
a592fae626 Fix success on invalid build
Closes #9790
2022-02-04 15:11:53 +01: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
0de72105d7 Default to not attach route to cookies
Closes #9393
2022-02-02 13:35:18 -03: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
Thomas Darimont
438fc2865f Fix embedded theme-resources lookup in Keycloak.X
Previously lookups for embedded theme-resources did not work for Keycloak.X because of a missing
`ClasspathThemeResourceProvider` registration.

This PR ensures that a `ClasspathThemeResourceProvider` is registered in Keycloak.X based deployments.

Added empty constructors to ClasspathThemeResourceProvider to enable dynamic instantiation by Quarkus.

Fixes #9653
2022-01-21 09:52:26 -03:00
Pedro Igor
1b1e220236
Remove system property from help message (#9694)
Closes #9687
2022-01-21 13:22:21 +01:00
Stian Thorgersen
b8d3c12a08
Update layout for options in guides (#9658) 2022-01-20 14:21:23 +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
Dominik Guhr
fe506bceaa
Change config ordinals and simpler keycloak.properties file
Closes #9473
2022-01-11 15:11:59 -03:00
Pedro Igor
b2e55762f1
Properly setting the database schema (#9400)
Closes #9398
2022-01-11 09:22:11 +01:00
Pedro Igor
cbfd989ca9
Allow equal sign within option values (#9402)
Closes #9397
2022-01-11 09:21:38 +01:00
Pedro Igor
981cda5bfd Database configuration tests
Closes #9293
2022-01-05 09:26:46 -08:00
CorneliaLahnsteiner
dff79cee3c
KEYCLOAK-847 Add support for step up authentication (#7897)
KEYCLOAK-847 Fix behavior of unknown not essential acr claim

Co-authored-by: Georg Romstorfer <georg.romstorfer@gmail.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2021-12-22 12:43:12 +01:00
andreaTP
dfcf46ca60 Bump Quarkus to 2.5.4.Final 2021-12-22 02:29:28 -08:00
Pedro Igor
ca58aa7b3d
[fixes #9250] - Wrong query when fetching last model version (#9251) 2021-12-22 08:25:06 +01:00
Pedro Igor
4f568dff63 [fixes #9133] - Allow setting JDBC driver and transaction type 2021-12-21 09:57:21 -08:00
Dominik Guhr
93aeb572bb [closes #9284] - remove xmlsec version from quarkus pom 2021-12-21 09:12:08 -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
6cc674a875 [fixes #9108] - Unable to recognized SPI persisted properties 2021-12-14 03:32:59 -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
Dominik Guhr
d6abade872 Solves #9080 - relocating dependency jars to new location. 2021-12-13 06:23:34 -08:00
stianst
c7134fd539 Initial toolchain for Quarkus distribution documentation
Closes #9054
2021-12-10 02:34:03 -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
Pedro Igor
43c46dbcf8 [KEYCLOAK-19686] - Windows support and recording if persisted properties 2021-12-07 09:18:32 -08: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
Pedro Igor
7bef534392 [KEYCLOAK-19859] - Patching request filter to properly end responses 2021-12-01 09:18:56 -08:00
Dominik Guhr
7f734c9e68 KEYCLOAK-19858: Sanitize CLI Log output and show-config output 2021-11-30 13:02:35 -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
andreaTP
82bfe9d977 [KEYCLOAK-19833] Fix message format 2021-11-23 02:29:15 -08:00
andreaTP
49bb06325e [KEYCLOAK-19833] Fix command line completion on ZSH 2021-11-22 16:50:43 -08:00
Pedro Igor
a1eb915c5f [KEYCLOAK-19798] - Filtering options based on the command 2021-11-22 05:17:31 -08:00
Bruno Oliveira da Silva
262cde8f52 [KEYCLOAK-19830] Update Quarkus distribution dependencies 2021-11-19 08:18:05 -03:00
Pedro Igor
f5725cb629 [KEYCLOAK-19798] - Move pf,cf,v options to the root command and error handling 2021-11-18 14:01:46 -03:00
Dominik Guhr
4fd29759ad KEYCLOAK-19824: Use Config variables instead of system variables to change the default jdbc url 2021-11-17 12:22:08 -03:00
Pedro Igor
e14e56e0f3 [KEYCLOAK-19798] - Hostname support for Dist.X
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2021-11-17 10:51:58 -03:00
stianst
51ccf58dff Add missing dependency on server-deployment 2021-11-16 16:38:32 -03:00
Dominik Guhr
8bd18ff21a KEYCLOAK-19808 throw error when using start command after start-dev without rebuild first 2021-11-16 14:36:25 -03:00
Dominik Guhr
35bc1c673e KEYCLOAK-19814 - Update Quarkus to 2.4.2.Final 2021-11-13 07:20:07 -03:00
Pedro Igor
37b36decbb [KEYCLOAK-19798] - Less verbose HTTP options and minor changes to property mappers 2021-11-12 07:50:32 -03:00
Pedro Igor
6071e2d518 [KEYCLOAK-19310] - Oracle Support 2021-11-11 08:51:09 -03:00
Pedro Igor
3a7f5171ab [KEYCLOAK-19310] - MSSQL Support 2021-11-10 08:07:10 -03:00
Dominik Guhr
13a7f773a9 KEYCLOAK-19446 Use FolderThemeProviderFactory with fallback for quarkus so no need to always set config or system variable 2021-11-09 07:59:40 -03:00
Pedro Igor
430fd35e2f [KEYCLOAK-19767] - Changing paramLabel and options formatting in help 2021-11-09 09:14:56 +01:00
Dominik Guhr
8bafdb130e Keycloak-19762 Quarkus Update to 2.4.1.Final 2021-11-04 12:14:39 -03:00
Pedro Igor
4606b85596 [KEYCLOAK-19767] - Minor improvements to CLI 2021-11-04 12:14:12 -03:00