Epic-231:versioning, and backup the configuration
[sdnc/oam.git] / configbackuprestore / vnfconfigbackupservice / src / main / resource / application.properties
1 server.port = 9003
2 #server.error.whitelabel.enabled=false
3 spring.mvc.view.prefix = /WEB-INF/views/
4 spring.mvc.view.suffix = .jsp
5 #
6 #spring.datasource.url=jdbc:mariadb://localhost:3306/testreports?useSSL=false
7 ##spring.datasource.url=jdbc:mysql://localhost:3306/mysql?useSSL=false
8 ##spring.datasource.driver-class-name=com.mysql.jdbc.Driver
9 #spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
10 #spring.datasource.name=mysql
11 #spring.jpa.database=testreports
12 #spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
13 ##org.hibernate.dialect.MySQLDialect
14 #
15 #
16 #spring.datasource.username=root
17 #spring.datasource.password=12345
18 #spring.jpa.generate-ddl=true
19 #spring.datasource.tomcat.max-wait=20000
20 #spring.datasource.tomcat.max-active=50
21 #spring.datasource.tomcat.max-idle=20
22 #spring.datasource.tomcat.min-idle=15
23 #
24 spring.jpa.hibernate.ddl-auto=update
25 #
26 #spring.jpa.properties.hibernate.dialect =org.hibernate.dialect.MySQL5InnoDBDialect
27 ## org.hibernate.dialect.MySQLDialect
28 #
29 #spring.jpa.properties.hibernate.id.new_generator_mappings = false
30 #spring.jpa.properties.hibernate.format_sql = true
31 #
32 #logging.level.org.hibernate.SQL=DEBUG
33 #logging.level.org.hibernate.type.descriptor.sql.BasicBinder=TRACE
34 sdnc.rest.vnf.api.host=10.53.172.121
35 sdnc.rest.vnf.api.port=8282
36 sdnc.rest.vnf.api.basepath=/restconf
37 sdnc.rest.vnf.api.username=admin
38 sdnc.rest.vnf.api.password=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
39
40 spring.jackson.serialization.fail-on-empty-beans=false
41
42 server.tomcat.uri-encoding=utf-8
43
44 #server.error.whitelabel.enabled=false
45 #spring.mvc.view.prefix = /WEB-INF/views/
46 #spring.mvc.view.suffix = .jsp
47
48 logging.level.org.springframework=TRACE
49 logging.level.com=TRACE
50
51 # ===============================
52 # Set here configurations for the database connection
53 spring.datasource.url=jdbc:mariadb://localhost:3306/configtest
54 spring.datasource.username=root
55 spring.datasource.password=root
56 spring.datasource.driver-class-name=org.mariadb.jdbc.Driver
57 # Keep the connection alive if idle for a long time (needed in production)
58 spring.datasource.testWhileIdle=true
59 spring.datasource.validationQuery=SELECT 1
60 # ===============================
61 # = JPA / HIBERNATE
62 # ===============================
63 # Show or not log for each sql query
64 spring.jpa.show-sql=true
65 # Hibernate ddl auto (create, create-drop, update): with "create-drop" the database
66 # schema will be automatically created afresh for every start of application
67 #spring.jpa.hibernate.ddl-auto=validate
68 # Naming strategy
69 spring.jpa.hibernate.naming.implicit-strategy=org.hibernate.boot.model.naming.ImplicitNamingStrategyLegacyHbmImpl
70 spring.jpa.hibernate.naming.physical-strategy=org.springframework.boot.orm.jpa.hibernate.SpringPhysicalNamingStrategy
71 # Allows Hibernate to generate SQL optimized for a particular DBMS
72 spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQL5InnoDBDialect