357 Commits

Author SHA1 Message Date
David M. Lloyd
6fab3bdacf Partially revert "Fix issue getting config from fork join pool"
This partially reverts commit b2bfc3bf37.
2020-02-21 09:55:09 -06:00
Sanne Grinovero
79893cbe0e Be nice to people mentioning lower case log levels 2020-02-18 12:02:31 +00:00
Rohan Maity
1745553121 Add banner extension module, default banner, option for user banner, CustomBannerFormatter 2020-02-12 09:08:45 +05:30
Stuart Douglas
b2bfc3bf37 Fix issue getting config from fork join pool 2020-02-11 13:51:32 +11:00
Georgios Andrianakis
cf539e605b Merge pull request #6913 from geoand/bootstrap-config
Add first version of bootstrap config support
2020-02-11 00:44:36 +02:00
George Gastaldi
19e16fedcf Merge pull request #7069 from radcortez/mp-config-1.4
Updated MP Config to 1.4 and SmallRye Config to 1.6.1
2020-02-10 17:40:43 -03:00
Georgios Andrianakis
d31fe54949 Properly integrate bootstrap config into build system
This round makes bootstrap config work properly with
the build system without the arbitrary restrictions of
the first iteration.
This is accomplished mostly by moving config generation
and setup into their own build steps
2020-02-10 18:20:54 +02:00
Georgios Andrianakis
4a680de093 Add first version of bootstrap config support 2020-02-10 18:16:24 +02:00
Roberto Cortez
a827b40ea4 Use new SmallRye Config API to pass in collection directly into source builder. 2020-02-10 13:16:59 +00:00
Rostislav Svoboda
155c86c2e4 DotEnvTestCase - global variable config is not needed 2020-02-07 12:22:44 +01:00
Georgios Andrianakis
e320789e3b Add back EnvConfigSource that was removed by accident
This fixes failing Quickstarts CI
2020-02-06 15:07:40 +02:00
George Gastaldi
06dd418a05 Merge pull request #6928 from dmlloyd/fix-3670
Introduce support for .env
2020-02-05 17:35:43 -03:00
Martin Kouba
622f3e7a50 Introduce Startup annotation
- resolves #5955
2020-02-04 12:06:27 +01:00
David M. Lloyd
36263b5e3e Introduce support for .env
Fixes #3670
2020-02-03 12:22:20 -06:00
Gwenneg Lepage
4c193ae8d3 Drop GraalVM 19.2.1 support and deprecate enableJni option 2020-01-27 18:27:11 +01:00
Guillaume Smet
900ba5ba6d Merge pull request #6665 from dmlloyd/fix-ord
Fix a problem where env vars do not have the right ordinal
2020-01-22 17:40:25 +01:00
Stuart Douglas
b67491c1ff The big ClassLoader change
This changes the way Quarkus ClassLoading works,
to allow for isolated class loaders.

It also unifies how Quarkus is launched, so every
different mode we support uses the same mechanism
for both curation and launch.

Tests are now run in an isolated ClassLoader, which
means that a proxy is created that runs the tests
from within the isolated ClassLoader. This currently
has a quirk where @BeforeAll methods are run twice,
which will be fixed in the next JUnit release. This
can be worked around by using @QuarkusBeforeAll.
2020-01-22 13:30:44 +01:00
David M. Lloyd
98864c7ef2 Also set system properties ordinal correctly 2020-01-22 13:13:03 +01:00
David M. Lloyd
262fa3a684 Fix a problem where env vars do not have the right ordinal 2020-01-22 13:13:03 +01:00
Georgios Andrianakis
a79162e321 Use en as the default language when all else is empty
Co-Authored-By: Guillaume Smet <guillaume.smet@gmail.com>
2020-01-21 20:13:47 +01:00
Georgios Andrianakis
d8aa185367 Ensure that a missing user.country system property doesn't break the application
This can happen in CI:
https://github.com/apache/camel-quarkus/pull/603#issuecomment-576636989

Co-Authored-By: Guillaume Smet <guillaume.smet@gmail.com>
2020-01-21 20:13:47 +01:00
Manyanda Chitimbo
1faf5bf2bb Merge pull request #6361 from irenakezic/issue5908
Improve Hibernate Validator localization support with RESTEasy
2020-01-21 07:31:39 +01:00
Guillaume Smet
0a2d2b2ca0 Make the locale configuration global 2020-01-20 17:42:37 +01:00
Guillaume Smet
95e9e34226 Introduce a Locale config converter 2020-01-20 17:42:37 +01:00
Stuart Douglas
be314f5ad1 Don't fire the startup event until the vert.x producer has been initialized
Fixes #6612
2020-01-20 17:06:17 +01:00
Gwenneg Lepage
33ea19d16e Support both GraalVM 19.2.1 and 19.3.1 2020-01-16 20:56:10 +01:00
Georgios Andrianakis
133656bcf6 Update core/runtime/src/main/java/io/quarkus/runtime/configuration/ConfigDiagnostic.java
Co-Authored-By: David M. Lloyd <david.lloyd@redhat.com>
2020-01-11 11:46:01 +02:00
Georgios Andrianakis
b472e8d1a0 Properly show configuration errors in the output
Fixes: #6466
2020-01-11 10:24:39 +02:00
dbaert
e1482f9c07 Add possibility to override the logging configuration of each handler on category level A 2020-01-06 10:10:34 +01:00
Rostislav Svoboda
c9e6b58ed4 Typo fixes 2020-01-05 23:10:23 +01:00
Guillaume Smet
653f0817f8 Merge pull request #6364 from machi1990/update-graalvm-to-19.3.0.2
Update GraalVM to 19.3.0.2
2020-01-04 13:40:43 +01:00
Guillaume Smet
2ab449625a Remove substitutions incorporated into GraalVM 19.3.0.2 2020-01-03 12:41:29 +01:00
Georgios Andrianakis
6aee06ba92 Make application version and name available as runtime properties
Fixes: #6255

Co-authored-by: Guillaume Smet <guillaume.smet@gmail.com>
2020-01-02 11:41:41 +02:00
Guillaume Smet
d044d03798 Merge pull request #6167 from dmlloyd/fix-autoflush
Let the delegate handlers decide to autoflush
2019-12-16 15:08:24 +01:00
Gwenneg Lepage
19adf1a4a5 Substitute BootLoader.loadClassOrNull(name) to fix a NPE with JDK 11 2019-12-13 23:04:31 +01:00
David M. Lloyd
8bf4ff4d22 Let the delegate handlers decide to autoflush 2019-12-13 14:22:18 -06:00
Gwenneg Lepage
90f175cae1 Substitute BootLoader.hasClassPath() to work around a JDK 11 NPE 2019-12-12 02:13:36 +01:00
Georgios Andrianakis
e158a61bfa Add TopLevelRootConfig (additional test) 2019-12-07 19:40:55 +01:00
David M. Lloyd
598c1cebc1 Upgrade to SmallRye Config 1.5.0 with relocs 2019-12-06 12:07:59 +01:00
Gwenneg Lepage
0be78a6813 Merge pull request #5358 from gwenneg/issue-4218-upgrade-graalvm-to-19.3.0
Upgrade GraalVM to 19.3.0
2019-12-05 10:19:07 +01:00
Stuart Douglas
85d8746449 Make Keycloak work on Graal 19.3.0
Remove some problematic substitutions and make
bouncycastle classes initialized at runtime to
work around security provider bug
2019-12-04 08:04:19 +01:00
Gwenneg Lepage
8e20d02f90 Upgrade GraalVM to 19.3.0 2019-12-04 08:43:44 +11:00
David M. Lloyd
e34eb8796a Remove unused class 2019-12-02 12:49:34 -06:00
Dennis Baerten
a4bcda1d46 Remove the unused property minLevel from CategoryConfig 2019-12-01 08:36:26 +01:00
Ken Finnigan
7450751800 Switch field back to private as it was made protected by mistake 2019-11-26 09:28:06 -05:00
Ken Finnigan
c76ecfc0bb Fixes #4516
- Ensures Config is serializable
- Passes Config serialization TCK test
2019-11-25 15:23:26 -05:00
David M. Lloyd
ab0a255fc8 Add consistent trimming behavior to converters 2019-11-22 12:48:03 -06:00
David M. Lloyd
4638078a88 Reduce usage of ConverterSupport to constant values 2019-11-22 12:48:03 -06:00
David M. Lloyd
34aa20e42c Only add run time only config sources at run time, not during static init 2019-11-22 12:48:03 -06:00
David M. Lloyd
37ce6d2555 Support enabling/disabling expansion at run time 2019-11-22 12:48:03 -06:00