Uploaded image for project: 'Quarkus'
  1. Quarkus
  2. QUARKUS-1734

QuarkusQE review Document configuring your Quarkus application guide

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 2.2.5.GA
    • 2.2.5.GA
    • team/docs
    • None

    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

          Activity

            People

              mpurcell@redhat.com Michelle Purcell
              kshpak Kyrylo Shpak (Inactive)
              Clement Escoffier
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: