Skip to content

armgit / floci

Public Imported from GitHub
0

Light, fluffy, and always free - The AWS Local Emulator alternative

fix: add native MySQL JDBC support for RDS Data API (#1352)

devansh-jain-18174bb81dbfb7
diff --git a/pom.xml b/pom.xml
index 509ab8b0f5..bd36127949 100644
--- a/pom.xml
+++ b/pom.xml
@@ -230,9 +230,8 @@
<artifactId>jackson-annotations</artifactId>
</dependency>
<dependency>
- <groupId>com.mysql</groupId>
- <artifactId>mysql-connector-j</artifactId>
- <version>8.3.0</version>
+ <groupId>io.quarkus</groupId>
+ <artifactId>quarkus-jdbc-mysql</artifactId>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml
index 16fe54d1cb..608778c040 100644
--- a/src/main/resources/application.yml
+++ b/src/main/resources/application.yml
@@ -11,6 +11,8 @@ quarkus:
host: 0.0.0.0
limits:
max-body-size: ${floci.max-request-size}M
+ datasource:
+ active: false
security:
security-providers: BC
shutdown:
diff --git a/src/test/resources/application.yml b/src/test/resources/application.yml
index ecdfdfb23b..b0afe5de3b 100644
--- a/src/test/resources/application.yml
+++ b/src/test/resources/application.yml
@@ -4,6 +4,8 @@ quarkus:
test-port: 0
limits:
max-body-size: ${floci.max-request-size}M
+ datasource:
+ active: false
floci:
base-url: "http://localhost:4566"