mirror of
https://github.com/Telecominfraproject/wlan-cloud-ucentralfms.git
synced 2025-10-28 17:32:20 +00:00
145 lines
4.8 KiB
Plaintext
145 lines
4.8 KiB
Plaintext
#
|
|
# uCentral protocol server for devices. This is where you point
|
|
# all your devices. You can replace the * for address by the specific
|
|
# address of one of your interfaces
|
|
#
|
|
#
|
|
# REST API access
|
|
#
|
|
ucentralfws.restapi.host.0.backlog = 100
|
|
ucentralfws.restapi.host.0.security = relaxed
|
|
ucentralfws.restapi.host.0.rootca = $UCENTRALFMS_ROOT/certs/restapi-ca.pem
|
|
ucentralfws.restapi.host.0.address = *
|
|
ucentralfws.restapi.host.0.port = 16004
|
|
ucentralfws.restapi.host.0.cert = $UCENTRALFMS_ROOT/certs/restapi-cert.pem
|
|
ucentralfws.restapi.host.0.key = $UCENTRALFMS_ROOT/certs/restapi-key.pem
|
|
ucentralfws.restapi.host.0.key.password = mypassword
|
|
|
|
ucentral.internal.restapi.host.0.backlog = 100
|
|
ucentral.internal.restapi.host.0.security = relaxed
|
|
ucentral.internal.restapi.host.0.rootca = $UCENTRALFMS_ROOT/certs/restapi-ca.pem
|
|
ucentral.internal.restapi.host.0.address = *
|
|
ucentral.internal.restapi.host.0.port = 17004
|
|
ucentral.internal.restapi.host.0.cert = $UCENTRALFMS_ROOT/certs/restapi-cert.pem
|
|
ucentral.internal.restapi.host.0.key = $UCENTRALFMS_ROOT/certs/restapi-key.pem
|
|
ucentral.internal.restapi.host.0.key.password = mypassword
|
|
|
|
#
|
|
# Generic section that all microservices must have
|
|
#
|
|
ucentral.service.key = $UCENTRALFMS_ROOT/certs/restapi-key.pem
|
|
ucentral.service.key.password = mypassword
|
|
ucentral.system.data = $UCENTRALFMS_ROOT/data
|
|
ucentral.system.debug = false
|
|
ucentral.system.uri.private = https://localhost:17004
|
|
ucentral.system.uri.public = https://local.dpaas.arilia.com:16004
|
|
ucentral.system.uri.ui = ucentral-ui.arilia.com
|
|
ucentral.system.commandchannel = /tmp/app.ucentralfms
|
|
|
|
#
|
|
# Firmware Microservice Specific Section
|
|
#
|
|
s3.endpointOverride = 172.31.30.127:9000
|
|
s3.endpoint.https = false
|
|
s3.useVirtualAdressing = false
|
|
s3.bucketname = ucentral-ap-firmware
|
|
s3.region = us-east-1
|
|
s3.secret = ****************************
|
|
s3.key = **************************
|
|
s3.retry = 60
|
|
s3.bucket.uri = ucentral-ap-firmware.s3.amazonaws.com
|
|
|
|
#############################
|
|
# Generic information for all micro services
|
|
#############################
|
|
#
|
|
# NLB Support
|
|
#
|
|
alb.enable = true
|
|
alb.port = 16104
|
|
|
|
#
|
|
# Kafka
|
|
#
|
|
ucentral.kafka.group.id = firmware
|
|
ucentral.kafka.client.id = firmware1
|
|
ucentral.kafka.enable = true
|
|
# ucentral.kafka.brokerlist = a1.arilia.com:9092
|
|
ucentral.kafka.brokerlist = debfarm1-node-c.arilia.com:9092
|
|
ucentral.kafka.auto.commit = false
|
|
ucentral.kafka.queue.buffering.max.ms = 50
|
|
|
|
#
|
|
# This section select which form of persistence you need
|
|
# Only one selected at a time. If you select multiple, this service will die if a horrible
|
|
# death and might make your beer flat.
|
|
#
|
|
storage.type = sqlite
|
|
#storage.type = postgresql
|
|
#storage.type = mysql
|
|
#storage.type = odbc
|
|
|
|
storage.type.sqlite.db = firmware.db
|
|
storage.type.sqlite.idletime = 120
|
|
storage.type.sqlite.maxsessions = 128
|
|
|
|
storage.type.postgresql.maxsessions = 64
|
|
storage.type.postgresql.idletime = 60
|
|
storage.type.postgresql.host = localhost
|
|
storage.type.postgresql.username = stephb
|
|
storage.type.postgresql.password = snoopy99
|
|
storage.type.postgresql.database = ucentral
|
|
storage.type.postgresql.port = 5432
|
|
storage.type.postgresql.connectiontimeout = 60
|
|
|
|
storage.type.mysql.maxsessions = 64
|
|
storage.type.mysql.idletime = 60
|
|
storage.type.mysql.host = localhost
|
|
storage.type.mysql.username = stephb
|
|
storage.type.mysql.password = snoopy99
|
|
storage.type.mysql.database = ucentral
|
|
storage.type.mysql.port = 3306
|
|
storage.type.mysql.connectiontimeout = 60
|
|
|
|
|
|
########################################################################
|
|
########################################################################
|
|
#
|
|
# Logging: please leave as is for now.
|
|
#
|
|
########################################################################
|
|
logging.formatters.f1.class = PatternFormatter
|
|
logging.formatters.f1.pattern = %s: [%p] %t
|
|
logging.formatters.f1.times = UTC
|
|
logging.channels.c1.class = ConsoleChannel
|
|
logging.channels.c1.formatter = f1
|
|
|
|
# This is where the logs will be written. This path MUST exist
|
|
logging.channels.c2.class = FileChannel
|
|
logging.channels.c2.path = $UCENTRALFMS_ROOT/logs/log
|
|
logging.channels.c2.formatter.class = PatternFormatter
|
|
logging.channels.c2.formatter.pattern = %Y-%m-%d %H:%M:%S %s: [%p] %t
|
|
logging.channels.c2.rotation = 20 M
|
|
logging.channels.c2.archive = timestamp
|
|
logging.channels.c2.purgeCount = 20
|
|
logging.channels.c3.class = ConsoleChannel
|
|
logging.channels.c3.pattern = %s: [%p] %t
|
|
|
|
# External Channel
|
|
logging.loggers.root.channel = c2
|
|
logging.loggers.root.level = debug
|
|
|
|
# Inline Channel with PatternFormatter
|
|
# logging.loggers.l1.name = logger1
|
|
# logging.loggers.l1.channel.class = ConsoleChannel
|
|
# logging.loggers.l1.channel.pattern = %s: [%p] %t
|
|
# logging.loggers.l1.level = information
|
|
# SplitterChannel
|
|
# logging.channels.splitter.class = SplitterChannel
|
|
# logging.channels.splitter.channels = l1,l2
|
|
# logging.loggers.l2.name = logger2
|
|
# logging.loggers.l2.channel = splitter
|
|
|
|
|
|
|