You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
			
				
					224 lines
				
				10 KiB
			
		
		
			
		
	
	
					224 lines
				
				10 KiB
			| 
											2 years ago
										 | ########################################################################## | ||
|  | #(100) excluded auto configuration - io.sc.platform.core | ||
|  | ########################################################################## | ||
|  | spring.autoconfigure.exclude = | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(150) application configuration - io.sc.platform.core | ||
|  | ########################################################################## | ||
|  | # - io.sc.platform.core | ||
|  | application.audit-log-mode = none | ||
|  | #application.audit-log-mode = none | ||
|  | #application.audit-log-mode = log | ||
|  | #application.audit-log-mode = database | ||
|  | # - io.sc.platform.installer | ||
|  | application.installer.enabled = true | ||
|  | # - io.sc.platform.jdbc.liquibase | ||
|  | application.updater.enabled = true | ||
|  | # - io.sc.platform.security | ||
|  | application.default-password = password | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(200) spring.main configuration - io.sc.platform.core | ||
|  | ########################################################################## | ||
|  | spring.main.allow-bean-definition-overriding = false | ||
|  | spring.main.banner-mode = console | ||
|  | spring.main.lazy-initialization = false | ||
|  | spring.main.log-startup-info = true | ||
|  | spring.main.register-shutdown-hook = true | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(210) jasypt encryptor configuration - io.sc.platform.core | ||
|  | ########################################################################## | ||
|  | jasypt.encryptor.bean = platformJasyptStringEncryptor | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(300) web server configuration - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | #server.address = 127.0.0.1 | ||
|  | server.port = 8080 | ||
|  | server.servlet.context-path = / | ||
|  | server.servlet.session.timeout = 30m | ||
|  | server.error.path = /error | ||
|  | server.error.whitelabel.enabled = true | ||
|  | server.error.include-exception = true | ||
|  | server.error.include-binding-errors = always | ||
|  | server.error.include-message = always | ||
|  | server.error.include-stacktrace = always | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(1000) dataSource configuration - io.sc.platform.jdbc | ||
|  | ########################################################################## | ||
|  | spring.datasource.items[primary].driver-class-name = org.h2.Driver | ||
|  | spring.datasource.items[primary].url = jdbc:h2:mem:DB_PLATFORM;DB_CLOSE_DELAY=-1 | ||
|  | spring.datasource.items[primary].username = platform | ||
|  | spring.datasource.items[primary].password = platform | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(1100) jpa configuration - io.sc.platform.orm.jpa | ||
|  | ########################################################################## | ||
|  | spring.jpa.open-in-view = false | ||
|  | spring.jpa.show-sql = false | ||
|  | spring.jpa.generate-ddl = false | ||
|  | spring.jpa.hibernate.ddl-auto = none | ||
|  | spring.jpa.hibernate.jdbc.batch_size = 25 | ||
|  | spring.jpa.properties.hibernate.enable_lazy_load_no_trans =true | ||
|  | spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.H2Dialect | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(1500) hikari configuration - io.sc.platform.jdbc | ||
|  | ########################################################################## | ||
|  | #spring.datasource.items[primary].hikari.autoCommit = true | ||
|  | #spring.datasource.items[primary].hikari.connectionTimeout = 10000 | ||
|  | #spring.datasource.items[primary].hikari.idleTimeout = 600000 | ||
|  | #spring.datasource.items[primary].hikari.maxLifetime = 1800000 | ||
|  | #spring.datasource.items[primary].hikari.minimumIdle = 10 | ||
|  | #spring.datasource.items[primary].hikari.maximumPoolSize = 10 | ||
|  | #spring.datasource.items[primary].hikari.metricRegistry = | ||
|  | #spring.datasource.items[primary].hikari.healthCheckRegistry = | ||
|  | #spring.datasource.items[primary].hikari.poolName = | ||
|  | #spring.datasource.items[primary].hikari.initializationFailTimeout = 1 | ||
|  | #spring.datasource.items[primary].hikari.isolateInternalQueries = false | ||
|  | #spring.datasource.items[primary].hikari.allowPoolSuspension = false | ||
|  | #spring.datasource.items[primary].hikari.readOnly = false | ||
|  | #spring.datasource.items[primary].hikari.registerMbeans = false | ||
|  | #spring.datasource.items[primary].hikari.catalog = | ||
|  | #spring.datasource.items[primary].hikari.connectionInitSql = | ||
|  | #spring.datasource.items[primary].hikari.driverClassName = | ||
|  | #spring.datasource.items[primary].hikari.transactionIsolation = | ||
|  | #spring.datasource.items[primary].hikari.validationTimeout = 5000 | ||
|  | #spring.datasource.items[primary].hikari.leakDetectionThreshold = 0 | ||
|  | #spring.datasource.items[primary].hikari.dataSource = | ||
|  | #spring.datasource.items[primary].hikari.schema = | ||
|  | #spring.datasource.items[primary].hikari.threadFactory = | ||
|  | #spring.datasource.items[primary].hikari.scheduledExecutor = | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(2100) spring.session configuration - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | spring.session.store-type = none | ||
|  | #spring.session.store-type = jdbc | ||
|  | #spring.session.store-type = redis | ||
|  | spring.session.jdbc.initializer.enabled = false | ||
|  | spring.session.jdbc.cleanup-cron = 0 */5 * * * * | ||
|  | spring.session.redis.namespace = spring:session | ||
|  | spring.session.redis.cleanupCron = 0 */5 * * * * | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(2200) spring web configuration (WebProperties) - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | spring.web.resources.add-mappings = true | ||
|  | spring.web.resources.cache.cachecontrol.cache-public = true | ||
|  | spring.web.resources.cache.cachecontrol.must-revalidate = true | ||
|  | spring.web.resources.chain.cache = true | ||
|  | spring.web.resources.chain.compressed = true | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(2300) management http server configuration - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | management.endpoints.enabled-by-default = true | ||
|  | management.endpoints.web.exposure.include = * | ||
|  | management.context-path = /actuator | ||
|  | management.security.enabled = false | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(2400) thymeleaf configuration - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | spring.thymeleaf.enabled = true | ||
|  | spring.thymeleaf.cache = false | ||
|  | spring.thymeleaf.encoding = UTF-8 | ||
|  | spring.thymeleaf.mode = HTML | ||
|  | spring.thymeleaf.prefix = classpath:/templates/ | ||
|  | spring.thymeleaf.check-template = false | ||
|  | spring.thymeleaf.check-template-location = false | ||
|  | spring.thymeleaf.servlet.content-type = text/html | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(2500) jackson configuration - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | spring.jackson.time-zone = Asia/Shanghai | ||
|  | spring.jackson.date-format = yyyy-MM-dd HH:mm:ss | ||
|  | spring.jackson.serialization.indent_output = true | ||
|  | spring.jackson.serialization.fail_on_empty_beans = false | ||
|  | spring.jackson.deserialization.fail_on_ignored_properties = false | ||
|  | spring.jackson.parser.allow_comments = true | ||
|  | spring.jackson.parser.allow_single_quotes = true | ||
|  | spring.jackson.parser.allow_trailing_comma = true | ||
|  | spring.jackson.parser.allow_unquoted_field_names = true | ||
|  | spring.jackson.parser.ignore_undefined = true | ||
|  | spring.jackson.parser.allow_unquoted_control_chars = true | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(2600) i18n message source configuration - io.sc.platform.mvc | ||
|  | ########################################################################## | ||
|  | spring.messages.alwaysUseMessageFormat = false | ||
|  | spring.messages.cacheDuration = -1 | ||
|  | spring.messages.encoding = UTF-8 | ||
|  | spring.messages.fallbackToSystemLocale = false | ||
|  | spring.messages.useCodeAsDefaultMessage = true | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(3000) platform security configuration - io.sc.platform.security.loginform | ||
|  | ########################################################################## | ||
|  | spring.security.formLogin.loginPage = /login | ||
|  | spring.security.formLogin.loginProcessingUrl = /login | ||
|  | spring.security.formLogin.failureUrl = /login-error | ||
|  | spring.security.logout.logoutUrl = /logout | ||
|  | spring.security.logout.logoutSuccessUrl = / | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(4000) email configuration - io.sc.platform.communication | ||
|  | ########################################################################## | ||
|  | spring.mail.host=zzz.xxx.yyy | ||
|  | spring.mail.port=25 | ||
|  | spring.mail.protocol=smtp | ||
|  | spring.mail.test-connection=false | ||
|  | spring.mail.default-encoding=UTF-8 | ||
|  | spring.mail.properties.mail.smtp.auth=true | ||
|  | spring.mail.username=xxx | ||
|  | spring.mail.password=yyy | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(5000) flowable bpm configuration - io.sc.platform.flowable | ||
|  | ########################################################################## | ||
|  | # core | ||
|  | flowable.asyncExecutorActivate =false | ||
|  | flowable.asyncHistoryExecutorActivate = false | ||
|  | flowable.check-process-definitions=false | ||
|  | flowable.custom-mybatis-mappers= | ||
|  | flowable.custom-mybatis-x-m-l-mappers= | ||
|  | flowable.database-schema= | ||
|  | flowable.database-schema-update=true | ||
|  | flowable.db-history-used=true | ||
|  | flowable.deployment-name=SpringBootAutoDeployment | ||
|  | flowable.history-level= | ||
|  | flowable.process-definition-location-prefix=classpath*:/processes/ | ||
|  | flowable.process-definition-location-suffixes=**.bpmn20.xml,**.bpmn | ||
|  | # process | ||
|  | flowable.process.definition-cache-limit=-1 | ||
|  | flowable.process.enable-safe-xml=true | ||
|  | flowable.process.servlet.load-on-startup=-1 | ||
|  | flowable.process.servlet.name=Flowable BPMN Rest API | ||
|  | flowable.process.servlet.path=/process-api | ||
|  | # cmmn | ||
|  | flowable.cmmn.enabled=false | ||
|  | # content | ||
|  | flowable.content.enabled=false | ||
|  | # dmn | ||
|  | flowable.dmn.enabled=false | ||
|  | # form | ||
|  | flowable.form.enabled=false | ||
|  | # idm | ||
|  | flowable.idm.enabled=false | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(8000) cxf configuration - io.sc.platform.ws.cxf | ||
|  | ########################################################################## | ||
|  | cxf.path = /webservices | ||
|  | 
 | ||
|  | ########################################################################## | ||
|  | #(9000) p6spy configuration - io.sc.platform.jdbc | ||
|  | ########################################################################## | ||
|  | p6spy.enabled = true | ||
|  | p6spy.ignorePattern = false |