summaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authorJoffrey BION <joffrey.bion@gmail.com>2017-08-24 02:00:59 +0200
committerJoffrey BION <joffrey.bion@gmail.com>2017-09-24 22:56:02 +0200
commit81c8e382bbdbad4adcfc910c2b12e0a918667401 (patch)
tree22ec048ac9dc556795fa3292fd78ebb1d073321c /backend
parentMove from JsonDoc to Livedoc (diff)
downloadseven-wonders-81c8e382bbdbad4adcfc910c2b12e0a918667401.tar.gz
seven-wonders-81c8e382bbdbad4adcfc910c2b12e0a918667401.tar.bz2
seven-wonders-81c8e382bbdbad4adcfc910c2b12e0a918667401.zip
Upgrade to Livedoc 0.4.0 and fix properties
Diffstat (limited to 'backend')
-rw-r--r--backend/build.gradle4
-rw-r--r--backend/src/main/resources/application.properties14
2 files changed, 7 insertions, 11 deletions
diff --git a/backend/build.gradle b/backend/build.gradle
index 6e728b12..73389ee8 100644
--- a/backend/build.gradle
+++ b/backend/build.gradle
@@ -18,8 +18,8 @@ repositories {
dependencies {
compile 'com.google.code.gson:gson:2.8.0'
compile 'ch.qos.logback:logback-classic:1.1.8'
- compile 'org.hildan.livedoc:livedoc-springboot:0.2.0'
- compile 'org.hildan.livedoc:livedoc-ui-webjar:0.2.0'
+ compile 'org.hildan.livedoc:livedoc-springboot:0.4.0'
+ compile 'org.hildan.livedoc:livedoc-ui-webjar:0.4.0'
compile 'org.springframework.boot:spring-boot-starter-websocket'
compile 'org.springframework.security:spring-security-core:4.2.0.RELEASE'
diff --git a/backend/src/main/resources/application.properties b/backend/src/main/resources/application.properties
index 17c83826..8b197363 100644
--- a/backend/src/main/resources/application.properties
+++ b/backend/src/main/resources/application.properties
@@ -1,11 +1,7 @@
# mandatory configuration
-jsondoc.version=1.0
-jsondoc.basePath=http://localhost:8080
-jsondoc.packages[0]=org.luxons.sevenwonders
-#jsondoc.packages[1]=org.luxons.sevenwonders.doc
-#jsondoc.packages[2]=org.luxons.sevenwonders.controllers
-#jsondoc.packages[3]=org.luxons.sevenwonders.actions
-#jsondoc.packages[4]=org.luxons.sevenwonders.game
+livedoc.version=1.0
+livedoc.basePath=http://localhost:8080
+livedoc.packages[0]=org.luxons.sevenwonders
# optional configuration
-jsondoc.playgroundEnabled=true
-jsondoc.displayMethodAs=URI
+livedoc.playgroundEnabled=true
+livedoc.displayMethodAs=URI
bgstack15