# =================================================================== # Spring Boot configuration for the "dev" profile. # # This configuration overrides the application.yml file. # # More information on profiles: https://www.jhipster.tech/profiles/ # More information on configuration properties: https://www.jhipster.tech/common-application-properties/ # =================================================================== # =================================================================== # Standard Spring Boot properties. # Full reference is available at: # http://docs.spring.io/spring-boot/docs/current/reference/html/common-application-properties.html # =================================================================== logging: level: ROOT: DEBUG tech.jhipster: DEBUG org.hibernate.SQL: DEBUG com.ruowei.ecsp: DEBUG spring: devtools: restart: enabled: true additional-exclude: static/** livereload: enabled: false # we use Webpack dev server + BrowserSync for livereload jackson: serialization: indent-output: true datasource: type: com.zaxxer.hikari.HikariDataSource # office main url: jdbc:mysql://localhost:3309/slibra_prod?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true username: root password: Aaa@123456 # local czz # url: jdbc:mysql://localhost:3306/clibra_test?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true # username: root # password: asdf222757 # office test # url: jdbc:mysql://192.168.1.160:3307/cnspjava_test?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true # username: cnsptest # password: Cnsptest@2021 hikari: poolName: Hikari auto-commit: false data-source-properties: cachePrepStmts: true prepStmtCacheSize: 250 prepStmtCacheSqlLimit: 2048 useServerPrepStmts: true jpa: liquibase: contexts: dev mail: host: localhost port: 25 username: password: messages: cache-duration: PT1S # 1 second, see the ISO 8601 standard thymeleaf: cache: false server: port: 8082 # =================================================================== # JHipster specific properties # # Full reference is available at: https://www.jhipster.tech/common-application-properties/ # =================================================================== jhipster: cache: # Cache configuration ehcache: # Ehcache configuration time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache max-entries: 100 # Number of objects in each cache entry # CORS is only enabled by default with the "dev" profile cors: # Allow Ionic for JHipster by default (* no longer allowed in Spring Boot 2.4+) allowed-origins: 'http://localhost:8000,https://localhost:8000,http://localhost:8001,https://localhost:8001,http://localhost:9000,https://localhost:9000,http://192.168.1.24:8002,https://192.168.1.24:8002,http://192.168.1.24:8000,https://192.168.1.30:8000,http://localhost:4200,https://localhost:4200' # Enable CORS when running in GitHub Codespaces allowed-origin-patterns: 'https://*.githubpreview.dev' allowed-methods: '*' allowed-headers: '*' exposed-headers: 'Authorization,Link,X-Total-Count,X-${jhipster.clientApp.name}-alert,X-${jhipster.clientApp.name}-error,X-${jhipster.clientApp.name}-params' allow-credentials: true max-age: 1800 security: authentication: jwt: # This token must be encoded using Base64 and be at least 256 bits long (you can type `openssl rand -base64 64` on your command line to generate a 512 bits one) base64-secret: mq9dl9UppW5cr8fiZ/yLFpUnTonEF7xxLbsrj3uKOTegmtIEy4jeHeqKxja6sxlt8HlYAzOVpe9VUF9am7zUow== # Token is valid 24 hours token-validity-in-seconds: 86400 token-validity-in-seconds-for-remember-me: 2592000 mail: # specific JHipster mail property, for standard properties see MailProperties base-url: http://127.0.0.1:8080 logging: use-json-format: false # By default, logs are not in Json format logstash: # Forward logs to logstash over a socket, used by LoggingConfiguration enabled: false host: localhost port: 5000 queue-size: 512 # =================================================================== # Application specific properties # Add your own application properties here, see the ApplicationProperties class # to have type-safe configuration, like in the JHipsterProperties above # # More documentation is available at: # https://www.jhipster.tech/common-application-properties/ # =================================================================== application: ali-cloud: enable-sms: false access-key-id: LTAI5tMYjV29Hy1XKn3d79YD access-key-secret: 48we5KZdx9Bu2OiJ9hmXhQTf2aCut0 sign-name: 红杉天枰 message-add-template: SMS_246080076 # reportPath: /data/projects/ecsp/report/ uploadPath: /data/projects/clibra/upload/ ecspUploadPath: /data/projects/clibra/upload/