Skip to content

Commit f30b962

Browse files
committed
consolidate yaml configs as much as possible
1 parent e4a1c6e commit f30b962

File tree

3 files changed

+32
-63
lines changed

3 files changed

+32
-63
lines changed
Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
spring:
2-
main:
3-
web-application-type: SERVLET
4-
application:
5-
name: Barcode API
6-
mvc:
7-
view:
8-
prefix: /public/
9-
suffix: .html
101
server:
112
port: 8080
123
http2:
@@ -21,25 +12,3 @@ server:
2112
error:
2213
whitelabel:
2314
enabled: false
24-
logging:
25-
level:
26-
org:
27-
springframework:
28-
web:
29-
filter:
30-
CommonsRequestLoggingFilter: DEBUG
31-
32-
springdoc:
33-
api-docs:
34-
path: /api-docs
35-
enabled: true
36-
version: OPENAPI-3-0
37-
swagger-ui:
38-
path: /swagger-ui.html
39-
display-request-duration: true
40-
groups-order: DESC
41-
operations-sorter: method
42-
disable-swagger-default-url: true
43-
enabled: true
44-
show-actuator: true
45-
packages-to-scan: com.pnuema.java.barcode
Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,3 @@
1-
spring:
2-
main:
3-
web-application-type: SERVLET
4-
application:
5-
name: Barcode API
6-
mvc:
7-
view:
8-
prefix: /public/
9-
suffix: .html
101
server:
112
port: 8443
123
http2:
@@ -24,25 +15,3 @@ server:
2415
ssl:
2516
certificate: /ssl/cert.crt
2617
certificate-private-key: /ssl/cert.key
27-
logging:
28-
level:
29-
org:
30-
springframework:
31-
web:
32-
filter:
33-
CommonsRequestLoggingFilter: DEBUG
34-
35-
springdoc:
36-
api-docs:
37-
path: /api-docs
38-
enabled: true
39-
version: OPENAPI-3-0
40-
swagger-ui:
41-
path: /swagger-ui.html
42-
display-request-duration: true
43-
groups-order: DESC
44-
operations-sorter: method
45-
disable-swagger-default-url: true
46-
enabled: true
47-
show-actuator: true
48-
packages-to-scan: com.pnuema.java.barcode

src/main/resources/application.yml

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,34 @@
11
spring:
22
profiles:
3-
active: nossl
3+
active: nossl
4+
main:
5+
web-application-type: SERVLET
6+
application:
7+
name: Barcode API
8+
mvc:
9+
view:
10+
prefix: /public/
11+
suffix: .html
12+
13+
logging:
14+
level:
15+
org:
16+
springframework:
17+
web:
18+
filter:
19+
CommonsRequestLoggingFilter: DEBUG
20+
21+
springdoc:
22+
api-docs:
23+
path: /api-docs
24+
enabled: true
25+
version: OPENAPI-3-0
26+
swagger-ui:
27+
path: /swagger-ui.html
28+
display-request-duration: true
29+
groups-order: DESC
30+
operations-sorter: method
31+
disable-swagger-default-url: true
32+
enabled: true
33+
show-actuator: true
34+
packages-to-scan: com.pnuema.java.barcode

0 commit comments

Comments
 (0)