| server: |
| port: 10801 |
| spring: |
| application: |
| name: weather-service |
| datasource: |
| url: jdbc:p6spy:mysql://mysql-32047d34-drzhong2015-f6dc.i.aivencloud.com:25876/weather_test?useUnicode=true&characterEncoding=UTF-8&serverTimezone=UTC&useSSL=${mysql-ssl} |
| username: avnadmin |
| password: ${AIVEN_DB_PASSWORD} |
| driver-class-name: com.p6spy.engine.spy.P6SpyDriver |
| |
| jackson: |
| date-format: yyyy-MM-dd HH:mm:ss |
| time-zone: GMT+8 |
| mybatis-plus: |
| configuration: |
| map-underscore-to-camel-case: true |
| mapper-locations: classpath:/mapper/**/*.xml |
| global-config: |
| db-config: |
| id-type: auto |
| logic-delete-value: 1 |
| logic-not-delete-value: 0 |
|
|
|
|
| mysql-ssl: true&verifyServerCertificate=true&requireSSL=true&clientCertificateKeyStoreUrl=classpath:mysql_ssl/mysql-keystore&clientCertificateKeyStorePassword=abc123&trustCertificateKeyStoreUrl=classpath:mysql_ssl/mysql-truststore&trustCertificateKeyStorePassword=123456 |
| |
| cron: |
| |
| schedule: "0 45 00 * * ?" |
|
|