forked from quarkusio/quarkus
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce new configuration framework and update SmallRye Config version
Fixes quarkusio#4123, Fixes quarkusio#4119, Fixes quarkusio#4172, Fixes quarkusio#2292 (partially), Fixes quarkusio#734, Fixes quarkusio#4512, Fixes quarkusio#3498, Fixes quarkusio#3937 Fixes quarkusio#2816, Fixes quarkusio#4077, Fixes quarkusio#3516, Fixes quarkusio#2760 Fixes quarkusio#1989, Fixes quarkusio#3030, Fixes quarkusio#3637, Fixes quarkusio#1887 Groudwork for quarkusio#2489, Fixes quarkusio#5116, Fixes quarkusio#5192
- Loading branch information
Showing
87 changed files
with
4,096 additions
and
3,950 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
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
249 changes: 113 additions & 136 deletions
249
core/deployment/src/main/java/io/quarkus/deployment/ExtensionLoader.java
Large diffs are not rendered by default.
Oops, something went wrong.
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
19 changes: 0 additions & 19 deletions
19
...oyment/src/main/java/io/quarkus/deployment/builditem/BuildTimeConfigurationBuildItem.java
This file was deleted.
Oops, something went wrong.
19 changes: 0 additions & 19 deletions
19
...ain/java/io/quarkus/deployment/builditem/BuildTimeRunTimeFixedConfigurationBuildItem.java
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
core/deployment/src/main/java/io/quarkus/deployment/builditem/ConfigurationBuildItem.java
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,19 @@ | ||
package io.quarkus.deployment.builditem; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
import io.quarkus.deployment.configuration.BuildTimeConfigurationReader; | ||
|
||
/** | ||
* The build item which carries the build time configuration. | ||
*/ | ||
public final class ConfigurationBuildItem extends SimpleBuildItem { | ||
private final BuildTimeConfigurationReader.ReadResult readResult; | ||
|
||
public ConfigurationBuildItem(final BuildTimeConfigurationReader.ReadResult readResult) { | ||
this.readResult = readResult; | ||
} | ||
|
||
public BuildTimeConfigurationReader.ReadResult getReadResult() { | ||
return readResult; | ||
} | ||
} |
19 changes: 0 additions & 19 deletions
19
...ployment/src/main/java/io/quarkus/deployment/builditem/RunTimeConfigurationBuildItem.java
This file was deleted.
Oops, something went wrong.
20 changes: 20 additions & 0 deletions
20
...ent/src/main/java/io/quarkus/deployment/builditem/RunTimeConfigurationProxyBuildItem.java
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,20 @@ | ||
package io.quarkus.deployment.builditem; | ||
|
||
import java.util.Map; | ||
|
||
import io.quarkus.builder.item.SimpleBuildItem; | ||
|
||
/** | ||
* A build item that carries all the "fake" run time config objects for use by recorders. | ||
*/ | ||
public final class RunTimeConfigurationProxyBuildItem extends SimpleBuildItem { | ||
private final Map<Class<?>, Object> objects; | ||
|
||
public RunTimeConfigurationProxyBuildItem(final Map<Class<?>, Object> objects) { | ||
this.objects = objects; | ||
} | ||
|
||
public Object getProxyObjectFor(Class<?> clazz) { | ||
return objects.get(clazz); | ||
} | ||
} |
34 changes: 0 additions & 34 deletions
34
core/deployment/src/main/java/io/quarkus/deployment/builditem/UnmatchedConfigBuildItem.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.