-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfiguration.properties
More file actions
81 lines (69 loc) · 3.53 KB
/
configuration.properties
File metadata and controls
81 lines (69 loc) · 3.53 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
#
# Copyright 2014 Atos
# Contact: Atos <roman.sosa@atos.net>
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#to copy the sla-service.war to the tomcat directory
#if the path doesn't exist, it will be created
tomcat.directory = /tmp
#to configure the access to the database
db.username = atossla
db.password = _atossla_
db.name = sc_sla
db.host = localhost
db.port = 3306
db.showSQL = false
#for eu.atos.sla a different file is generated. it will be generated at log.slaatos.fullpathFilename
#another file with all the logs, hibernate, spring, etc, is generated at log.thirdpartysw.fullpathFilename
#the location of this file must be specified here
log.slaatos.fullpathFilename = /tmp/logs/atosSLAfile.log
log.slaatos.debugLevel = ALL
log.thirdpartysw.fullpathFilename = /tmp/logs/atosSLAfullfile.log
log.thirdpartysw.debugLevel = INFO
#sla-enforcement
#configure the classes that will validate and retrieve the data from 3rd party software to monitor
#cron job and the poll interval is also configured
enforcement.constraintEvaluator.class = eu.atos.sla.evaluation.constraint.simple.SimpleConstraintEvaluator
enforcement.metricsRetriever.class = eu.seaclouds.sla.retriever.BrooklynMetricsRetrieverV1
enforcement.poll.interval.mseconds = 10000
enforcement.spawnlookup.cron = 0 0 0 1 1 *
enforcement.notification.class = eu.atos.sla.notification.DummyEnforcementNotifier
#security
#configure user and password to access to the rest services
#basic security is used
service.basicsecurity.user = user
service.basicsecurity.password = password
#xml and json parsers
#please, set the values to eu.atos.sla.parser.NullParser if no parser has to be used for json.
#implemented json parsers: eu.atos.sla.parser.json.AgreementParser, eu.atos.sla.parser.json.TemplateParser
#implemented xml parsers: eu.atos.sla.parser.xml.AgreementParser, eu.atos.sla.parser.xml.TemplateParser
#if eu.atos.sla.parser.NullParser is set for the xml parsers, the above mentioned default parsers will be used. The SLA core allways accepts
#templates and agreements in xml format. In case of json it is possible to set the parser to null. In such a case nothing will be executed
parser.json.agreement.class = eu.atos.sla.parser.json.AgreementParser
parser.json.template.class = eu.atos.sla.parser.json.TemplateParser
parser.xml.agreement.class = eu.atos.sla.parser.xml.AgreementParser
parser.xml.template.class = eu.atos.sla.parser.xml.TemplateParser
#format for date in the template and agreement. Please check java.text.SimpleDateFormat to know the format of the string
parser.date.format = yyyy-MM-dd'T'HH:mm:ssz
#if no timezone is readed with the format, this will be the used timezone
parser.date.unmarshall.timezone = GMT
#timezone to be used to return the date values
parser.date.marshall.timezone = CET
#
# Converter values
#
# class that parses business values in a template/agreement
converter.businessparser.class = eu.atos.sla.util.BusinessValueListParser
# brooklyn
brooklyn.url=http://localhost:8081