Details
-
Bug
-
Resolution: Done
-
Major
-
2.2.5.GA
-
None
-
Quarkus Docs Sprint 5, Quarkus Docs Sprint 6
-
2
-
+
-
+
Description
- Chapter 1.3 Step 4
There is no such @ConfigurationProperty. Use just @ConfigProperty - Chapter 1.3 Step 4-1
Update error message when no prop is found to:
javax.enterprise.inject.spi.DeploymentException: Failed to load config value of type class java.lang.String for: greeting.message - io.quarkus.arc.config.ConfigProperties is deprecated. Github issue: https://github.com/eclipse/microprofile-config/issues/702
Contact SME to provide code snippets. It was deprecated in favor of SR Config @ConfigMapping
This applies to the whole 1.6 chapter - Chapter 1.7 Procedure point 2
TEXT: When you want to retrieve a value that is optional or default and might not be defined in your application.properties file or another configuration source in your application, use the getOptionalValue() method
Problem: getOptionalValue() is not used in the following code snippet. Should be:
String <variable-name> = ConfigProvider.getConfig().getOptionalValue("<property-name>", <data-type-class-name>.class);
- Check all the links that are provided in the text. A lot of links return 404. Mainly because guide existed for 1.11 but not for 2.2 yet.
Attachments
Issue Links
- blocks
-
QUARKUS-1384 Document configuring your Quarkus application guide
- Closed
- mentioned on