Replace mysql connector with MariaDB connector
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / resources / application.properties
1 ###############################################################################
2 # Copyright 2016, Nokia Corporation
3 #
4 # Licensed under the Apache License, Version 2.0 (the "License");
5 # you may not use this file except in compliance with the License.
6 # You may obtain a copy of the License at
7 #
8 #     http://www.apache.org/licenses/LICENSE-2.0
9 #
10 # Unless required by applicable law or agreed to in writing, software
11 # distributed under the License is distributed on an "AS IS" BASIS,
12 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 # See the License for the specific language governing permissions and
14 # limitations under the License.
15 ###############################################################################
16
17 server.error.whitelabel.enabled=false
18 ## for MySql Database begin ##
19 #spring.jpa.show-sql=true
20 #spring.jpa.generate-ddl=true
21 #spring.jpa.hibernate.ddl-auto=update  
22 #spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect  
23 spring.jackson.serialization.indent_output=false
24
25 #mybatis configuration
26 mybatis.type-aliases-package=org.onap.vfc.nfvo.driver.vnfm.svnfm.db.bean
27 #spring.datasource.driverClassName = com.mysql.jdbc.Driver
28 spring.datasource.driverClassName = org.mariadb.jdbc.Driver
29
30 spring.datasource.username=vnfm
31 spring.datasource.password=vnfmpass
32 #spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
33 spring.datasource.url=jdbc:mariadb://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
34
35 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver
36 #spring.datasource.tomcat.max-wait=30000
37 #spring.datasource.tomcat.max-active=20
38 #spring.datasource.tomcat.test-on-borrow=true
39 ## for MySql Database end ##
40
41 ## for logging begin ##
42 com.fasterxml.jackson.core=jackson-databind
43 logging.file=${catalina.base}/logs/vfcadaptor.log
44 logging.level.org.springframework.web=DEBUG
45 logging.level.org.hibernate=DEBUG
46 ## for logging end ##
47
48 ## configure service name and version of MSB services AAI/LCM/Catalog begin ##
49 aaiServiceNameInMsb=aai-esr-server
50 aaiVersionInMsb=v1
51 lcmServiceNameInMsb=nslcm
52 lcmVersionInMsb=v1
53 catalogServiceNameInMsb=catalog
54 catalogVersionInMsb=v1
55 ## configure service name and version of MSB services AAI/LCM/Catalog end ##
56
57 ## for retrieving token from CBAM begin ##
58 vnfdId=cscf_si1
59 grantType=password
60 clientId=Orchestrator
61 clientSecret=.1.qtcePQQ3.BqxiGBeyWUjREnGooRr6x1
62 cbamApiUriFront=https://172.30.24.3
63 cbamUserName=cbam
64 cbamPassword=Nokia@123
65 ## for retrieving token from CBAM end ##
66
67 ## Granting part
68 type=vdu
69 sizeOfStorage=40
70 virtualMemSize=8192
71 numVirtualCpu=4
72
73 ##OperateTaskProgress
74 initialProgress=10
75 instantiateTimeInterval=60000
76 terminateTimeInterval=8000
77
78 driverApiUriFront=http://127.0.0.1:8486