Funktionierendes Monitoring
This commit is contained in:
@ -0,0 +1,75 @@
|
||||
# System properties evaluated by Rola OSGi framework system extension during early OSGi framework boot phase.
|
||||
# Don't set OSGi/Equinox framework properties here (use launcher.system.properties for this use case)!
|
||||
#
|
||||
# Support variable substitution based on system properties and environment variables. Format: ${PROPERTY_OR_ENV_KEY}
|
||||
#
|
||||
# Mandatory (pre-set) system properties:
|
||||
# rola.frameworkconfig : Framework configuration root directory e.g. "C:\...\frameworkconfig"
|
||||
# Support calculated system-properties to access framework configuration root directory:
|
||||
# rola.frameworkconfig.uri : Framework configuration root directory converted to URI, e.g. "file://.../frameworkconfig/"
|
||||
# rola.service.name: Rola Service Name
|
||||
|
||||
# PAX Logging defaults
|
||||
org.ops4j.pax.logging.DefaultServiceLog.level=OFF
|
||||
org.ops4j.pax.logging.service.frameworkEventsLogLevel=DISABLED
|
||||
|
||||
|
||||
# Felix fileinstall
|
||||
felix.fileinstall.dir=${rola.frameworkconfig}/configadmin
|
||||
felix.fileinstall.tmpdir=${rola.work.configuration}/fileinstall-tmp
|
||||
felix.fileinstall.filter=.*\.cfg
|
||||
felix.fileinstall.noInitialDelay=true
|
||||
felix.fileinstall.poll=2000
|
||||
felix.fileinstall.enableConfigSave=false
|
||||
felix.fileinstall.log.level=10
|
||||
|
||||
#Felix configadmin patch
|
||||
org.apache.felix.cm.impl.enablepersistence=false
|
||||
|
||||
# Logging
|
||||
rola.logback.basedir=${rola.frameworkconfig}/logging
|
||||
rola.logback.configfile=${rola.logback.basedir}/logback.xml
|
||||
rola.logfile.path=${rola.work.configuration}/logs
|
||||
rola.logfile.name=${rola.service.name}
|
||||
rola.logfile.suffix=.log
|
||||
|
||||
# Spring actuator support (follows configuration above)
|
||||
logging.file=${rola.logfile.path}/${rola.logfile.name}${rola.logfile.suffix}
|
||||
|
||||
# Rola
|
||||
rola.boot.checkenv.mindiskspace=500
|
||||
# Warn for slow bean creation (ms)
|
||||
com.rola.spring.context.OsgiApplicationContext.slowbeancreation: -1
|
||||
|
||||
##########################################################################################
|
||||
## Vaadin related settings
|
||||
##
|
||||
##########################################################################################
|
||||
org.atmosphere.cpr.broadcaster.maxAsyncWriteThreads=-1
|
||||
|
||||
##########################################################################################
|
||||
## OSGi HTTP Service
|
||||
##
|
||||
## Details/Reference:
|
||||
## http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html
|
||||
##########################################################################################
|
||||
|
||||
#org.osgi.service.http.port=8080
|
||||
#org.osgi.service.http.port.secure=8443
|
||||
org.apache.felix.http.host=0.0.0.0
|
||||
org.apache.felix.http.timeout=600000
|
||||
|
||||
org.apache.felix.http.requestlog.file.path=${rola.logfile.path}/jetty-${rola.service.name}-yyyy_mm_dd.request.log
|
||||
#org.apache.felix.http.requestlog.file.async=false
|
||||
org.apache.felix.http.requestlog.file.loglatency=true
|
||||
org.apache.felix.http.requestlog.file.retaindays=2
|
||||
|
||||
|
||||
# HTTP session timeout in minutes (default: 120, 0=infinite)
|
||||
# Documentation: http://felix.apache.org/documentation/subprojects/apache-felix-http-service.html
|
||||
org.apache.felix.http.session.timeout=120
|
||||
org.eclipse.jetty.servlet.SessionCookie=JSESSIONID
|
||||
org.apache.felix.http.jetty.maxFormSize=1048576
|
||||
|
||||
|
||||
|
@ -0,0 +1,24 @@
|
||||
## Scope
|
||||
bundle.name: com.rola.spring
|
||||
|
||||
## Diagnostic endpoint and actuator security configuration
|
||||
diag.security:
|
||||
## Optional username for "/diag" remote access [development default: "actuator]
|
||||
#user: actuator
|
||||
|
||||
## Optional password hash for "/diag" remote access [format: passwd/htpasswd compatible, default: "actuator#1234"]
|
||||
## Generation tools e.g. openssl or mkpasswd, e.g. "openssl passwd -apr1 -salt salt hello" or "mkpasswd -m sha-256"
|
||||
#password: "$6$iHta0sAPdmS$uwatLr4PTUMtRTlTZxyd5F.u.zth12FWsFhC2.gsT6JPbI7IKmcYAGWN3.BD3Zpn0.4MCt.xfMK81RKCirdbU/"
|
||||
|
||||
## Mandatory spring security access filter expression (https://docs.spring.io/spring-security/site/docs/5.0.x/reference/html/el-access.html) [default: "denyAll()"]
|
||||
#access: "isAuthenticated()"
|
||||
## Other common samples for "access" expression:
|
||||
#access: "isAuthenticated() and (hasIpAddress('127.0.0.1/24') or hasIpAddress('::1'))"
|
||||
#access: "hasIpAddress('127.0.0.1') or hasIpAddress('::1')"
|
||||
access: "permitAll()"
|
||||
#access: "denyAll()"
|
||||
|
||||
## Spring actuator config: enable or disable health endpoint [true|false, default: true]
|
||||
management.endpoint.health.enabled: true
|
||||
## Spring actuator config: configure health endpoint details [when-authorized|always|never, default: when-authorized]
|
||||
management.endpoint.health.show-details: always
|
Reference in New Issue
Block a user