diff options
author | vvarvate <vv00489503@techmahindra.com> | 2018-03-23 19:25:55 +0530 |
---|---|---|
committer | vvarvate <vv00489503@techmahindra.com> | 2018-03-23 19:27:59 +0530 |
commit | 543004a668263b6d669ffd338b99154d7f91f6a0 (patch) | |
tree | 139c817f68a1d6938e9494c066b108eccc81fc99 /sdnc_report_api_sdnc_253_story/sdnc_reports_service/src/main/resources/application.properties | |
parent | 8a4ef574e32c8f42706a863868485a070d85f446 (diff) |
SDNC-254 Historical Report Swagger API
sdnc_reports_service Provides REST API for viewing historical reports remotely .
Issue-ID: SDNC-254
Change-Id: Ifd1213fcd26d7fd2400a32e1a40649b54059f737
Signed-off-by: vvarvate <vv00489503@techmahindra.com>
Diffstat (limited to 'sdnc_report_api_sdnc_253_story/sdnc_reports_service/src/main/resources/application.properties')
-rw-r--r-- | sdnc_report_api_sdnc_253_story/sdnc_reports_service/src/main/resources/application.properties | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/sdnc_report_api_sdnc_253_story/sdnc_reports_service/src/main/resources/application.properties b/sdnc_report_api_sdnc_253_story/sdnc_reports_service/src/main/resources/application.properties new file mode 100644 index 0000000..831969a --- /dev/null +++ b/sdnc_report_api_sdnc_253_story/sdnc_reports_service/src/main/resources/application.properties @@ -0,0 +1,40 @@ + + +server.port = 9003 + + +spring.jackson.serialization.fail-on-empty-beans=false + + + +server.error.whitelabel.enabled=false +#spring.mvc.view.prefix = /WEB-INF/views/ +#spring.mvc.view.suffix = .jsp + +spring.datasource.url=jdbc:mariadb://localhost:3307/testreports +spring.datasource.username=root +spring.datasource.password=root +spring.datasource.driver-class-name=org.mariadb.jdbc.Driver +spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect +# Keep the connection alive if idle for a long time (needed in production) +spring.datasource.testWhileIdle=true +spring.datasource.validationQuery=SELECT 1 + + +#spring.datasource.url=jdbc:mysql://localhost:3306/mysql?useSSL=false +#spring.datasource.driver-class-name=com.mysql.jdbc.Driver +#spring.datasource.name=mysql +#spring.jpa.database=mysql +#spring.jpa.database-platform=org.hibernate.dialect.MySQLDialect + + +#spring.jpa.generate-ddl=true + +# Hibernate +#hibernate.dialect=org.hibernate.dialect.PostgreSQLDialect +#hibernate.show_sql=true +#hibernate.hbm2ddl.auto=create + + + +spring.jpa.show-sql=true
\ No newline at end of file |