Skip to content

Commit b4b9744

Browse files
committed
$DRIVER_CLASS_NAME can now be set to define spring.datasource.driverClassName,
which now has a default value of com.mysql.jdbc.Driver
1 parent 313c838 commit b4b9744

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/)
55
and this project adheres to [Semantic Versioning](http://semver.org/).
66

77

8+
## [1.2.3] - 2021-10-13
9+
### Added
10+
- `$DRIVER_CLASS_NAME` can now be set to define `spring.datasource.driverClassName`, which now has a default value of `com.mysql.jdbc.Driver`
11+
12+
## [1.2.2] - 2021-10-13
13+
### Added
14+
- CI: now validating that the backend image built can start without any error, using `$EXIT_AFTER_INIT`
15+
- `$PORT` can now be defined to set the listening port
16+
### Changed
17+
- backend Docker image is now based on `gcr.io/distroless/java:8` instead of `tomcat`
18+
819
## [1.2.1] - 2021-10-04
920
### Fixed
1021
- search by label is now correctly done by the backend - closed #37

vboard-ws/src/main/resources/application.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ spring:
4141
# - create: creates the DB schema, destroying previous data
4242
# - create-drop: drop the schema when the SessionFactory is closed explicitly, typically when the application is stopped
4343
datasource:
44+
driverClassName: ${DRIVER_CLASS_NAME:com.mysql.jdbc.Driver}
4445
url: jdbc:mysql://${VBOARD_DB_HOST}/${MYSQL_DATABASE}
4546
username: ${MYSQL_USER}
4647
password: ${MYSQL_ROOT_PASSWORD}

0 commit comments

Comments
 (0)