Skip to content

Commit 6bdd5d4

Browse files
authored
Fix #17 : Remove embedded webserver
1 parent 6c3edac commit 6bdd5d4

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Routines to populate [MPG GrandSlam](https://github.com/mansuydejean/mpggrandsla
88

99
1. Prerequisite: [java](https://www.java.com/fr/download/) should be installed and on your PATH.
1010
1. Download package *grandslam-populator-batch-x.y.jar* (via **Releases** button on right of this page).
11-
1. Provide `application.properties` in same directory file (see below for details).
11+
1. Provide `application.properties` file in same directory (see below for details).
1212
1. Execute:
1313

1414
```

src/main/resources/application.properties

+4-1
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,13 @@ mpg.url = https://api.monpetitgazon.com
1111
# Disable Spring banner
1212
spring.main.banner-mode=off
1313

14+
# Disable embedded web server
15+
spring.main.web-application-type=NONE
16+
1417
# Do not update schema (and try to create tables for spring batch metadata)
1518
spring.batch.initialize-schema=never
1619

1720
# Default logs
1821
logging.level.root=WARN
1922
logging.level.o.s.batch.core.job.SimpleStepHandler=INFO
20-
logging.level.org.blonding.mpg=INFO
23+
logging.level.org.blonding.mpg=INFO

0 commit comments

Comments
 (0)