123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- # ===================================================================
- # 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: DEBUG
- spring:
- devtools:
- restart:
- enabled: true
- additional-exclude: static/**
- livereload:
- enabled: false # we use Webpack dev server + BrowserSync for livereload
- jackson:
- serialization:
- indent-output: false
- datasource:
- type: com.zaxxer.hikari.HikariDataSource
- url: jdbc:mysql://ruoweiedu.com:13307/cnspjava?useUnicode=true&characterEncoding=utf8&useSSL=false&useLegacyDatetimeCode=false&serverTimezone=UTC&createDatabaseIfNotExist=true&allowPublicKeyRetrieval=true
- username: cnsp
- password: Cns@2021
- hikari:
- poolName: Hikari
- auto-commit: false
- data-source-properties:
- cachePrepStmts: true
- prepStmtCacheSize: 250
- prepStmtCacheSqlLimit: 2048
- useServerPrepStmts: true
- jpa:
- liquibase:
- contexts: dev
- messages:
- cache-duration: PT1S # 1 second, see the ISO 8601 standard
- thymeleaf:
- cache: false
- sleuth:
- sampler:
- probability: 1 # report 100% of traces
- zipkin: # Use the "zipkin" Maven profile to have the Spring Cloud Zipkin dependencies
- base-url: http://localhost:9411
- enabled: false
- locator:
- discovery:
- enabled: true
- server:
- port: 8080
- # ===================================================================
- # JHipster specific properties
- #
- # Full reference is available at: https://www.jhipster.tech/common-application-properties/
- # ===================================================================
- jhipster:
- cache: # Cache configuration
- caffeine: # Caffeine configuration
- time-to-live-seconds: 3600 # By default objects stay 1 hour in the cache. This sets expireAfterWrite in Caffeine (https://github.com/ben-manes/caffeine/wiki/Eviction#time-based)
- 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://192.168.1.20:8000, http://192.168.1.30:8000, http://192.168.1.30:8001, https://192.168.1.30:8001, http://192.168.1.24:8000, https://192.168.1.24:8000'
- 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: NWM4M2RmMTUwZjZkNGY2OTNjNzg5ZmZiMjhlYzZmZTg5MGRiZjA1NjgzMDkyYTQwMWMyODRkNjY3MDgxMjU5ZWVhYzI0ZjliZGNkMDBhOGQxNDkwMDA4MGI3OTA3ZTYwNGMxYWRmODNjMTJkMTJiMTIwNmNkYzIyZmFjMjM5N2E=
- # Token is valid 24 hours
- token-validity-in-seconds: 86400
- token-validity-in-seconds-for-remember-me: 2592000
- 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:
- block-chain:
- # generate with openssl rand -base64 9
- app-id: SHc9yqBK7EAo
- channel-id: 650950ada7525b005e0b6863
- chaincode-id: 65099666570cf400669c8dc5
- base-url: http://172.20.223.197:8081
- ali-cloud:
- enable-sms: false
- access-key-id: LTAI5tMYjV29Hy1XKn3d79YD
- access-key-secret: 48we5KZdx9Bu2OiJ9hmXhQTf2aCut0
- sign-name: 红杉天枰
- evaluation-through-template: SMS_232906758
- evaluation-not-through-template: SMS_232911702
- approval-through-template: SMS_232916792
- filing-through-template: SMS_232906773
- red-check-through-template: SMS_232891848
- red-filing-through-template: SMS_232892121
- add-account: SMS_234136153
- reset-password: SMS_234156180
- regist-deny: SMS_238152682
- reportPath: ./cnsp/report/
- uploadPath: ./cnsp/upload/
- tempPath: ./cnsp/tmp/
- imgPath: ./cnsp/img/
|