Improve unit-test coverage
[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
29 spring.datasource.username=vnfm
30 spring.datasource.password=vnfmpass
31 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
32
33 #spring.datasource.driver-class-name=com.mysql.jdbc.Driver
34 #spring.datasource.tomcat.max-wait=30000
35 #spring.datasource.tomcat.max-active=20
36 #spring.datasource.tomcat.test-on-borrow=true
37 ## for MySql Database end ##
38
39 ## for logging begin ##
40 com.fasterxml.jackson.core=jackson-databind
41 logging.file=${catalina.base}/logs/vfcadaptor.log
42 logging.level.org.springframework.web=DEBUG
43 logging.level.org.hibernate=DEBUG
44 ## for logging end ##
45
46 ## configure service name and version of MSB services AAI/LCM/Catalog begin ##
47 aaiServiceNameInMsb=aai-esr-server
48 aaiVersionInMsb=v1
49 lcmServiceNameInMsb=nslcm
50 lcmVersionInMsb=v1
51 catalogServiceNameInMsb=catalog
52 catalogVersionInMsb=v1
53 ## configure service name and version of MSB services AAI/LCM/Catalog end ##
54
55 ## for retrieving token from CBAM begin ##
56 vnfdId=cscf_si1
57 grantType=password
58 clientId=Orchestrator
59 clientSecret=.1.qtcePQQ3.BqxiGBeyWUjREnGooRr6x1
60 cbamApiUriFront=https://172.30.24.3
61 cbamUserName=cbam
62 cbamPassword=Nokia@123
63 ## for retrieving token from CBAM end ##
64
65 ## Granting part
66 type=vdu
67 sizeOfStorage=40
68 virtualMemSize=8192
69 numVirtualCpu=4
70
71 ##OperateTaskProgress
72 initialProgress=10
73 instantiateTimeInterval=60000
74 terminateTimeInterval=8000
75
76 driverApiUriFront=http://127.0.0.1:8486