Merge "DCAE updates for R4"
[oom.git] / kubernetes / oof / charts / oof-cmso / charts / oof-cmso-service / resources / config / cmso.properties
1
2 #-------------------------------------------------------------------------------
3 # Copyright (c) 2017-2018 AT&T Intellectual Property.
4 # Modifications Copyright (c) 2018 IBM.
5
6 # Licensed under the Apache License, Version 2.0 (the "License");
7 # you may not use this file except in compliance with the License.
8 # You may obtain a copy of the License at
9
10 #         http://www.apache.org/licenses/LICENSE-2.0
11
12 # Unless required by applicable law or agreed to in writing, software
13 # distributed under the License is distributed on an "AS IS" BASIS,
14 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 # See the License for the specific language governing permissions and
16 # limitations under the License.
17
18
19 # Unless otherwise specified, all documentation contained herein is licensed
20 # under the Creative Commons License, Attribution 4.0 Intl. (the ???License???);
21 # you may not use this documentation except in compliance with the License.
22 # You may obtain a copy of the License at
23
24 #         https://creativecommons.org/licenses/by/4.0/
25
26 # Unless required by applicable law or agreed to in writing, documentation
27 # distributed under the License is distributed on an "AS IS" BASIS,
28 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
29 # See the License for the specific language governing permissions and
30 # limitations under the License.
31 #-------------------------------------------------------------------------------
32
33 #-------------------------------------------------------------------------------
34 spring.datasource.url=jdbc:mariadb://${DB_HOST}:${DB_PORT}/${DB_SCHEMA}
35 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
36 spring.datasource.username=${DB_USERNAME}
37 spring.datasource.password=${DB_PASSWORD}
38 cmso.database.password=${DB_PASSWORD}
39
40 spring.datasource.initialize=false
41 spring.datasource.tomcat.max-wait=10000
42 spring.datasource.tomcat.initialSize=5
43 spring.datasource.tomcat.max-active=25
44 spring.datasource.tomcat.test-on-borrow=true
45
46 spring.jpa.show-sql=false
47 spring.jpa.hibernate.ddl-auto=none
48 spring.jpa.hibernate.naming.strategy=org.hibernate.cfg.EJB3NamingStrategy
49 spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
50 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
51 spring.jpa.hibernate.id.new_generator_mappings=false
52 hibernate.id.new_generator_mappings=false
53
54 logging.level.org.hibernate.SQL=WARN
55 logging.level.org.hibernate=WARN
56 #-------------------------------------------------------------------------------
57
58 #
59 cmso.aaf.enabled=false
60
61 # Enable swagger - Enable in development and test only
62 cmso.swagger.enabled=true
63
64 # Enable schedule immediate to be dispatched without ticket approvals
65 # Has no effect when in vTM loopback mode as always approved.
66 cmso.cm.dispatch.immediate.enabled = true
67
68 # NUmber of seconds between sniro dispatch jobs
69 cmso.optimizer.job.interval.ms=10000
70
71 # NUmber of seconds between change management cmso polling jobs
72 # Controls frequenct of polling to the ChangeManagementScheduler table...
73 cmso.cm.polling.job.interval.ms=10000
74 # How many management cmso polling intervals to look ahead to dispatch
75 # (To account for possible latency of the polling job)
76 cmso.cm.polling.job.lookahead.intervals=5
77 # Lead time before event time to enable dispatcher to 
78 # test that it is safe to dispatch (i.e. meeting reminder lead time)
79 cmso.cm.dispatcher.lead.time.ms=5000
80 # Lead time to prepare and call VID to dispatch work to MSO
81 # Includes latency from VID call to the start of the workflow
82 cmso.cm.dispatch.lead.time.ms=1000
83
84 # Interval between polling to check status of schedules in Notifications Initiated status
85 cmso.status.job.interval.ms=60000
86
87 org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
88
89 loopback.mso.requestId=dummy123
90
91 so.polling.interval.ms=10000
92 #mso.user=cmso@onap.org
93 #mso.pass=enc:bfodXf8qRfCqMvlxVBYNWQ==
94
95 ## loopback settings
96 so.url=http://localhost:8080/cmso/v1/loopbacktest/onap/so/infra/orchestrationRequests/v7
97 so.user=oof@oof.onap.org
98 so.pass=changeit
99
100 mechid.user=oof@oof.onap.org
101 mechid.pass=changeit
102
103 cmso.dispatch.url=http://localhost:8089