eu.melodic.event.control.properties 5.59 KB
Newer Older
1
#
ipatini's avatar
ipatini committed
2
# Copyright (C) 2017-2019 Institute of Communication and Computer Systems (imu.iccs.gr)
3
#
ipatini's avatar
ipatini committed
4
5
6
7
# 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.
# If a copy of the MPL was not distributed with this file, you can obtain one at
# https://www.mozilla.org/en-US/MPL/2.0/
8
9
#

10
### URLs of Upperware services being invoked by EMS
11
12
#control.esb-url = http://localhost:8088/camelModelProcessed
#control.metasolver-configuration-url = http://localhost:8092/updateConfiguration
13

14
15
### Log settings
control.password-encoder = eu.passage.upperware.commons.passwords.IdentityPasswordEncoder
16

17
18
19
### Don't touch the next line!!
IP_SETTING=%{PUBLIC_IP}%

20
################################################################################
21
22
23
24
25
### Debug settings - Deactivate processing modules
#control.skip-translation = true
#control.skip-mvv-retrieve = true
#control.skip-broker-cep = true
#control.skip-baguette = true
26
27
#control.skip-metasolver = true
#control.skip-esb-notification = true
28
29
30
31
32
33
34
35
36
control.upperware-grouping = GLOBAL

### Debug settings - Load/Save translation results
control.tc-load-file = _TC.json
control.tc-save-file = _TC.json

### Debug settings - Enable event debugging
control.event-debug-enabled = true

37
################################################################################
38
### Process CAMEL model on start-up
39
40
41
#control.preload.camel-model = /camel-new
#control.preload.camel-model = /mytest5
#control.preload.camel-model = /older/TrafficSimulationUF
42
#control.preload.camel-model = /CRM
43
#control.preload.camel-model = /TrafficSimulationUF
44
###########control.preload.camel-model = /FCRnew
45
46

### Use CP model on start-up
47
#control.preload.cp-model = /cpModelTest
48
49
###########control.preload.cp-model = /FCRnew_cpModelTest

50
51
52
53
54
55

################################################################################
### Web configuration - Port
server.port = 8111

### Web configuration - HTTPS
56
#server.ssl.enabled=false
57
58
59
60
#server.ssl.key-store=${control.ssl.keystore-file}
#server.ssl.key-store-password=${control.ssl.keystore-password}
#server.ssl.key-store-type=${control.ssl.keystore-type}
#server.ssl.key-alias=${control.ssl.key-entry-name}
61
#server.ssl.key-password=${control.ssl.key-entry-password}
62
#security.require-ssl=true
63

64
65
66
67
68
69
70
# SSL ciphers
#server.ssl.ciphers=TLS_RSA_WITH_AES_128_CBC_SHA256
# SSL protocol to use
#server.ssl.protocol=TLS
# Enabled SSL protocols
#server.ssl.enabled-protocols=TLSv1.2

71
# Key store
72
73
74
75
control.ssl.keystore-file = ${MELODIC_CONFIG_DIR}/ems-keystore.p12
control.ssl.keystore-type = PKCS12
#control.ssl.keystore-password = melodic
control.ssl.keystore-password = ENC(ISMbn01HVPbtRPkqm2Lslg==)
76
# Trust store
77
78
79
80
control.ssl.truststore-file = ${MELODIC_CONFIG_DIR}/ems-truststore.p12
control.ssl.truststore-type = PKCS12
#control.ssl.truststore-password = melodic
control.ssl.truststore-password = ENC(ISMbn01HVPbtRPkqm2Lslg==)
81
# Certificate
82
control.ssl.certificate-file = ${MELODIC_CONFIG_DIR}/ems-cert.crt
83
# Key-and-Cert data
84
control.ssl.key-entry-generate = NEVER
85
control.ssl.key-entry-name = ems
86
#control.ssl.key-entry-password =
87
88
89
90
91
control.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
control.ssl.key-entry-ext-san = dns:localhost,ip:127.0.0.1,ip:%{DEFAULT_IP}%,ip:%{PUBLIC_IP}%
# Public and Default IP address defaults (if case NetUtil fails to detect any of them)
#control.ssl.default-ip-address =
#control.ssl.public-ip-address =
92
93

### Enable JWT Web security ###
94
melodic.security.enabled=false
95
96

### Web configuration - API key
97
#web.api-key.value=generate
ipatini's avatar
ipatini committed
98
99
100
#web.api-key.value=1234567890
#web.api-key.header=EMS-API-KEY
#web.api-key.parameter=ems-api-key
101

102
### Web configuration - Resources
103
static.favicon.path=classpath:/public/favicon.ico
104
105
static.resource.path=file:resources/
#static.resource.path=file:${MELODIC_CONFIG_DIR}/resources/
106
#static.resource.path=file:/opt/ems-server/resources/
107
static.resource.context=/resources/**
108
#static.resource.redirect=/resources/index.html
109
110
111
112
113

# Effective only if 'control.event-debug-enabled' is 'true'
event-debug.resource.path=classpath:/public/
event-debug.resource.context=/event-debug/**
static.resource.redirect=/event-debug/index.html
114

115
116
117
118
119
120
### Web configuration - Authorization check
authorization.enabled = false
#authorization.paths-protected = /camelModel*, /cpModel*, /ems/**, /baguette/**, /event/**, /monitors
#authorization.paths-excluded =
# NOTE: More authorization settings in 'authorization-client.properties'

121
122
123
124
### Other settings
control.exit-allowed = false
control.exit-grace-period = 10
control.exit-code = 0
125

126
127
### Topic Beacon settings
beacon.enable = true
128
beacon.initial-delay = 60000
129
beacon.delay = 60000
130
#beacon.rate = 60000
131
beacon.topics.heartbeat =
132
133
beacon.topics.threshold = _ui_threshold_info
beacon.topics.instance = _ui_instance_info
134

135
################################################################################
136
137
138
139
140
141
142
143
### Hawtio web console settings
management.endpoints.web.exposure.include=hawtio,jolokia
management.endpoints.web.base-path=/
#management.endpoints.web.path-mapping.hawtio=hawtio/console

hawtio.authenticationEnabled=false
#hawtio.realm=activemq
#hawtio.role=admins
ipatini's avatar
.    
ipatini committed
144
145
146
147
148
149
150
151
152
153
154
#hawtio.rolePrincipalClasses=org.apache.activemq.jaas.GroupPrincipal

#hawtio.proxyWhitelist=

#jolokia.config.debug=false
#endpoints.jolokia.sensitive = false
#endpoints.jolokia.enabled=true
#endpoints.jolokia.path=/jolokia
#spring.jmx.enabled=true
#endpoints.jmx.enabled=true
#management.port=9001
155
156
157
#management.address=127.0.0.1

### logback configuration ###
158
logging.config=file:${MELODIC_CONFIG_DIR}/logback-conf/logback-spring.xml