diff --git a/core/creator/src/main/java/io/quarkus/creator/phase/generateconfig/GenerateConfigPhase.java b/core/creator/src/main/java/io/quarkus/creator/phase/generateconfig/GenerateConfigPhase.java index 7ac54ba30b44e..725a421d99f4f 100644 --- a/core/creator/src/main/java/io/quarkus/creator/phase/generateconfig/GenerateConfigPhase.java +++ b/core/creator/src/main/java/io/quarkus/creator/phase/generateconfig/GenerateConfigPhase.java @@ -13,8 +13,6 @@ import java.util.ArrayList; import java.util.Collections; import java.util.List; -import java.util.regex.Matcher; -import java.util.regex.Pattern; import org.eclipse.microprofile.config.Config; import org.jboss.logging.Logger; @@ -167,7 +165,7 @@ private void doProcess(CurateOutcome appState) throws AppCreatorException { } sb.append("\n#\n"); - sb.append(formatDocs(i.getDocs())); + sb.append(i.getDocs()); sb.append("\n#\n#"); sb.append(i.getPropertyName() + "=" + i.getDefaultValue()); sb.append("\n"); @@ -193,69 +191,6 @@ private void doProcess(CurateOutcome appState) throws AppCreatorException { } } - private String formatDocs(String docs) { - - if (docs == null) { - return ""; - } - StringBuilder builder = new StringBuilder(); - - boolean lastEmpty = false; - boolean first = true; - - for (String line : docs.replace("

", "\n").split("\n")) { - //process line by line - String trimmed = line.trim(); - //if the lines are empty we only include a single empty line at most, and add a # character - if (trimmed.isEmpty()) { - if (!lastEmpty && !first) { - lastEmpty = true; - builder.append("\n#"); - } - continue; - } - //add the newlines - lastEmpty = false; - if (first) { - first = false; - } else { - builder.append("\n"); - } - //replace some special characters, others are taken care of by regex below - builder.append("# " + trimmed.replace("\n", "\n#") - .replace("

", "") - .replace("
  • ", " - ") - .replace("
  • ", "")); - } - - String ret = builder.toString(); - //replace @code - ret = Pattern.compile("\\{@code (.*?)\\}").matcher(ret).replaceAll("'$1'"); - //replace @link with a reference to the field name - Matcher matcher = Pattern.compile("\\{@link #(.*?)\\}").matcher(ret); - while (matcher.find()) { - ret = ret.replace(matcher.group(0), "'" + configify(matcher.group(1)) + "'"); - } - - return ret; - } - - private String configify(String group) { - //replace uppercase characters with a - followed by lowercase - StringBuilder ret = new StringBuilder(); - for (int i = 0; i < group.length(); ++i) { - char c = group.charAt(i); - if (Character.isUpperCase(c)) { - ret.append("-"); - ret.append(Character.toLowerCase(c)); - } else { - ret.append(c); - } - } - return ret.toString(); - } - @Override public String getConfigPropertyName() { return "augment"; diff --git a/core/processor/src/main/java/io/quarkus/annotation/processor/Constants.java b/core/processor/src/main/java/io/quarkus/annotation/processor/Constants.java index e6871e77f16c9..9a08e1f1b0720 100644 --- a/core/processor/src/main/java/io/quarkus/annotation/processor/Constants.java +++ b/core/processor/src/main/java/io/quarkus/annotation/processor/Constants.java @@ -14,6 +14,7 @@ public class Constants { public static final String NO_DEFAULT = "<>"; public static final String HYPHENATED_ELEMENT_NAME = "<>"; + public static final Pattern JAVA_DOC_SEE_PATTERN = Pattern.compile("@see\\s+(.+)\\s*"); public static final Pattern JAVA_DOC_CODE_PATTERN = Pattern.compile("\\{@code (.*?)\\}"); public static final Pattern JAVA_DOC_LINK_PATTERN = Pattern.compile("\\{@link #(.*?)\\}"); public static final Pattern CONFIG_ROOT_PATTERN = Pattern.compile("^(\\w+)Config(uration)?"); diff --git a/core/processor/src/main/java/io/quarkus/annotation/processor/ExtensionAnnotationProcessor.java b/core/processor/src/main/java/io/quarkus/annotation/processor/ExtensionAnnotationProcessor.java index fa50c22454ad8..0c13ba8716e18 100644 --- a/core/processor/src/main/java/io/quarkus/annotation/processor/ExtensionAnnotationProcessor.java +++ b/core/processor/src/main/java/io/quarkus/annotation/processor/ExtensionAnnotationProcessor.java @@ -685,7 +685,75 @@ private String getRequiredJavadoc(Element e) { processingEnv.getMessager().printMessage(Diagnostic.Kind.ERROR, "Unable to find javadoc for config item " + e, e); return ""; } - return docComment.trim(); + + return formatDocs(docComment.trim()); + } + + /** + * TODO - properly parse JavaDoc + */ + private String formatDocs(String docs) { + if (docs == null) { + return ""; + } + + StringBuilder builder = new StringBuilder(); + boolean lastEmpty = false; + boolean first = true; + for (String line : docs.replace("

    ", "\n").split("\n")) { + //process line by line + String trimmed = line.trim(); + //if the lines are empty we only include a single empty line at most, and add a # character + if (trimmed.isEmpty()) { + if (!lastEmpty && !first) { + lastEmpty = true; + builder.append("\n"); + } + continue; + } + //add the newlines + lastEmpty = false; + if (first) { + first = false; + } else { + builder.append("\n"); + } + //replace some special characters, others are taken care of by regex below + builder.append(trimmed.replace("\n", "\n") + .replace("

    ", "") + .replace("
  • ", " - ") + .replace("
  • ", "")); + } + + String ret = builder.toString(); + //replace @code + ret = Constants.JAVA_DOC_CODE_PATTERN.matcher(ret).replaceAll("`$1`"); + + //replace @see + ret = Constants.JAVA_DOC_SEE_PATTERN.matcher(ret).replaceAll("see `$1`"); + + //replace @link with a reference to the field name + Matcher matcher = Constants.JAVA_DOC_LINK_PATTERN.matcher(ret); + while (matcher.find()) { + ret = ret.replace(matcher.group(0), "`" + configify(matcher.group(1)) + "`"); + } + return ret; + } + + private String configify(String group) { + //replace uppercase characters with a - followed by lowercase + StringBuilder ret = new StringBuilder(); + for (int i = 0; i < group.length(); ++i) { + char c = group.charAt(i); + if (Character.isUpperCase(c)) { + ret.append("-"); + ret.append(Character.toLowerCase(c)); + } else { + ret.append(c); + } + } + return ret.toString(); } private static boolean hasParameterAnnotated(ExecutableElement ex, String annotationName) { diff --git a/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/ConfigItem.java b/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/ConfigItem.java index 37ca102b11802..f8a1aeb4a4e22 100644 --- a/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/ConfigItem.java +++ b/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/ConfigItem.java @@ -1,8 +1,20 @@ package io.quarkus.annotation.processor.generate_doc; +import java.util.HashMap; +import java.util.Map; import java.util.Objects; public class ConfigItem implements Comparable { + private static final Map PRIMITIVE_DEFAULT_VALUES = new HashMap<>(); + + static { + PRIMITIVE_DEFAULT_VALUES.put("int", "0"); + PRIMITIVE_DEFAULT_VALUES.put("long", "0l"); + PRIMITIVE_DEFAULT_VALUES.put("float", "0f"); + PRIMITIVE_DEFAULT_VALUES.put("double", "0d"); + PRIMITIVE_DEFAULT_VALUES.put("boolean", "false"); + } + private final String type; private final String javaDocKey; private final String propertyName; @@ -66,7 +78,11 @@ public String getPropertyName() { } public String getDefaultValue() { - return defaultValue; + if (!defaultValue.isEmpty()) { + return defaultValue; + } + + return PRIMITIVE_DEFAULT_VALUES.containsKey(type) ? PRIMITIVE_DEFAULT_VALUES.get(type) : ""; } public ConfigVisibility getVisibility() { diff --git a/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/GenerateExtensionConfigurationDoc.java b/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/GenerateExtensionConfigurationDoc.java index b78f7492f52b5..c665ebb148078 100644 --- a/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/GenerateExtensionConfigurationDoc.java +++ b/core/processor/src/main/java/io/quarkus/annotation/processor/generate_doc/GenerateExtensionConfigurationDoc.java @@ -10,12 +10,7 @@ import java.util.TreeSet; import java.util.regex.Matcher; -import javax.lang.model.element.AnnotationMirror; -import javax.lang.model.element.AnnotationValue; -import javax.lang.model.element.Element; -import javax.lang.model.element.ExecutableElement; -import javax.lang.model.element.PackageElement; -import javax.lang.model.element.TypeElement; +import javax.lang.model.element.*; import javax.lang.model.type.DeclaredType; import javax.lang.model.type.TypeMirror; @@ -23,6 +18,7 @@ import io.quarkus.annotation.processor.StringUtil; public class GenerateExtensionConfigurationDoc { + public static final String STATIC_MODIFIER = "static"; private final Set configRoots = new HashSet<>(); private final Map configGroups = new HashMap<>(); @@ -95,7 +91,7 @@ private String generateConfigsInDescriptorListFormat(Set configItems sb.append("\n`"); sb.append(configItem.getPropertyName()); sb.append("`:: "); - sb.append(formatDocs(javaDocProperties.getProperty(configItem.getJavaDocKey()))); + sb.append(javaDocProperties.getProperty(configItem.getJavaDocKey())); sb.append("\n\n"); sb.append("type: `"); @@ -136,7 +132,7 @@ private String generateConfigsInTableFormat(Set configItems, Propert sb.append("\n|"); sb.append(configItem.getPropertyName()); sb.append("\n|"); - sb.append(formatDocs(javaDocProperties.getProperty(configItem.getJavaDocKey()))); + sb.append(javaDocProperties.getProperty(configItem.getJavaDocKey())); if (configItem.getType().equals(Duration.class.getName())) { sb.append("\n_See duration note below_"); hasDurationType = true; @@ -176,10 +172,23 @@ private void recordConfigItems(Set configItems, Element element, Str continue; } - final List annotationMirrors = enclosedElement.getAnnotationMirrors(); - String fieldName = enclosedElement.getSimpleName().toString(); + boolean isStaticField = enclosedElement + .getModifiers() + .stream() + .anyMatch(Modifier.STATIC::equals); + + if (isStaticField) { + continue; + } + String name = ""; String defaultValue = Constants.NO_DEFAULT; + TypeMirror typeMirror = enclosedElement.asType(); + String type = typeMirror.toString(); + Element configGroup = configGroups.get(type); + boolean isConfigGroup = configGroup != null; + String fieldName = enclosedElement.getSimpleName().toString(); + final List annotationMirrors = enclosedElement.getAnnotationMirrors(); for (AnnotationMirror annotationMirror : annotationMirrors) { String annotationName = annotationMirror.getAnnotationType().toString(); @@ -217,11 +226,7 @@ private void recordConfigItems(Set configItems, Element element, Str defaultValue = ""; } - TypeMirror typeMirror = enclosedElement.asType(); - String type = typeMirror.toString(); - - Element configGroup = configGroups.get(type); - if (configGroup != null) { + if (isConfigGroup) { recordConfigItems(configItems, configGroup, name, visibility); } else { TypeElement clazz = (TypeElement) element; @@ -259,69 +264,6 @@ private String getKnownGenericType(DeclaredType declaredType) { return Constants.OPTIONAL_NUMBER_TYPES.get(declaredType.toString()); } - private String formatDocs(String docs) { - if (docs == null) { - return ""; - } - - StringBuilder builder = new StringBuilder(); - - boolean lastEmpty = false; - boolean first = true; - - for (String line : docs.replace("

    ", "\n").split("\n")) { - //process line by line - String trimmed = line.trim(); - //if the lines are empty we only include a single empty line at most, and add a # character - if (trimmed.isEmpty()) { - if (!lastEmpty && !first) { - lastEmpty = true; - builder.append("\n"); - } - continue; - } - //add the newlines - lastEmpty = false; - if (first) { - first = false; - } else { - builder.append("\n"); - } - //replace some special characters, others are taken care of by regex below - builder.append(trimmed.replace("\n", "\n") - .replace("

      ", "") - .replace("
    ", "") - .replace("
  • ", " - ") - .replace("
  • ", "")); - } - - String ret = builder.toString(); - //replace @code - ret = Constants.JAVA_DOC_CODE_PATTERN.matcher(ret).replaceAll("`$1`"); - //replace @link with a reference to the field name - Matcher matcher = Constants.JAVA_DOC_LINK_PATTERN.matcher(ret); - while (matcher.find()) { - ret = ret.replace(matcher.group(0), "`" + configify(matcher.group(1)) + "`"); - } - - return ret; - } - - private String configify(String group) { - //replace uppercase characters with a - followed by lowercase - StringBuilder ret = new StringBuilder(); - for (int i = 0; i < group.length(); ++i) { - char c = group.charAt(i); - if (Character.isUpperCase(c)) { - ret.append("-"); - ret.append(Character.toLowerCase(c)); - } else { - ret.append(c); - } - } - return ret.toString(); - } - @Override public String toString() { return "GenerateExtensionConfigurationDoc{" + diff --git a/docs/src/main/asciidoc/generated/quarkus-agroal.adoc b/docs/src/main/asciidoc/generated/quarkus-agroal.adoc index 0510950916503..74cebc31c1fbe 100644 --- a/docs/src/main/asciidoc/generated/quarkus-agroal.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-agroal.adoc @@ -35,7 +35,7 @@ type: `java.time.Duration`. _See duration note below_; default value: `2M`. The `quarkus.datasource."".enable-metrics`:: Enable datasource metrics collection. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.datasource."".idle-removal-interval`:: The interval at which we try to remove idle connections. @@ -100,7 +100,7 @@ type: `java.time.Duration`. _See duration note below_; default value: `2M`. The `quarkus.datasource.enable-metrics`:: Enable datasource metrics collection. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.datasource.idle-removal-interval`:: The interval at which we try to remove idle connections. diff --git a/docs/src/main/asciidoc/generated/quarkus-arc.adoc b/docs/src/main/asciidoc/generated/quarkus-arc.adoc index 6d9a997214df3..3ebdcff00a906 100644 --- a/docs/src/main/asciidoc/generated/quarkus-arc.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-arc.adoc @@ -1,9 +1,4 @@ -`quarkus.arc.allowed_remove_unused_beans_values`:: - -type: `java.lang.String`; The configuration is visible at build time only. - - `quarkus.arc.auto-inject-fields`:: If set to true `@Inject` is automatically added to all non-static fields that are annotated with one of the annotations defined by {@link AutoInjectAnnotationBuildItem}. @@ -29,7 +24,7 @@ set out above) If set to fwk, then all unused beans will be removed, except the unused beans whose classes are declared in the application code -@see UnremovableBeanBuildItem +see `UnremovableBeanBuildItem` type: `java.lang.String`; default value: `all`. The configuration is visible at build time only. diff --git a/docs/src/main/asciidoc/generated/quarkus-core-log-config.adoc b/docs/src/main/asciidoc/generated/quarkus-core-log-config.adoc index 8ab9e950c3d1b..084107ee62baf 100644 --- a/docs/src/main/asciidoc/generated/quarkus-core-log-config.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-core-log-config.adoc @@ -11,7 +11,7 @@ type: `java.lang.String`; default value: `inherit`. The configuration is overrid `quarkus.log.console.async`:: Indicates whether to log asynchronously -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.log.console.async.overflow`:: Determine whether to block the publisher (rather than drop the message) when the queue is full @@ -51,7 +51,7 @@ type: `java.util.logging.Level`; default value: `ALL`. The configuration is over `quarkus.log.file.async`:: Indicates whether to log asynchronously -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.log.file.async.overflow`:: Determine whether to block the publisher (rather than drop the message) when the queue is full @@ -64,14 +64,9 @@ type: `org.jboss.logmanager.handlers.AsyncHandler.OverflowAction`; default value type: `int`; default value: `512`. The configuration is overridable at runtime. -`quarkus.log.file.default_log_file_name`:: - -type: `java.lang.String`; The configuration is overridable at runtime. - - `quarkus.log.file.enable`:: If file logging should be enabled -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.log.file.format`:: The log format @@ -133,7 +128,7 @@ type: `java.lang.String`; The configuration is overridable at runtime. `quarkus.log.syslog.async`:: Indicates whether to log asynchronously -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.log.syslog.async.overflow`:: Determine whether to block the publisher (rather than drop the message) when the queue is full @@ -150,12 +145,12 @@ type: `int`; default value: `512`. The configuration is overridable at runtime. {@link org.jboss.logmanager.handlers.SyslogHandler.Protocol#TCP TCP} or {@link org.jboss.logmanager.handlers.SyslogHandler.Protocol#SSL_TCP SSL TCP} protocol -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.log.syslog.enable`:: If syslog logging should be enabled -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.log.syslog.endpoint`:: The IP address and port of the syslog server @@ -200,7 +195,7 @@ type: `boolean`; default value: `true`. The configuration is overridable at runt `quarkus.log.syslog.use-counting-framing`:: Set to `true` if the message being sent should be prefixed with the size of the message -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. [NOTE] diff --git a/docs/src/main/asciidoc/generated/quarkus-elytron-security.adoc b/docs/src/main/asciidoc/generated/quarkus-elytron-security.adoc index b990aed333800..8c750edc1dee0 100644 --- a/docs/src/main/asciidoc/generated/quarkus-elytron-security.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-elytron-security.adoc @@ -6,7 +6,7 @@ type: `java.lang.String`; default value: `BASIC`. The configuration is visible a `quarkus.security.embedded.enabled`:: If the embedded store is enabled. -type: `boolean`; The configuration is visible at build and runtime time, read only at runtime. +type: `boolean`; default value: `false`. The configuration is visible at build and runtime time, read only at runtime. `quarkus.security.embedded.realm-name`:: The authentication mechanism @@ -31,7 +31,7 @@ type: `java.lang.String`; default value: `BASIC`. The configuration is visible a `quarkus.security.file.enabled`:: If the properties store is enabled. -type: `boolean`; The configuration is visible at build and runtime time, read only at runtime. +type: `boolean`; default value: `false`. The configuration is visible at build and runtime time, read only at runtime. `quarkus.security.file.realm-name`:: The authentication mechanism diff --git a/docs/src/main/asciidoc/generated/quarkus-extest.adoc b/docs/src/main/asciidoc/generated/quarkus-extest.adoc index 212efacc800c0..819d6275c9ad4 100644 --- a/docs/src/main/asciidoc/generated/quarkus-extest.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-extest.adoc @@ -1,7 +1,7 @@ `quarkus.rt.all-values.double-primitive`:: a double primitive -type: `double`; The configuration is overridable at runtime. +type: `double`; default value: `0d`. The configuration is overridable at runtime. `quarkus.rt.all-values.expanded-default`:: A configuration item that has a default value that is an expression @@ -16,7 +16,7 @@ type: `java.lang.Long`; The configuration is overridable at runtime. `quarkus.rt.all-values.long-primitive`:: a long primitive -type: `long`; The configuration is overridable at runtime. +type: `long`; default value: `0l`. The configuration is overridable at runtime. `quarkus.rt.all-values.long-value`:: a long value @@ -159,19 +159,9 @@ type: `java.util.List`; The configuration is overridable at ru type: `java.lang.String`; The configuration is overridable at runtime. -`quarkus.root.dsa-key-location`:: - -type: `java.lang.String`; The configuration is visible at build and runtime time, read only at runtime. - - -`quarkus.root.validate-build-config`:: - -type: `boolean`; The configuration is visible at build and runtime time, read only at runtime. - - `quarkus.btrt.all-values.double-primitive`:: a double primitive -type: `double`; The configuration is visible at build and runtime time, read only at runtime. +type: `double`; default value: `0d`. The configuration is visible at build and runtime time, read only at runtime. `quarkus.btrt.all-values.expanded-default`:: A configuration item that has a default value that is an expression @@ -186,7 +176,7 @@ type: `java.lang.Long`; The configuration is visible at build and runtime time, `quarkus.btrt.all-values.long-primitive`:: a long primitive -type: `long`; The configuration is visible at build and runtime time, read only at runtime. +type: `long`; default value: `0l`. The configuration is visible at build and runtime time, read only at runtime. `quarkus.btrt.all-values.long-value`:: a long value @@ -291,7 +281,7 @@ type: `io.quarkus.extest.runtime.config.MyEnum`; The configuration is visible at `quarkus.bt.all-values.double-primitive`:: a double primitive -type: `double`; The configuration is visible at build time only. +type: `double`; default value: `0d`. The configuration is visible at build time only. `quarkus.bt.all-values.expanded-default`:: A configuration item that has a default value that is an expression @@ -306,7 +296,7 @@ type: `java.lang.Long`; The configuration is visible at build time only. `quarkus.bt.all-values.long-primitive`:: a long primitive -type: `long`; The configuration is visible at build time only. +type: `long`; default value: `0l`. The configuration is visible at build time only. `quarkus.bt.all-values.long-value`:: a long value diff --git a/docs/src/main/asciidoc/generated/quarkus-flyway.adoc b/docs/src/main/asciidoc/generated/quarkus-flyway.adoc index 1866adc5fb0c1..1d23f10bb8388 100644 --- a/docs/src/main/asciidoc/generated/quarkus-flyway.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-flyway.adoc @@ -15,7 +15,7 @@ type: `java.lang.String`; The configuration is overridable at runtime. `quarkus.flyway.baseline-on-migrate`:: Enable the creation of the history table if it does not exist already. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.flyway.baseline-version`:: The initial baseline version. @@ -29,11 +29,6 @@ second before attempting to connect again, up to the maximum number of times spe type: `java.lang.Integer`; The configuration is overridable at runtime. -`quarkus.flyway.migrate-at-start`:: - -type: `boolean`; The configuration is overridable at runtime. - - `quarkus.flyway.repeatable-sql-migration-prefix`:: The file name prefix for repeatable SQL migrations. Repeatable SQL migrations have the following file name structure: prefixSeparatorDESCRIPTIONsuffix , which using the diff --git a/docs/src/main/asciidoc/generated/quarkus-hibernate-search-elasticsearch.adoc b/docs/src/main/asciidoc/generated/quarkus-hibernate-search-elasticsearch.adoc index 6684ff14315ab..7f3f40f7bd833 100644 --- a/docs/src/main/asciidoc/generated/quarkus-hibernate-search-elasticsearch.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-hibernate-search-elasticsearch.adoc @@ -1,9 +1,4 @@ -`quarkus.hibernate-search.default-backend`:: - -type: `java.lang.String`; The configuration is visible at build and runtime time, read only at runtime. - - `quarkus.hibernate-search.elasticsearch.analysis-configurer`:: The class or the name of the bean used to configure full text analysis (e.g. analyzers, normalizers). type: `java.lang.Class`; The configuration is visible at build and runtime time, read only at runtime. @@ -42,46 +37,16 @@ any case, if there is a problem, you will have an error when Hibernate Search tr type: `org.hibernate.search.backend.elasticsearch.cfg.ElasticsearchVersion`; The configuration is visible at build and runtime time, read only at runtime. -`quarkus.hibernate-search.elasticsearch.automatic-indexing.enable-dirty-check`:: - -type: `java.lang.Boolean`; The configuration is overridable at runtime. - - -`quarkus.hibernate-search.elasticsearch.automatic-indexing.synchronization-strategy`:: - -type: `org.hibernate.search.mapper.orm.cfg.HibernateOrmAutomaticIndexingSynchronizationStrategyName`; The configuration is overridable at runtime. - - -`quarkus.hibernate-search.elasticsearch.backends."".automatic-indexing.enable-dirty-check`:: - -type: `java.lang.Boolean`; The configuration is overridable at runtime. - - -`quarkus.hibernate-search.elasticsearch.backends."".automatic-indexing.synchronization-strategy`:: - -type: `org.hibernate.search.mapper.orm.cfg.HibernateOrmAutomaticIndexingSynchronizationStrategyName`; The configuration is overridable at runtime. - - `quarkus.hibernate-search.elasticsearch.backends."".connection-timeout`:: The connection timeout. type: `java.time.Duration`. _See duration note below_; The configuration is overridable at runtime. -`quarkus.hibernate-search.elasticsearch.backends."".discovery.default-scheme`:: - -type: `java.lang.String`; The configuration is overridable at runtime. - - `quarkus.hibernate-search.elasticsearch.backends."".discovery.enabled`:: Defines if automatic discovery is enabled. type: `java.lang.Boolean`; The configuration is overridable at runtime. -`quarkus.hibernate-search.elasticsearch.backends."".discovery.refresh-interval`:: - -type: `java.time.Duration`. _See duration note below_; The configuration is overridable at runtime. - - `quarkus.hibernate-search.elasticsearch.backends."".hosts`:: The list of hosts of the Elasticsearch servers. type: `java.lang.String`; The configuration is overridable at runtime. @@ -160,21 +125,11 @@ type: `java.lang.String`; The configuration is overridable at runtime. type: `java.time.Duration`. _See duration note below_; The configuration is overridable at runtime. -`quarkus.hibernate-search.elasticsearch.discovery.default-scheme`:: - -type: `java.lang.String`; The configuration is overridable at runtime. - - `quarkus.hibernate-search.elasticsearch.discovery.enabled`:: Defines if automatic discovery is enabled. type: `java.lang.Boolean`; The configuration is overridable at runtime. -`quarkus.hibernate-search.elasticsearch.discovery.refresh-interval`:: - -type: `java.time.Duration`. _See duration note below_; The configuration is overridable at runtime. - - `quarkus.hibernate-search.elasticsearch.hosts`:: The list of hosts of the Elasticsearch servers. type: `java.lang.String`; The configuration is overridable at runtime. diff --git a/docs/src/main/asciidoc/generated/quarkus-kubernetes.adoc b/docs/src/main/asciidoc/generated/quarkus-kubernetes.adoc index 7c1c002b7c37c..910aa6c766c5e 100644 --- a/docs/src/main/asciidoc/generated/quarkus-kubernetes.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-kubernetes.adoc @@ -1,9 +1,4 @@ -`quarkus.kubernetes.docker.registry`:: - -type: `java.lang.String`; The configuration is visible at build time only. - - `quarkus.kubernetes.group`:: The group of the application. This value will be use as: - docker image repo diff --git a/docs/src/main/asciidoc/generated/quarkus-mailer-impl.adoc b/docs/src/main/asciidoc/generated/quarkus-mailer-impl.adoc index e06adaf0ff1df..8dfce33252784 100644 --- a/docs/src/main/asciidoc/generated/quarkus-mailer-impl.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-mailer-impl.adoc @@ -14,7 +14,7 @@ type: `java.lang.String`; The configuration is overridable at runtime. The RFC-1869 states that clients should always attempt `EHLO` as first command to determine if ESMTP is supported, if this returns an error code, `HELO` is tried to use the regular SMTP command. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.mailer.from`:: Configure the default `from` attribute. @@ -84,7 +84,7 @@ type: `java.lang.Integer`; The configuration is overridable at runtime. `quarkus.mailer.ssl`:: Enables or disables the SSL on connect. `false` by default. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.mailer.start-tls`:: Set the TLS security mode for the connection. @@ -96,7 +96,7 @@ type: `java.lang.String`; The configuration is overridable at runtime. `quarkus.mailer.trust-all`:: Set whether to trust all certificates on ssl connect the option is also applied to `STARTTLS` operation. `false` by default. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.mailer.username`:: The username. diff --git a/docs/src/main/asciidoc/generated/quarkus-neo4j.adoc b/docs/src/main/asciidoc/generated/quarkus-neo4j.adoc index afe1c5974a03a..43558f8d0a88f 100644 --- a/docs/src/main/asciidoc/generated/quarkus-neo4j.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-neo4j.adoc @@ -14,21 +14,6 @@ type: `java.lang.String`; default value: `neo4j`. The configuration is overridab type: `java.lang.String`; default value: `neo4j`. The configuration is overridable at runtime. -`quarkus.neo4j.default_password`:: - -type: `java.lang.String`; The configuration is overridable at runtime. - - -`quarkus.neo4j.default_server_uri`:: - -type: `java.lang.String`; The configuration is overridable at runtime. - - -`quarkus.neo4j.default_username`:: - -type: `java.lang.String`; The configuration is overridable at runtime. - - `quarkus.neo4j.pool.connection-acquisition-timeout`:: Acquisition of new connections will be attempted for at most configured timeout. type: `java.time.Duration`. _See duration note below_; default value: `1M`. The configuration is overridable at runtime. diff --git a/docs/src/main/asciidoc/generated/quarkus-resteasy.adoc b/docs/src/main/asciidoc/generated/quarkus-resteasy.adoc index b78e9ea71faef..44456f6a62c65 100644 --- a/docs/src/main/asciidoc/generated/quarkus-resteasy.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-resteasy.adoc @@ -1,7 +1,7 @@ `quarkus.resteasy.gzip.enabled`:: If gzip is enabled -type: `boolean`; The configuration is visible at build time only. +type: `boolean`; default value: `false`. The configuration is visible at build time only. `quarkus.resteasy.gzip.max-input`:: Maximum deflated file bytes size diff --git a/docs/src/main/asciidoc/generated/quarkus-undertow-websockets.adoc b/docs/src/main/asciidoc/generated/quarkus-undertow-websockets.adoc index 32ef0d63921b0..a5715f9283d10 100644 --- a/docs/src/main/asciidoc/generated/quarkus-undertow-websockets.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-undertow-websockets.adoc @@ -1,10 +1,10 @@ -`quarkus.hot-reload.password`:: +`quarkus.hot-reload.password`:: null type: `java.lang.String`; The configuration is visible at build time only. -`quarkus.hot-reload.url`:: +`quarkus.hot-reload.url`:: null type: `java.lang.String`; The configuration is visible at build time only. diff --git a/docs/src/main/asciidoc/generated/quarkus-undertow.adoc b/docs/src/main/asciidoc/generated/quarkus-undertow.adoc index 1972e4881be7a..0bc02a5ba9a83 100644 --- a/docs/src/main/asciidoc/generated/quarkus-undertow.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-undertow.adoc @@ -7,7 +7,7 @@ type: `java.lang.String`; The configuration is visible at build time only. `quarkus.http.cors`:: Enable the CORS filter. -type: `boolean`; The configuration is visible at build and runtime time, read only at runtime. +type: `boolean`; default value: `false`. The configuration is visible at build and runtime time, read only at runtime. `quarkus.http.cors.exposed-headers`:: HTTP headers exposed in CORS diff --git a/docs/src/main/asciidoc/generated/quarkus-vertx.adoc b/docs/src/main/asciidoc/generated/quarkus-vertx.adoc index 8e886a4a6119d..e7bbfff7d2fe1 100644 --- a/docs/src/main/asciidoc/generated/quarkus-vertx.adoc +++ b/docs/src/main/asciidoc/generated/quarkus-vertx.adoc @@ -11,7 +11,7 @@ type: `boolean`; default value: `true`. The configuration is overridable at runt `quarkus.vertx.cluster.clustered`:: Enables or disables the clustering. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.vertx.cluster.host`:: The host name. @@ -106,7 +106,7 @@ type: `java.lang.Integer`; The configuration is overridable at runtime. `quarkus.vertx.eventbus.reconnect-attempts`:: The number of reconnection attempts. -type: `int`; The configuration is overridable at runtime. +type: `int`; default value: `0`. The configuration is overridable at runtime. `quarkus.vertx.eventbus.reconnect-interval`:: The reconnection interval in milliseconds. @@ -121,7 +121,7 @@ type: `boolean`; default value: `true`. The configuration is overridable at runt `quarkus.vertx.eventbus.reuse-port`:: Whether or not to reuse the port. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.vertx.eventbus.send-buffer-size`:: The send buffer size. @@ -136,12 +136,12 @@ type: `java.lang.Integer`; The configuration is overridable at runtime. `quarkus.vertx.eventbus.ssl`:: Enables or Disabled SSL. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.vertx.eventbus.tcp-keep-alive`:: Whether or not to keep the TCP connection opened (keep-alive). -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.vertx.eventbus.tcp-no-delay`:: Configure the TCP no delay. @@ -156,7 +156,7 @@ type: `java.lang.Integer`; The configuration is overridable at runtime. `quarkus.vertx.eventbus.trust-all`:: Enables or disables the trust all parameter. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.vertx.eventbus.trust-certificate-jks.password`:: Password of the key file. @@ -201,7 +201,7 @@ type: `java.time.Duration`. _See duration note below_; default value: `60`. The `quarkus.vertx.use-async-dns`:: Enables the async DNS resolver. -type: `boolean`; The configuration is overridable at runtime. +type: `boolean`; default value: `false`. The configuration is overridable at runtime. `quarkus.vertx.warning-exception-time`:: The amount of time before a warning is displayed if the event loop is blocked.