From 8aa18d148255d8fd364ff4ed43d3cdd237fc0595 Mon Sep 17 00:00:00 2001 From: alejandro-du Date: Tue, 11 Oct 2022 16:54:02 +0300 Subject: [PATCH] Fix errors --- api/r2dbc/pom.xml | 8 ++++++-- api/r2dbc/src/main/resources/application.properties | 6 ++++++ client/package-lock.json | 1 + client/src/.env | 0 4 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 client/src/.env diff --git a/api/r2dbc/pom.xml b/api/r2dbc/pom.xml index c8444b2..fcde591 100644 --- a/api/r2dbc/pom.xml +++ b/api/r2dbc/pom.xml @@ -5,7 +5,7 @@ org.springframework.boot spring-boot-starter-parent - 2.3.0.RELEASE + 2.7.4 com.mariadb @@ -30,7 +30,10 @@ org.mariadb r2dbc-mariadb - 1.0.0 + + + io.netty + netty-all org.projectlombok @@ -56,6 +59,7 @@ + ${project.name} org.springframework.boot diff --git a/api/r2dbc/src/main/resources/application.properties b/api/r2dbc/src/main/resources/application.properties index 1b56662..feb88b0 100644 --- a/api/r2dbc/src/main/resources/application.properties +++ b/api/r2dbc/src/main/resources/application.properties @@ -6,3 +6,9 @@ spring.r2dbc.pool.max-size=10 spring.r2dbc.pool.max-idle-time=30m #logging.level.org.springframework.transaction=TRACE #logging.level.org.springframework.data.r2dbc.connectionfactory=DEBUG + +# If you are using MariaDB SkySQL (https://mariadb.com/products/skysql), +# enable SSL and specify the path to the CA chain file that you can download +# from the SkySQL Portal (https://cloud.mariadb.com): +# +# spring.r2dbc.url=r2dbc:mariadb://demo-db0000xxxx.mdb000xxxx.db.skysql.net:5047/places?sslMode=VERIFY_CA&serverSslCert=/path/to/skysql_chain.pem \ No newline at end of file diff --git a/client/package-lock.json b/client/package-lock.json index b16ce94..8bad010 100644 --- a/client/package-lock.json +++ b/client/package-lock.json @@ -5,6 +5,7 @@ "requires": true, "packages": { "": { + "name": "client", "version": "0.1.0", "dependencies": { "dotenv": "^8.2.0", diff --git a/client/src/.env b/client/src/.env new file mode 100644 index 0000000..e69de29