Add modify vnf feature on driver
[vfc/nfvo/driver/vnfm/svnfm.git] / nokia / vnfmdriver / vfcadaptorservice / vfcadaptor / src / main / resources / application.properties
index 0ae1288..5665ff0 100644 (file)
 
 server.error.whitelabel.enabled=false
 ## for MySql Database begin ##
-spring.datasource.url=jdbc:mysql://135.251.208.57:5029/aware_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round
-spring.datasource.username=root
-spring.datasource.password=123456
+spring.jpa.show-sql=true
+spring.jpa.generate-ddl=true
+spring.jpa.hibernate.ddl-auto=update  
+spring.jpa.hibernate.dialect=org.hibernate.dialect.MySQL5Dialect  
+spring.jackson.serialization.indent_output=false
+
+
+spring.datasource.username=vnfm
+spring.datasource.password=vnfmpass
+spring.datasource.url=jdbc:mysql://127.0.0.1:3306/vnfm_db?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=round&useSSL=false
 
 spring.datasource.driver-class-name=com.mysql.jdbc.Driver
 spring.datasource.tomcat.max-wait=30000
-spring.datasource.tomcat.max-active=50
+spring.datasource.tomcat.max-active=20
 spring.datasource.tomcat.test-on-borrow=true
 ## for MySql Database end ##
 
 ## for logging begin ##
 com.fasterxml.jackson.core=jackson-databind
-logging.file=D:/VfcadaptorApplication.log
+logging.file=${catalina.base}/logs/vfcadaptor.log
 logging.level.org.springframework.web=DEBUG
-logging.level.org.hibernate=ERROR
+logging.level.org.hibernate=DEBUG
 ## for logging end ##
 
-## common configuration for connections begin ##
-nslcmApiHttpFront=http://1.2.3.4:88
-catalogApiUriFront=http://1.2.6.7:88
-cbamApiUriFront=https://1.2.5.4:88
-    
-## for retrieving token from CBAM ##
-grantType=grantType1
-clientId=clientId1
-clientSecret=clientSecret1
-## common configuration for connections end ##
\ No newline at end of file
+## configure service name and version of MSB services AAI/LCM/Catalog begin ##
+aaiServiceNameInMsb=aai-esr-server
+aaiVersionInMsb=v1
+lcmServiceNameInMsb=nslcm
+lcmVersionInMsb=v1
+catalogServiceNameInMsb=catalog
+catalogVersionInMsb=v1
+## configure service name and version of MSB services AAI/LCM/Catalog end ##
+
+## for retrieving token from CBAM begin ##
+vnfdId=cscf_si1
+grantType=password
+clientId=Orchestrator
+clientSecret=.1.qtcePQQ3.BqxiGBeyWUjREnGooRr6x1
+cbamApiUriFront=https://172.30.24.3
+cbamUserName=cbam
+cbamPassword=Nokia@123
+## for retrieving token from CBAM end ##
+
+## Granting part
+type=vdu
+sizeOfStorage=40
+virtualMemSize=8192
+numVirtualCpu=4