Skip to content

Commit

Permalink
Support MariaDB Dev Services in reactive-mysql-client
Browse files Browse the repository at this point in the history
  • Loading branch information
gsmet authored and ebullient committed Jan 24, 2023
1 parent fe86ac8 commit e64e120
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions extensions/reactive-mysql-client/deployment/pom.xml
Expand Up @@ -60,6 +60,10 @@
<groupId>io.quarkus</groupId>
<artifactId>quarkus-devservices-mysql</artifactId>
</dependency>
<dependency>
<groupId>io.quarkus</groupId>
<artifactId>quarkus-devservices-mariadb</artifactId>
</dependency>

<dependency>
<groupId>io.quarkus</groupId>
Expand Down
Expand Up @@ -84,8 +84,9 @@ ServiceStartBuildItem build(BuildProducer<FeatureBuildItem> feature,
}

@BuildStep
DevServicesDatasourceConfigurationHandlerBuildItem devDbHandler() {
return DevServicesDatasourceConfigurationHandlerBuildItem.reactive(DatabaseKind.MYSQL);
List<DevServicesDatasourceConfigurationHandlerBuildItem> devDbHandler() {
return List.of(DevServicesDatasourceConfigurationHandlerBuildItem.reactive(DatabaseKind.MYSQL),
DevServicesDatasourceConfigurationHandlerBuildItem.reactive(DatabaseKind.MARIADB));
}

@BuildStep
Expand Down

0 comments on commit e64e120

Please sign in to comment.