skofgar/mercury

View on GitHub
system/platform-core/src/main/resources/application.properties

Summary

Maintainability
Test Coverage
#
# When running under IDE, this is the application name.
# Otherwise, the application name is retrieved from the packaged JAR file.
#
application.name=platform-core
info.app.version=2.0.0

#
# This parameter is used to inform an application instance that it is running inside a container.
#
# When running.in.cloud=false, the application will create a subfolder with the application-name and origin-ID.
# When running.in.cloud=true, the application will use the transient.data.store.folder directly.
#
# DO NOT set running.in.cloud=true if the application is running with other application instances in the same
# developer's PC.
#
transient.data.store=/tmp/reactive
running.in.cloud=false

#
# Enable/disable REST automation
#
rest.automation=true
#
# websocket configuration
#
websocket.server.port=8085
#websocket.idle.timeout=60

#
# for web and cloud component registration
#
#web.component.scan=org.platformlambda
#cloud.component.scan=org.platformlambda

#
# cloud.connector = none | hazelcast | kafka | ...
# cloud.services = comma separated list of optional cloud services
#
cloud.connector=none
#cloud.services=some.other.cloud.services

#
# advanced features
#
snake.case.serialization=true

#
# additional security to protect against model injection to avoid deserialization security vulnerability
# comma separated list of model packages that are considered safe to be used for object deserialization
#
# Uncomment and change it to your permitted packages
#
#safe.data.models=org.platformlambda

#
# Optional user defined "distributed trace processor"
#
# If this named service is available anywhere in the system, we will forward
# all distributed tracing information to it so that you may save it to a database
# or search engine for visualization in a UI. Alternatively, you may also reformat
# the tracing information and forward them to an external distributed tracing server
# for centralized processing.
#
distributed.trace.processor = 'distributed.trace.processor'

#
# route substitution
#
application.feature.route.substitution=false
# you can define a route substitution table in a yaml file
#route.substitution.file=file:/tmp/config/route-substitution.yaml, classpath:/route-substitution.yaml
# or enter them in a comma separated list. The format of each entry is a:b where b replaces a
#route.substitution=hello.test:hello.world

#
# automatic logging of trace-ID (aka correlation-ID)
# (default is X-Trace-Id)
#
# Important:
# 1. If you change this header, you must update the corresponding log4j.xml's PatternLayout string
# 2. trace.log.header is case-sensitive
#
trace.log.header=X-Trace-Id

#
# multicast configuration file
# may be provided in classpath or file location
# e.g.
# classpath:/multicast.yaml
# file:/tmp/multicast.yaml
#
# Sample config file
# ------------------
# multicast:
# - source: "v1.hello.world"
# - target:
# - "v1.hello.service.1"
# - "v1.hello.service.2"
# - "v1.hello.service.3"
#
#multicast.yaml=classpath:/multicast.yaml

#
# Sample journal config file
# --------------------------
#
# journal:
#   - "my.function.1"
#   - "my.function.2"
#
#journal.yaml=classpath:/journal.yaml

distributed.trace.aggregation=true