From 37635002778afdc08c1f3f391bb2d56e0979f768 Mon Sep 17 00:00:00 2001 From: William Harrington Date: Wed, 12 Feb 2025 15:58:52 -0600 Subject: migrate from properties file to yaml. --- src/main/resources/application.properties | 15 --------------- src/main/resources/application.yml | 24 ++++++++++++++++++++++++ 2 files changed, 24 insertions(+), 15 deletions(-) delete mode 100644 src/main/resources/application.properties create mode 100644 src/main/resources/application.yml (limited to 'src/main') diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties deleted file mode 100644 index f6a7814..0000000 --- a/src/main/resources/application.properties +++ /dev/null @@ -1,15 +0,0 @@ -spring.application.name=builddb - -spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver -spring.datasource.url=jdbc:mysql://nucleus.berzerkula.org:3306/builddb_users -spring.datasource.username=kb0iic -spring.datasource.password=ENC(1xjvlowHDUgzAYCjEEaYcSQOQHL2SHo8) - -spring.jpa.show-sql=true -spring.jpa.hibernate.ddl-auto=update - -jasypt.encryptor.algorithm=PBEWithMD5AndDES -jasypt.encryptor.iv-generator-classname=org.jasypt.iv.NoIvGenerator -jasypt.encryptor.password=builddb - -management.endpoints.web.exposure.include=* \ No newline at end of file diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000..bd6e0f8 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,24 @@ +spring: + application: + name: builddb + datasource: + driver-class-name: com.mysql.cj.jdbc.Driver + url: jdbc:mysql://nucleus.berzerkula.org:3306/builddb_users + username: kb0iic + password: ENC(1xjvlowHDUgzAYCjEEaYcSQOQHL2SHo8) + jpa: + show-sql: true + hibernate: + ddl-auto: update + +jasypt: + encryptor: + algorithm: PBEWithMD5AndDES + iv-generator-classname: org.jasypt.iv.NoIvGenerator + password: builddb + +management: + endpoints: + web: + exposure: + include: "*" \ No newline at end of file -- cgit v1.2.3-54-g00ecf