Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make JDBC Config Runtime only #220

Merged
merged 1 commit into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/consul.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,8 @@ The result should be: `Hello from Consul` as it is the value obtained from the C

== Run the application as a native executable

You can of course create a native image using the instructions of the link:building-native-image[Building a native executable guide].
You can of course create a native image using the instructions of the
link:https://quarkus.io/guides/building-native-image[Building a native executable guide].

== Configuration Reference

Expand Down
2 changes: 1 addition & 1 deletion docs/modules/ROOT/pages/includes/attributes.adoc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
:quarkus-version: 3.7.1
:quarkus-version: 3.7.2
:quarkus-config-extensions-version: 2.3.0
:maven-version: 3.8.1+

Expand Down
4 changes: 2 additions & 2 deletions docs/modules/ROOT/pages/includes/quarkus-consul-config.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_CONSUL_CONFIG_AGENT_CONNECTION_TIMEOUT+++`
endif::add-copy-button-to-env-var[]
--|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration]
link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format]
link:#duration-note-anchor-{summaryTableId}[icon:question-circle[title=More information about the Duration format]]
|`10s`


Expand All @@ -217,7 +217,7 @@ ifndef::add-copy-button-to-env-var[]
Environment variable: `+++QUARKUS_CONSUL_CONFIG_AGENT_READ_TIMEOUT+++`
endif::add-copy-button-to-env-var[]
--|link:https://docs.oracle.com/javase/8/docs/api/java/time/Duration.html[Duration]
link:#duration-note-anchor-{summaryTableId}[icon:question-circle[], title=More information about the Duration format]
link:#duration-note-anchor-{summaryTableId}[icon:question-circle[title=More information about the Duration format]]
|`60s`


Expand Down
3 changes: 2 additions & 1 deletion docs/modules/ROOT/pages/jdbc.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ The result should be: `Hello from DB` as it is the value obtained from the datab

== Run the application as a native executable

You can of course create a native image using the instructions of the link:building-native-image[Building a native executable guide].
You can of course create a native image using the instructions of the
link:https://quarkus.io/guides/building-native-image[Building a native executable guide].

== Configuration Reference

Expand Down
14 changes: 0 additions & 14 deletions integration-tests/jdbc/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -73,18 +73,4 @@
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>native-image</id>
<activation>
<property>
<name>native</name>
</property>
</activation>
<properties>
<quarkus.package.type>jar</quarkus.package.type>
</properties>
</profile>
</profiles>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ FeatureBuildItem feature() {
void jdbcConfigFactory(
BuildProducer<StaticInitConfigBuilderBuildItem> staticInitConfigBuilder,
BuildProducer<RunTimeConfigBuilderBuildItem> runTimeConfigBuilder) {
staticInitConfigBuilder.produce(new StaticInitConfigBuilderBuildItem(JdbcConfigSourceFactoryBuilder.class.getName()));
runTimeConfigBuilder.produce(new RunTimeConfigBuilderBuildItem(JdbcConfigSourceFactoryBuilder.class.getName()));
}
}
Loading