generated from quarkiverse/quarkiverse-template
-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removes deprecated @configroot without @ConfigMapping (#351)
- Loading branch information
Showing
12 changed files
with
113 additions
and
126 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
:quarkus-version: 3.12.0 | ||
:quarkus-version: 3.14.0 | ||
:quarkus-minio-version: 3.7.5 |
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
10 changes: 5 additions & 5 deletions
10
...rc/main/java/io/quarkiverse/minio/client/deployment/devservices/MinioBuildTimeConfig.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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
package io.quarkiverse.minio.client.deployment.devservices; | ||
|
||
import io.quarkus.runtime.annotations.ConfigItem; | ||
import io.quarkus.runtime.annotations.ConfigPhase; | ||
import io.quarkus.runtime.annotations.ConfigRoot; | ||
import io.smallrye.config.ConfigMapping; | ||
|
||
@ConfigRoot(name = "minio", phase = ConfigPhase.BUILD_TIME) | ||
public class MinioBuildTimeConfig { | ||
@ConfigMapping(prefix = "quarkus.minio") | ||
@ConfigRoot(phase = ConfigPhase.BUILD_TIME) | ||
public interface MinioBuildTimeConfig { | ||
|
||
/** | ||
* Configuration for DevServices. DevServices allows Quarkus to automatically start Minio in dev and test mode. | ||
*/ | ||
@ConfigItem | ||
public MinioDevServicesBuildTimeConfig devservices; | ||
MinioDevServicesBuildTimeConfig devservices(); | ||
} |
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
8 changes: 4 additions & 4 deletions
8
...client/runtime/src/main/java/io/quarkiverse/minio/client/MinioBuildTimeConfiguration.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 |
---|---|---|
@@ -1,16 +1,16 @@ | ||
package io.quarkiverse.minio.client; | ||
|
||
import io.quarkus.runtime.annotations.ConfigGroup; | ||
import io.quarkus.runtime.annotations.ConfigItem; | ||
import io.smallrye.config.WithDefault; | ||
|
||
@ConfigGroup | ||
public class MinioBuildTimeConfiguration { | ||
public interface MinioBuildTimeConfiguration { | ||
|
||
/** | ||
* Should the extension provide a `MinioClient`. | ||
* If set to `false`, you will have to create the clients yourself, | ||
* but will still benefit the native compatibility work. | ||
*/ | ||
@ConfigItem(defaultValue = "true") | ||
public boolean enabled; | ||
@WithDefault("true") | ||
boolean enabled(); | ||
} |
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
Oops, something went wrong.