Commit 43df71c2 authored by ipatini's avatar ipatini
Browse files

EMS: Synchronized EMS configurations with those in 'morphemic-rc1.5' branch at...

EMS: Synchronized EMS configurations with those in 'morphemic-rc1.5' branch at 'melodic-upperware' repository. Also updated license notices.
parent 4eae6d25
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
# If a copy of the MPL was not distributed with this file, You can obtain one at
......
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
# If a copy of the MPL was not distributed with this file, You can obtain one at
......
{
"os": "LINUX",
"description": "Starting Netdata and Baguette agents at VM node",
"instructions": [
{
"description": "Launch EMS client",
"taskType": "CMD",
"command": "/opt/baguette-client/bin/run.sh",
"executable": false,
"exitCode": 0,
"match": false,
"retries": 5
},
{
"description": "Check if Netdata is already running",
"taskType": "CHECK",
"command": "[[ $(( `ps -ef |grep /usr/sbin/netdata |grep -v grep |wc -l`+1 )) -gt 1 ]] && exit 1 || exit 0",
"executable": false,
"exitCode": 1,
"match": true,
"message": "Netdata is already running"
},
{
"description": "Launch Netdata",
"taskType": "CMD",
"command": "echo ${NODE_SSH_PASSWORD} | sudo -S /usr/sbin/netdata",
"executable": false,
"exitCode": 0,
"match": false,
"retries": 5
}
]
}
\ No newline at end of file
{
"os": "LINUX",
"description": "EMS client installation instruction set at VM node",
"instructions": [
{
"description": "Check if 'java' is installed at Node",
"taskType": "CHECK",
"command": "java -version",
"executable": false,
"exitCode": 0,
"match": false,
"message": "Java is not installed at Node"
},
{
"description": "Check if EMS client is already installed at Node",
"taskType": "CHECK",
"command": "[[ -f /opt/baguette-client/conf/ok.txt ]] && exit 99",
"executable": false,
"exitCode": 99,
"match": true,
"message": "EMS client is already installed at Node"
},
{
"description": "-- LIST /opt BEFORE --",
"taskType": "CMD",
"command": "ls -l /opt ",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Log EMS client installation start",
"taskType": "LOG",
"message": "Starting EMS client installation at Node"
},
{
"description": "Upload EMS client installation package",
"taskType": "COPY",
"fileName": "/tmp/baguette-client.tgz",
"localFileName": "${MELODIC_CONFIG_DIR}/resources/baguette-client.tgz",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Upload installation package MD5 checksum",
"taskType": "COPY",
"fileName": "/tmp/baguette-client.tgz.md5",
"localFileName": "${MELODIC_CONFIG_DIR}/resources/baguette-client.tgz.md5",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Check MD5 checksum of installation package",
"taskType": "CHECK",
"command": "[[ `cat /tmp/baguette-client.tgz.md5` != `md5sum /tmp/baguette-client.tgz | cut -d ' ' -f 1 ` ]] && exit 99",
"executable": false,
"exitCode": 99,
"match": true
},
{
"description": "Extract installation package to target folder",
"taskType": "CMD",
"command": "echo ${NODE_SSH_PASSWORD} | sudo -S tar zxvf /tmp/baguette-client.tgz -C /opt",
"executable": false,
"exitCode": 0,
"match": false,
"executionTimeout": 120000
},
{
"description": "Change files and folders ownership",
"taskType": "CMD",
"command": "echo ${NODE_SSH_PASSWORD} | sudo -S chown -R ${NODE_SSH_USERNAME} /opt/baguette-client",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Touch files",
"taskType": "CMD",
"command": "touch /opt/baguette-client/logs/output.txt",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Create conf directory",
"taskType": "CMD",
"command": "mkdir /opt/baguette-client/conf/",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Copy-and-process configuration to target",
"taskType": "FILE",
"localFileName": "${MELODIC_CONFIG_DIR}/baguette-client/",
"fileName": "/opt/baguette-client",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Clean installation package from /tmp",
"taskType": "CMD",
"command": "rm -f /tmp/baguette-client.tgz*",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Write success file",
"taskType": "CMD",
"command": "echo SUCCESS >> /opt/baguette-client/conf/ok.txt",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "-- LIST /opt AFTER --",
"taskType": "CMD",
"command": "ls -l /opt ",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "-- LIST baguette-client FILES --",
"taskType": "CMD",
"command": "ls -lR /opt/baguette-client ",
"executable": false,
"exitCode": 0,
"match": false
},
{
"description": "Log installation end",
"taskType": "LOG",
"message": "EMS client installation completed at Node"
}
]
}
\ No newline at end of file
{
"os": "",
"description": "Netdata installation instruction set at VM node",
"instructions": [
{
"description": "Log Netdata installation start",
"taskType": "LOG",
"message": "Starting Netdata installation at Node"
},
{
"description": "Check if Netdata is already installed at Node",
"taskType": "CHECK",
"command": "[[ -f /usr/sbin/netdata ]] && exit 99",
"executable": false,
"exitCode": 99,
"match": true,
"message": "Netdata is already installed at Node"
},
{
"description": "Download and run Netdata kickstart.sh",
"taskType": "CMD",
"command": "bash <(curl -Ss https://my-netdata.io/kickstart.sh) --dont-wait --no-updates --disable-telemetry",
"executionTimeout": 600000
}
]
}
\ No newline at end of file
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -9,20 +9,74 @@
# Baguette Client configuration
auth.timeout = 60000
exec.timeout = 120000
exit-command.allowed = false
auth-timeout = 60000
exec-timeout = 120000
#retry-period = 60000
exit-command-allowed = false
#kill-delay = 10
IP_SETTING=${IP_SETTING}
# -----------------------------------------------------------------------------
# Client Id and Baguette Server credentials
# -----------------------------------------------------------------------------
client.id = ${BAGUETTE_CLIENT_ID}
client-id = ${BAGUETTE_CLIENT_ID}
server-address = ${BAGUETTE_SERVER_HOSTNAME}
#server-address = ${BAGUETTE_SERVER_ADDRESS}
server-port = ${BAGUETTE_SERVER_PORT}
server-pubkey = ${BAGUETTE_SERVER_PUBKEY}
server-fingerprint = ${BAGUETTE_SERVER_PUBKEY_FINGERPRINT}
server-username = ${BAGUETTE_SERVER_USERNAME}
server-password = ${BAGUETTE_SERVER_PASSWORD}
# -----------------------------------------------------------------------------
# Collectors settings
# -----------------------------------------------------------------------------
#collector-classes = eu.melodic.event.baguette.client.collector.netdata.NetdataCollector
collector.netdata.enable = true
collector.netdata.delay = 10000
collector.netdata.url = http://127.0.0.1:19999/api/v1/allmetrics?format=json
#collector.netdata.create-topic = true
#collector.netdata.allowed-topics = netdata__system__cpu__user:an_alias
# -----------------------------------------------------------------------------
# Cluster settings
# -----------------------------------------------------------------------------
#cluster.cluster-id=cluster
#cluster.local-node.id=local-node
#cluster.local-node.address=localhost:1234
#cluster.local-node.properties.name=value
#cluster.member-addresses=[localhost:3456, localhost:5678]
#cluster.useSwim=false
#cluster.failureTimeout=5000
cluster.testInterval=5000
cluster.log-enabled=false
cluster.out-enabled=true
cluster.join-on-init=true
cluster.election-on-join=false
#cluster.usePBInMg=true
#cluster.usePBInPg=true
#cluster.mgName=system
#cluster.pgName=data
host = ${BAGUETTE_SERVER_ADDRESS}
port = ${BAGUETTE_SERVER_PORT}
pubkey = ${BAGUETTE_SERVER_PUBKEY}
fingerprint = ${BAGUETTE_SERVER_PUBKEY_FINGERPRINT}
cluster.tls.enabled=false
#cluster.tls.keystore=${MELODIC_CONFIG_DIR}/cluster.jks
#cluster.tls.keystore-password=atomix
#cluster.tls.truststore=${MELODIC_CONFIG_DIR}/cluster.jks
#cluster.tls.truststore-password=atomix
cluster.tls.keystore-dir=conf
username = ${BAGUETTE_SERVER_USERNAME}
password = ${BAGUETTE_SERVER_PASSWORD}
cluster.score.formula=20*cpu/32+80*ram/(256*1024)
cluster.score.default-score=0
cluster.score.default-args.cpu=1
cluster.score.default-args.ram=128
#cluster.score.throw-exception=false
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -7,7 +7,7 @@
# https://www.mozilla.org/en-US/MPL/2.0/
#
control.password-encoder = eu.passage.upperware.commons.passwords.IdentityPasswordEncoder
password-encoder-class = eu.melodic.event.util.password.IdentityPasswordEncoder
# Broker ports and protocol
brokercep.broker-name = broker
......@@ -24,7 +24,7 @@ brokercep.broker-url-2 = tcp://127.0.0.1:61616?${brokercep.broker-url-properties
brokercep.broker-url-3 =
brokercep.broker-url-properties = transport.daemon=true&transport.trace=false&transport.useKeepAlive=true&transport.useInactivityMonitor=false&transport.needClientAuth=${brokercep.ssl.client-auth.required}&transport.verifyHostName=true&transport.connectionTimeout=0&transport.keepAlive=true
brokercep.ssl.client-auth.required = false
brokercep.broker-url-for-consumer = tcp://localhost:61616?daemon=true&trace=false&useInactivityMonitor=false&connectionTimeout=0&keepAlive=true
brokercep.broker-url-for-consumer = tcp://127.0.0.1:61616?daemon=true&trace=false&useInactivityMonitor=false&connectionTimeout=0&keepAlive=true
brokercep.broker-url-for-clients = ${brokercep.broker-protocol}://${IP_SETTING}:${brokercep.broker-port}?daemon=true&trace=false&useInactivityMonitor=false&connectionTimeout=0&keepAlive=true
# Must be a public IP address
......@@ -32,10 +32,12 @@ brokercep.broker-url-for-clients = ${brokercep.broker-protocol}://${IP_SETTING}:
brokercep.ssl.keystore-file = ${MELODIC_CONFIG_DIR}/client-broker-keystore.p12
brokercep.ssl.keystore-type = PKCS12
brokercep.ssl.keystore-password = melodic
#brokercep.ssl.keystore-password = ENC(ISMbn01HVPbtRPkqm2Lslg==)
# Trust store
brokercep.ssl.truststore-file = ${MELODIC_CONFIG_DIR}/client-broker-truststore.p12
brokercep.ssl.truststore-type = PKCS12
brokercep.ssl.truststore-password = melodic
#brokercep.ssl.truststore-password = ENC(ISMbn01HVPbtRPkqm2Lslg==)
# Certificate
brokercep.ssl.certificate-file = ${MELODIC_CONFIG_DIR}/client-broker.crt
# Key-and-Cert data
......@@ -48,7 +50,7 @@ brokercep.ssl.key-entry-ext-san = dns:localhost,ip:127.0.0.1,ip:%{DEFAULT_IP}%,i
#control.ssl.public-ip-address =
# Authentication and Authorization settings
brokercep.authentication-enabled = false
brokercep.authentication-enabled = true
brokercep.additional-broker-credentials = aaa/111, bbb/222
#brokercep.additional-broker-credentials = ENC(KYZnHeuoJ0NsE1OuIdDKWIHv8shUdcxXZmNtXjXJZdw=)
brokercep.authorization-enabled = false
......@@ -60,10 +62,24 @@ brokercep.broker-advisory-support-enabled = true
brokercep.broker-using-shutdown-hook = false
# Message interceptors
brokercep.message-interceptors = >:eu.melodic.event.brokercep.broker.SourceAddressMessageUpdateInterceptor
brokercep.message-interceptors[0].destination = >
brokercep.message-interceptors[0].className = eu.melodic.event.brokercep.broker.interceptor.SequentialCompositeInterceptor
brokercep.message-interceptors[0].params[0] = #SourceAddressMessageUpdateInterceptor
brokercep.message-interceptors[0].params[1] = #MessageForwarderInterceptor
brokercep.message-interceptors-specs.SourceAddressMessageUpdateInterceptor.className = eu.melodic.event.brokercep.broker.interceptor.SourceAddressMessageUpdateInterceptor
brokercep.message-interceptors-specs.MessageForwarderInterceptor.className = eu.melodic.event.brokercep.broker.interceptor.MessageForwarderInterceptor
# Message forward destinations (MessageForwarderInterceptor must be included in 'message-interceptors' property)
#brokercep.message-forward-destinations[0].connection-string = tcp://localhost:51515
#brokercep.message-forward-destinations[0].username = AAA
#brokercep.message-forward-destinations[0].password = 111
#brokercep.message-forward-destinations[1].connection-string = tcp://localhost:41414
#brokercep.message-forward-destinations[1].username = AAA
#brokercep.message-forward-destinations[1].password = 111
# Advisory watcher
brokercep.enable-advisory-watcher = false
brokercep.enable-advisory-watcher = true
# Memory usage limit
brokercep.usage.memory.jvm-heap-percentage = 20
......
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
~ Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
~
~ This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
~ Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -35,7 +35,4 @@
<logger name="eu.melodic.event.brokercep" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
<logger name="eu.melodic.event.brokercep.cep" level="DEBUG" additivity="false">
<appender-ref ref="STDOUT"/>
</logger>
</configuration>
<!--
~ Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
~ Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
~
~ This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
~ If a copy of the MPL was not distributed with this file, You can obtain one at
......
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
# If a copy of the MPL was not distributed with this file, You can obtain one at
......
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -13,6 +13,8 @@
baguette.client.install.osFamilies.LINUX=CENTOS,DARWIN,DEBIAN,FEDORA ,FREEBSD ,GENTOO,COREOS,AMZN_LINUX,MANDRIVA ,NETBSD,OEL ,OPENBSD,RHEL,SCIENTIFIC,CEL,SLACKWARE,SOLARIS,SUSE,TURBOLINUX,CLOUD_LINUX,UBUNTU
baguette.client.install.osFamilies.WINDOWS=WINDOWS
baguette.client.install.workers=1
baguette.client.install.baseDir=/opt/baguette-client
baguette.client.install.mkdirs=${baguette.client.install.baseDir}/bin,${baguette.client.install.baseDir}/conf,${baguette.client.install.baseDir}/logs
baguette.client.install.touchFiles=${baguette.client.install.baseDir}/logs/output.txt
......@@ -29,4 +31,15 @@ baguette.client.install.serverCertFileAtClient=${baguette.client.install.baseDir
baguette.client.install.copyFilesFromServerDir=${MELODIC_CONFIG_DIR}/baguette-client/
baguette.client.install.copyFilesToClientDir=${baguette.client.install.baseDir}/
baguette.client.install.clientTmpDir=/tmp
\ No newline at end of file
baguette.client.install.clientTmpDir=/tmp
baguette.client.install.serverTmpDir=${MELODIC_CONFIG_DIR}/../logs/tmp
baguette.client.install.keepTempFiles=false
#-----------------------------------
baguette.client.install.instructions.LINUX = \
file:${MELODIC_CONFIG_DIR}/baguette-client-install/netdata.json, \
file:${MELODIC_CONFIG_DIR}/baguette-client-install/linux.json, \
file:${MELODIC_CONFIG_DIR}/baguette-client-install/linux-start.json
baguette.client.install.instructions.WINDOWS = file:${MELODIC_CONFIG_DIR}/baguette-client-install/win.json
baguette.client.install.instructions.continue-on-fail = true
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -10,12 +10,19 @@
# Baguette Server configuration
# Coordinator and Registration settings
baguette.server.coordinator.class = eu.melodic.event.baguette.server.coordinator.TestCoordinator
baguette.server.coordinator.class = eu.melodic.event.baguette.server.coordinator.cluster.ClusteringCoordinator
#coordinator.class = eu.melodic.event.baguette.server.coordinator.ServerCoordinatorPerCloud
# Available Coordinators (in 'eu.melodic.event.baguette.server.coordinator' package) :
# ServerCoordinatorWaitAll, ServerCoordinatorTimeWin, ServerCoordinatorClientsOnly,
# ServerCoordinatorPerCloud, ThreeLevelSegmentCoordinator, TwoLevelCoordinator
#baguette.server.coordinatorParameters.param1 = p1
#baguette.server.coordinatorParameters.param2 = p2
baguette.server.coordinator.id = clustering, 2level, noop
baguette.server.coordinatorConfig.clustering.coordinatorClass = eu.melodic.event.baguette.server.coordinator.cluster.ClusteringCoordinator
baguette.server.coordinatorConfig.clustering.parameters.zone-management-strategy-class = eu.melodic.event.baguette.server.coordinator.cluster.DefaultZoneManagementStrategy
baguette.server.coordinatorConfig.clustering.parameters.zone-port-start = 2000
baguette.server.coordinatorConfig.clustering.parameters.zone-port-end = 2999
baguette.server.coordinatorConfig.2level.coordinatorClass = eu.melodic.event.baguette.server.coordinator.TwoLevelCoordinator
baguette.server.coordinatorConfig.noop.coordinatorClass = eu.melodic.event.baguette.server.coordinator.NoopCoordinator
#baguette.server.num-of-instances = 1
baguette.server.registration-window = 30000
......@@ -30,6 +37,6 @@ baguette.server.heartbeat.period = 60000
baguette.server.credentials.aa=xx
baguette.server.credentials.bb=yy
baguette.server.debug.client-address-override-allowed=true
#baguette.server.debug.client-address-override-allowed=true
baguette.server.client-id-format.escape = ~
baguette.server.client-id-format = ~{type}-~{operatingSystem}-~{id}-~{name}-~{providerId}-~{ip}-~{random}
baguette.server.client-id-format = ~{type}-~{operatingSystem}-~{id}-~{name}-~{provider}-~{address}-~{random}
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -41,7 +41,7 @@ brokercep.ssl.truststore-password = ENC(ISMbn01HVPbtRPkqm2Lslg==)
# Certificate
brokercep.ssl.certificate-file = ${MELODIC_CONFIG_DIR}/broker.crt
# Key-and-Cert data
brokercep.ssl.key-entry-generate = NEVER
brokercep.ssl.key-entry-generate = IF-IP-CHANGED
brokercep.ssl.key-entry-name = ems
brokercep.ssl.key-entry-dname = CN=ems,OU=Information Management Unit (IMU),O=Institute of Communication and Computer Systems (ICCS),L=Athens,ST=Attika,C=GR
brokercep.ssl.key-entry-ext-san = dns:localhost,ip:127.0.0.1,ip:%{DEFAULT_IP}%,ip:%{PUBLIC_IP}%
......@@ -65,7 +65,21 @@ brokercep.broker-enable-statistics = true
brokercep.broker-populate-jmsx-user-id = true
# Message interceptors
brokercep.message-interceptors = >:eu.melodic.event.brokercep.broker.SourceAddressMessageUpdateInterceptor
brokercep.message-interceptors[0].destination = >
brokercep.message-interceptors[0].className = eu.melodic.event.brokercep.broker.interceptor.SequentialCompositeInterceptor
brokercep.message-interceptors[0].params[0] = #SourceAddressMessageUpdateInterceptor
brokercep.message-interceptors[0].params[1] = #MessageForwarderInterceptor
brokercep.message-interceptors-specs.SourceAddressMessageUpdateInterceptor.className = eu.melodic.event.brokercep.broker.interceptor.SourceAddressMessageUpdateInterceptor
brokercep.message-interceptors-specs.MessageForwarderInterceptor.className = eu.melodic.event.brokercep.broker.interceptor.MessageForwarderInterceptor
# Message forward destinations (MessageForwarderInterceptor must be included in 'message-interceptors' property)
#brokercep.message-forward-destinations[0].connection-string = tcp://localhost:51515
#brokercep.message-forward-destinations[0].username = AAA
#brokercep.message-forward-destinations[0].password = 111
#brokercep.message-forward-destinations[1].connection-string = tcp://localhost:41414
#brokercep.message-forward-destinations[1].username = AAA
#brokercep.message-forward-destinations[1].password = 111
# Advisory watcher
brokercep.enable-advisory-watcher = true
......
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0.
# If a copy of the MPL was not distributed with this file, You can obtain one at
......
#
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
# Copyright (C) 2017-2022 Institute of Communication and Computer Systems (imu.iccs.gr)
#
# This Source Code Form is subject to the terms of the Mozilla Public License, v2.0, unless
# Esper library is used, in which case it is subject to the terms of General Public License v2.0.
......@@ -12,10 +12,12 @@ control.esb-url = https://mule:8088
control.metasolver-configuration-url = http://metasolver:8092/updateConfiguration
### Log settings
control.password-encoder = eu.passage.upperware.commons.passwords.IdentityPasswordEncoder
password-encoder-class = eu.melodic.event.util.password.IdentityPasswordEncoder
control.log-requests = false
### Don't touch the next line!!
### Don't touch the next lines!!
IP_SETTING=%{PUBLIC_IP}%
EXECUTIONWARE=PROACTIVE
################################################################################
### Debug settings - Deactivate processing modules
......@@ -101,7 +103,7 @@ control.ssl.key-entry-ext-san = dns:localhost,ip:127.0.0.1,ip:%{DEFAULT_IP}%,ip:
### Web configuration - Resources
static.favicon.path=classpath:/public/favicon.ico
static.resource.path=file:/opt/ems-server/resources/
static.resource.path=file:${MELODIC_CONFIG_DIR}/resources/
static.resource.context=/resources/**
#static.resource.redirect=/resources/index.html
......@@ -129,6 +131,9 @@ beacon.delay = 60000
beacon.topics.heartbeat =
beacon.topics.threshold = _ui_threshold_info
beacon.topics.instance = _ui_instance_info
beacon.topics.prediction = metrics_to_predict
beacon.topics.prediction.rate = 60000
beacon.topics.slo-violator = _slo_violator_info