Modify database part in the deployment
[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.datasource.username=vnfm
20 spring.datasource.password=vnfmpass
21 spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
22
23 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
24 spring.datasource.tomcat.max-wait=30000
25 spring.datasource.tomcat.max-active=20
26 spring.datasource.tomcat.test-on-borrow=true
27 ## for MySql Database end ##
28
29 ## for logging begin ##
30 com.fasterxml.jackson.core=jackson-databind
31 logging.file=${catalina.base}/logs/vfcadaptor.log
32 logging.level.org.springframework.web=DEBUG
33 logging.level.org.hibernate=ERROR
34 ## for logging end ##
35
36 ## common configuration for connections begin ##
37 nslcmApiHttpFront=http://1.2.3.4:88
38 catalogApiUriFront=http://2.2.3.4:88
39 cbamApiUriFront=https://3.2.3.4:88
40 msbApiUriFront=http://4.2.3.4:88
41     
42 ## for retrieving token from CBAM ##
43 grantType=grantType1
44 clientId=clientId1
45 clientSecret=clientSecret1
46 ## common configuration for connections end ##