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.
94 lines
3.9 KiB
94 lines
3.9 KiB
|
|
server.servlet.context-path=/foodapi
|
|
management.endpoints.jmx.unique-names=true
|
|
# This is needed to force use of JDK proxies instead of using CGLIB
|
|
spring.aop.proxy-target-class=false
|
|
spring.aop.auto=false
|
|
|
|
#
|
|
# SECURITY
|
|
#
|
|
spring.security.filter.dispatcher-types=REQUEST,FORWARD,ASYNC
|
|
spring.liquibase.enabled=false
|
|
spring.banner.location=classpath:/org/flowable/spring/boot/flowable-banner.txt
|
|
# The default domain for generating ObjectNames must be specified. Otherwise when multiple Spring Boot applications start in the same servlet container
|
|
# all would be created with the same name (com.zaxxer.hikari:name=dataSource,type=HikariDataSource) for example
|
|
spring.jmx.default-domain=/
|
|
|
|
# Expose all actuator endpoints to the web
|
|
# They are exposed, but only authenticated users can see /info and /health abd users with access-admin can see the others
|
|
management.endpoints.web.exposure.include=*
|
|
# Full health details should only be displayed when a user is authorized
|
|
management.endpoint.health.show-details=when_authorized
|
|
# Only users with role access-admin can access full health details
|
|
management.endpoint.health.roles=access-admin
|
|
# Spring prefixes the roles with ROLE_. However, Flowable does not have that concept yet, so we need to override that with an empty string
|
|
flowable.common.app.role-prefix=
|
|
|
|
#
|
|
# DATABASE
|
|
#
|
|
|
|
#spring.datasource.driver-class-name=org.h2.Driver
|
|
#spring.datasource.url=jdbc:h2:~/flowable-db/db;AUTO_SERVER=TRUE;AUTO_SERVER_PORT=9091;DB_CLOSE_DELAY=-1
|
|
|
|
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
|
|
spring.datasource.url=jdbc:mysql://127.0.0.1:3306/jyzz4?characterEncoding=UTF-8&&serverTimezone=Asia/Shanghai
|
|
|
|
#spring.datasource.driver-class-name=org.postgresql.Driver
|
|
#spring.datasource.url=jdbc:postgresql://localhost:5432/flowablemodeler
|
|
|
|
#spring.datasource.driver-class-name=com.microsoft.sqlserver.jdbc.SQLServerDriver
|
|
#spring.datasource.url=jdbc:sqlserver://localhost:1433;databaseName=flowablemodeler
|
|
|
|
#spring.datasource.driver-class-name=oracle.jdbc.driver.OracleDriver
|
|
#spring.datasource.url=jdbc:oracle:thin:@localhost:1521:FLOWABLEMODELER
|
|
|
|
#spring.datasource.driver-class-name=com.ibm.db2.jcc.DB2Driver
|
|
#spring.datasource.url=jdbc:db2://localhost:50000/flowablemodeler
|
|
|
|
spring.datasource.username=jyjz
|
|
spring.datasource.password=jyjz
|
|
blobType=BLOB
|
|
boolValue=TRUE
|
|
prefix=
|
|
spring.datasource.hikari.poolName=/
|
|
# 10 minutes
|
|
spring.datasource.hikari.maxLifetime=600000
|
|
# 5 minutes
|
|
spring.datasource.hikari.idleTimeout=300000
|
|
spring.datasource.hikari.minimumIdle=5
|
|
spring.datasource.hikari.maximumPoolSize=50
|
|
# test query for H2, MySQL, PostgreSQL and Microsoft SQL Server
|
|
#spring.datasource.hikari.connection-test-query=select 1
|
|
# test query for Oracle
|
|
#spring.datasource.hikari.connection-test-query=SELECT 1 FROM DUAL
|
|
# test query for DB2
|
|
#spring.datasource.hikari.connection-test-query=SELECT current date FROM sysibm.sysdummy1
|
|
|
|
# The maximum file upload limit. Set to -1 to set to 'no limit'. Expressed in bytes
|
|
spring.servlet.multipart.max-file-size=10MB
|
|
|
|
flowable.common.app.idm-url=http://127.0.0.1:9090/foodapi/flowable-idm
|
|
flowable.common.app.idm-admin.user=admin
|
|
flowable.common.app.idm-admin.password=test
|
|
|
|
#flowable.modeler.app.deployment-api-url=http://localhost:9090/flowable-task/app-api
|
|
|
|
|
|
# Rest API
|
|
|
|
flowable.modeler.app.rest-enabled=true
|
|
|
|
# Configures the way user credentials are verified when doing a REST API call:
|
|
# 'any-user' : the user needs to exist and the password need to match. Any user is allowed to do the call (this is the pre 6.3.0 behavior)
|
|
# 'verify-privilege' : the user needs to exist, the password needs to match and the user needs to have the 'rest-api' privilege
|
|
# If nothing set, defaults to 'verify-privilege'
|
|
flowable.rest.app.authentication-mode=verify-privilege
|
|
|
|
# Set the tenant_id
|
|
# For the modeler this determines under which tenant_id to store and publish models
|
|
# When not provided, empty or only contains whitespace it defaults to the user's tenant id if available
|
|
# otherwise it uses no tenant id
|
|
#flowable.common.app.tenant-id=demo
|