Merge "vvp -- VNF Validation Platform"
[oom.git] / kubernetes / oof / charts / oof-cmso / charts / oof-cmso-service / resources / config / cmso.properties
1
2 #-------------------------------------------------------------------------------
3 # Copyright © 2017-2018 AT&T Intellectual Property.
4 # Modifications Copyright © 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â?\9d);
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 ### MySQL DB.
35 spring.datasource.url=jdbc:mariadb://${DB_HOST}:${DB_PORT}/${DB_SCHEMA}
36 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
37 spring.datasource.username=${DB_USERNAME}
38 spring.datasource.password=${DB_PASSWORD}
39 cmso.database.password=${DB_PASSWORD}
40
41 spring.datasource.initialize=false
42 spring.datasource.tomcat.max-wait=10000
43 spring.datasource.tomcat.initialSize=5
44 spring.datasource.tomcat.max-active=25
45 spring.datasource.tomcat.test-on-borrow=true
46
47 spring.jpa.show-sql=true
48 spring.jpa.hibernate.ddl-auto=none
49 spring.jpa.hibernate.naming.strategy=org.hibernate.cfg.EJB3NamingStrategy
50 spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
51 spring.jpa.hibernate.naming.physical-strategy=org.hibernate.boot.model.naming.PhysicalNamingStrategyStandardImpl
52 spring.jpa.hibernate.id.new_generator_mappings=false
53 hibernate.id.new_generator_mappings=false
54
55 logging.level.org.hibernate.SQL=TRACE
56
57 logging.level.org.hibernate=TRACE
58
59 #
60 cmso.aaf.enabled=false
61
62 # Enable swagger - Enable in development and test only
63 cmso.swagger.enabled=true
64
65 # Enable schedule immediate to be dispatched without ticket approvals
66 # Has no effect when in vTM loopback mode as always approved.
67 cmso.cm.dispatch.immediate.enabled = true
68
69 # NUmber of seconds between sniro dispatch jobs
70 cmso.optimizer.job.interval.ms=10000
71
72 # NUmber of seconds between change management cmso polling jobs
73 # Controls frequenct of polling to the ChangeManagementScheduler table...
74 cmso.cm.polling.job.interval.ms=10000
75 # How many management cmso polling intervals to look ahead to dispatch
76 # (To account for possible latency of the polling job)
77 cmso.cm.polling.job.lookahead.intervals=5
78 # Lead time before event time to enable dispatcher to 
79 # test that it is safe to dispatch (i.e. meeting reminder lead time)
80 cmso.cm.dispatcher.lead.time.ms=5000
81 # Lead time to prepare and call VID to dispatch work to MSO
82 # Includes latency from VID call to the start of the workflow
83 cmso.cm.dispatch.lead.time.ms=1000
84
85 # Interval between polling to check status of schedules in Notifications Initiated status
86 cmso.status.job.interval.ms=60000
87
88 org.quartz.jobStore.class=org.quartz.simpl.RAMJobStore
89
90 loopback.mso.requestId=dummy123
91
92 so.polling.interval.ms=10000
93 #mso.user=cmso@onap.org
94 #mso.pass=enc:bfodXf8qRfCqMvlxVBYNWQ==
95
96 ## loopback settings
97 so.url=http://localhost:8080/cmso/v1/loopbacktest/onap/so/infra/orchestrationRequests/v7
98 so.user=cmso@onap.org
99 so.pass=enc:bfodXf8qRfCqMvlxVBYNWQ==
100
101 mechid.user=cmso@onap.org
102 mechid.pass=enc:bfodXf8qRfCqMvlxVBYNWQ==
103
104 cmso.dispatch.url=http://localhost:8089