skofgar/mercury

View on GitHub
language-packs/language-connector/src/main/resources/application.properties

Summary

Maintainability
Test Coverage
#
# Application name, version and description are displayed under the management endpoint "/info".
#
# When running under IDE, spring.application.name and info.app.version will be used.
# Otherwise, the application name and version are retrieved from the packaged JAR file.
#
spring.application.name=language-connector
info.app.version=1.0.0
info.app.description=Language Connector for Python and Node.js
#
# Server port when running locally
# This value will be overridden automatically when deployed to cloud
#
websocket.server.port=8090
rest.automation=true
spring.jms.cache.enabled=false
#
# DO NOT CHANGE the URL path for static content
#
spring.mvc.static-path-pattern=/**
#
# Where to load the static files:
#
# For embedded resources --> classpath:/public/
# For files in local file system --> file:/opt/html/
#
# Please add welcome page as "index.html"
#
spring.web.resources.static-locations=classpath:/public/
#
# The root context is used by Spring Boot's
# RequestMapping REST endpoints and static content.
#
# Therefore, JAX-RS REST endpoints must use another URL path like "/api".
# NORMALLY DO NOT CHANGE THIS unless you are using "/api" for something else
#
jax.rs.application.path=/api
#
# scan these packages for JAX-RS endpoints, WebServlets and Spring components
# (use command separated list if more than one package)
#
web.component.scan=com.accenture

#
# websocket configuration
#
#websocket.idle.timeout=60

#
# cloud.connector = none | kafka | hazelcast | activemq | tibco | ...
# cloud.services = comma separated list of optional cloud services
#
cloud.connector=none
#cloud.services=kafka.pubsub

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

#
# If language.pack.key is provided, it is used as the shared secret between the language connector
# and any non-Java application instances that connect to the language connector.
#
# If it is not provided, a random secret key will be generated and saved in /tmp/config folder.
# This is convenient when the language connector is deployed as a sidecar to the non-Java apps.
#
# language.pack.key=secret_key
# or
# language.pack.key=${LANGUAGE_PACK_KEY}
#

#
# health admin endpoint dependencies
#
mandatory.health.dependencies=cloud.connector.health
#optional.health.dependencies=other.service.health

#
# 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