All Downloads are FREE. Search and download functionalities are using the official Maven repository.

pplication-engine.6.4.0.source-code.application.properties Maven / Gradle / Ivy

Go to download

System provides workflow management functions including user, role and data management.

There is a newer version: 6.3.3
Show newest version
#Activate profile with maven
spring.profiles.active=@activatedProperties@
spring.main.allow-circular-references=true

# Project version from pom
[email protected]@

# LOGGING
logging.endpoints=false
logging.config=classpath:logback.xml

#REST
spring.data.rest.base-path=/api
spring.data.rest.detection-strategy=annotated
spring.jackson.default-property-inclusion=non_null
spring.mvc.throw-exception-if-no-handler-found=true
spring.servlet.multipart.max-file-size=50MB
spring.servlet.multipart.max-request-size=50MB

# Process Uri
nae.uri.index=${DATABASE_NAME:nae}_uri

# MongoDB
spring.data.mongodb.uri=${MONGO_URI:mongodb://localhost:27017}
#spring.data.mongodb.host=${MONGO_HOST:localhost}
#spring.data.mongodb.port=${MONGO_PORT:27017}
spring.data.mongodb.database=${DATABASE_NAME:nae}
spring.data.mongodb.drop=false
spring.data.mongodb.runner-ensure-index=true
spring.data.mongodb.auto-index-creation=true

# Elasticsearch
spring.data.elasticsearch.cluster-name=elasticsearch
spring.data.elasticsearch.index.petriNet=${DATABASE_NAME:nae}_petrinet
spring.data.elasticsearch.index.case=${DATABASE_NAME:nae}_case
spring.data.elasticsearch.index.task=${DATABASE_NAME:nae}_task
spring.data.elasticsearch.url=${ELASTIC_URL:localhost}
spring.data.elasticsearch.port=${ELASTIC_PORT:9300}
spring.data.elasticsearch.searchport=${ELASTIC_SEARCHPORT:9200}
spring.data.elasticsearch.drop=false
spring.data.elasticsearch.executors.size=500
spring.data.elasticsearch.executors.timeout=5
spring.data.elasticsearch.reindex=0 0 * * * *
spring.data.elasticsearch.reindexExecutor.size=20
spring.data.elasticsearch.reindexExecutor.timeout=60

# Mail Service
nae.mail.from=${MAIL_FROM:[email protected]}
nae.mail.redirect-to.port=${MAIL_DOMAIN_APP_PORT:4200}
nae.mail.redirect-to.host=${MAIL_DOMAIN_APP:localhost}
nae.mail.redirect-to.ssl=${MAIL_SSL_APP:false}

# Mail Sender Config
spring.mail.default-encoding=UTF-8
spring.mail.host=${MAIL_HOST:''}
spring.mail.jndi-name.spring.mail.username=${MAIL_USERNAME:''}
spring.mail.jndi-name.spring.mail.password=${MAIL_PASSWORD:''}
spring.mail.port=${MAIL_PORT:25}
spring.mail.properties.mail.debug=false
spring.mail.properties.mail.smtp.debug=false
spring.mail.properties.mail.smtp.auth=${MAIL_AUTH:false}
spring.mail.properties.mail.smtp.starttls=${MAIL_TLS:true}
spring.mail.protocol=${MAIL_PROTOCOL:smtp}
spring.mail.test-connection=false
spring.mail.smtp.starttls.enable=${MAIL_TLS:true}
spring.mail.smtp.starttls.required=${MAIL_TLS:true}

# Session
spring.session.store-type=redis
spring.session.redis.host=${REDIS_HOST:localhost}
spring.session.redis.port=${REDIS_PORT:6379}
spring.session.redis.namespace=${DATABASE_NAME:nae}

#Security
nae.database.password=${DATABASE_encrypt_password:password}
nae.database.algorithm=PBEWITHSHA256AND256BITAES-CBC-BCE
nae.server.auth.open-registration=${OPEN_REGISTRATION:true}
nae.server.auth.token-validity-period=3
nae.server.auth.minimal-password-length=8
nae.server.auth.enable-profile-edit=true
nae.server.auth.no-authentication-patterns=

nae.server.security.csrf=false
nae.server.security.static.enabled=false
nae.server.security.realm-name=NAE-Realm

#nae.server.security.headers.x-xss-protection=disable
#nae.server.security.headers.x-frame-options=sameorigin
nae.server.security.headers.hsts.enable=true
nae.server.security.headers.hsts.include-sub-domains=true
nae.security.limits.login-attempts=50
nae.security.limits.login-timeout=1
nae.security.limits.login-timeout-unit=DAYS
nae.security.limits.email-sends-attempts=2
nae.security.limits.email-block-duration=1
nae.security.limits.email-block-time-type=DAYS
nae.security.jwt.expiration=900000
nae.security.jwt.algorithm=RSA
nae.security.jwt.private-key=file:src/main/resources/certificates/private.der
nae.security.server-patterns=/api/auth/signup,/api/auth/token/verify,/api/auth/reset,/api/auth/recover,/api/public/**,/v3/api-docs/public
nae.security.anonymous-exceptions=/api/auth/signup,/api/auth/token/verify,/api/auth/reset,/api/auth/recover
springdoc.swagger-ui.enabled=false

# Quartz (this config overwrites quartz.properties resource file)
org.quartz.jobStore.mongoUri=${MONGO_URI:mongodb://localhost:27017}
org.quartz.jobStore.class=com.netgrif.quartz.mongodb.MongoDBJobStore
org.quartz.threadPool.threadCount=1
org.quartz.scheduler.instanceName=netgrif_onloadcode
spring.quartz.properties.org.quartz.scheduler.instanceName=quartz-nae
spring.quartz.properties.org.quartz.jobStore.isClustered=false
nae.quartz.dbName=${DATABASE_NAME:nae}
org.quartz.jobStore.collectionPrefix=netgrif_quartz_

# case field expression runner
nae.expressions.runner.cache-size=200

# PSC
nae.postal.codes.import=true
nae.postal.codes.csv=postal_codes.csv

# Admin
nae.admin.password=${ADMIN_PASSWORD:password}

# Storage
nae.storage.clean=false
nae.storage.path=storage
nae.storage.archived=storage/uploadedModels/
nae.storage.default-type=local

spring.mvc.favicon.enabled=false
spring.main.allow-bean-definition-overriding=true
spring.jackson.serialization.write-dates-as-timestamps=true
server.error.include-stacktrace=never

# PDF generator configuration
nae.pdf.resources.outputFolder=storage
nae.pdf.resources.outputDefaultName=generated_pdf.pdf
nae.pdf.resources.templateResource=file:src/main/resources/pdfGenerator/header_template5.pdf
nae.pdf.resources.font-title-resource=file:src/main/resources/pdfGenerator/fonts/Roboto-Light.ttf
nae.pdf.resources.font-label-resource=file:src/main/resources/pdfGenerator/fonts/Roboto-Light.ttf
nae.pdf.resources.font-value-resource=file:src/main/resources/pdfGenerator/fonts/Roboto-Light.ttf
nae.pdf.resources.check-box-checked-resource=file:src/main/resources/pdfGenerator/img/checkbox_checked.svg
nae.pdf.resources.check-box-un-checked-resource=file:src/main/resources/pdfGenerator/img/checkbox_unchecked.svg
nae.pdf.resources.radio-checked-resource=file:src/main/resources/pdfGenerator/img/radio_checked.svg
nae.pdf.resources.radio-un-checked-resource=file:src/main/resources/pdfGenerator/img/radio_unchecked.svg
nae.pdf.resources.boolean-checked-resource=file:src/main/resources/pdfGenerator/img/radio_checked.svg
nae.pdf.resources.boolean-un-checked-resource=file:src/main/resources/pdfGenerator/img/radio_unchecked.svg

#PROVIDERS
nae.security.providers=NetgrifBasicAuthenticationProvider
#nae.security.providers=NetgrifBasicAuthenticationProvider,NetgrifLdapAuthenticationProvider

#LDAP
nae.ldap.enabled=false
nae.ldap.url=ldap://${LDAP_IP:''}:389
nae.ldap.username=${LDAP_USERNAME:''}
nae.ldap.password=${LDAP_PASSWORD:''}
nae.ldap.base=dc=netgrif,dc=com
nae.ldap.userFilter=cn={0}
nae.ldap.peopleSearchBase=ou=people
nae.ldap.groupSearchBase=ou=groups
nae.ldap.peopleClass=inetOrgPerson,person
#nae.ldap.mapHomeDirectory=displayName

# Impersonation
nae.impersonation.redis-namespace=${DATABASE_NAME:nae}:impersonation:impersonator
nae.impersonation.enabled=${IMPERSONATION_ENABLED:true}

#Groups
nae.group.defaultEnabled=true
nae.group.systemEnabled=true

# Image preview scaling
nae.image.preview.scaling.px=400
nae.validation.setData.enable=false

# Functions and actions cache max size
nae.field-runner.cache-size.actions=500
nae.field-runner.cache-size.functions=500
nae.field-runner.cache-size.namespace-functions=500

# Filter export file name
nae.filter.export.file-name=filters.xml

# Minio
nae.storage.minio.enabled=false




© 2015 - 2025 Weber Informatics LLC | Privacy Policy