Skip to content

Commit 7b23eee

Browse files
author
William Welling
authored
Update application.yml (#108)
1 parent ae1639d commit 7b23eee

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

src/main/resources/application.yml

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,33 @@
11
server:
22
port: 9000
3-
contextPath:
3+
servlet:
4+
context-path:
45

5-
---
66
logging:
77
level:
88
edu.tamu: INFO
99
org.springframework: INFO
10-
file: logs/lsss.log
10+
file:
11+
name: logs/lsss.log
1112

12-
---
1313
security.basic.enabled: false
1414

15-
---
1615
spring:
16+
1717
main:
1818
allow-circular-references: true
1919
allow-bean-definition-overriding: true
20+
2021
profiles.active: production
2122

23+
sql:
24+
init:
25+
platform: h2
26+
# platform: postgresql
27+
2228
datasource:
23-
platform: h2
2429
driverClassName: org.h2.Driver
2530
url: jdbc:h2:mem:AZ;DB_CLOSE_DELAY=-1;DB_CLOSE_ON_EXIT=FALSE
26-
# platform: postgres
2731
# driverClassName: org.postgresql.Driver
2832
# url: jdbc:postgresql://localhost:5432/lsss
2933

@@ -42,12 +46,11 @@ spring:
4246

4347
jpa:
4448
database-platform: org.hibernate.dialect.H2Dialect
45-
# database-platform: org.hibernate.dialect.PostgreSQLDialect
49+
# database-platform: org.hibernate.dialect.PostgreSQL10Dialect
4650

4751
show-sql: false
4852
hibernate.ddl-auto: create-drop
4953

50-
---
5154
app:
5255
products.url: http://localhost:9001/products
5356

@@ -82,7 +85,6 @@ management:
8285
health:
8386
enabled: true
8487

85-
---
8688
#############################
8789
# Framework auth properties #
8890
#############################
@@ -96,7 +98,6 @@ auth:
9698
# edu.tamu.weaver.token.provider.controller.TokenController
9799
path: /auth
98100

99-
---
100101
#############################
101102
# Framework shib properties #
102103
#############################

0 commit comments

Comments
 (0)