67 lines
2.1 KiB
Properties
67 lines
2.1 KiB
Properties
# Just to be backwards compatible with previous versions, this is set to "steve",
|
|
# since there might be already configured chargepoints expecting the older path.
|
|
# Otherwise, might as well be changed to something else or be left empty.
|
|
#
|
|
context.path = steve
|
|
|
|
# Database configuration
|
|
#
|
|
db.ip = mariadb
|
|
db.port = 3306
|
|
db.schema = stevedb
|
|
db.user = steve
|
|
db.password = changeme
|
|
|
|
# Credentials for Web interface access
|
|
#
|
|
auth.user = admin
|
|
auth.password = 1234
|
|
|
|
# The header key and value for Web API access using API key authorization.
|
|
# Both must be set for Web APIs to be enabled. Otherwise, we will block all calls.
|
|
#
|
|
webapi.key = STEVE-API-KEY
|
|
webapi.value =
|
|
|
|
# Jetty configuration
|
|
#
|
|
server.host = 0.0.0.0
|
|
server.gzip.enabled = false
|
|
|
|
# Jetty HTTP configuration
|
|
#
|
|
http.enabled = true
|
|
http.port = 8180
|
|
|
|
# Jetty HTTPS configuration
|
|
#
|
|
https.enabled = false
|
|
https.port = 8443
|
|
keystore.path =
|
|
keystore.password =
|
|
|
|
# When the WebSocket/Json charge point opens more than one WebSocket connection,
|
|
# we need a mechanism/strategy to select one of them for outgoing requests.
|
|
# For allowed values see de.rwth.idsg.steve.ocpp.ws.custom.WsSessionSelectStrategyEnum.
|
|
#
|
|
ws.session.select.strategy = ALWAYS_LAST
|
|
|
|
# if BootNotification messages arrive (SOAP) or WebSocket connection attempts are made (JSON) from unknown charging
|
|
# stations, we reject these charging stations, because stations with these chargeBoxIds were NOT inserted into database
|
|
# beforehand. by setting this property to true, this behaviour can be modified to automatically insert unknown
|
|
# stations into database and accept their requests.
|
|
#
|
|
# CAUTION: setting this property to true is very dangerous, because we will accept EVERY BootNotification or WebSocket
|
|
# connection attempt from ANY sender as long as the sender knows the URL and sends a valid message.
|
|
#
|
|
auto.register.unknown.stations = false
|
|
|
|
# if this field is set, it will take precedence over the default regex we are using in
|
|
# de.rwth.idsg.steve.web.validation.ChargeBoxIdValidator.REGEX to validate the format of the chargeBoxId values
|
|
#
|
|
charge-box-id.validation.regex =
|
|
|
|
### DO NOT MODIFY ###
|
|
db.sql.logging = false
|
|
profile = prod
|