Moved javax.servlet-api to core & added post construct to lite.
Change-Id: Iedbb97dd9b4a1cda68096967e7e636579719839b
diff --git a/lite/Changes b/lite/Changes
index 40e0a11..180dcab 100644
--- a/lite/Changes
+++ b/lite/Changes
@@ -1,6 +1,8 @@
version 0.61.1
22/10/2018
- Updated spring and kustvakt-core versions (margaretha)
+29/10/2018
+ - Added rewrite handler post construct (margaretha)
version 0.61.0
30/08/2018
diff --git a/lite/pom.xml b/lite/pom.xml
index 02b9699..8bf87ce 100644
--- a/lite/pom.xml
+++ b/lite/pom.xml
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.ids_mannheim.korap</groupId>
<artifactId>Kustvakt-lite</artifactId>
- <version>0.61.0</version>
+ <version>0.61.1</version>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
diff --git a/lite/src/main/java/de/ids_mannheim/korap/web/service/lite/LiteService.java b/lite/src/main/java/de/ids_mannheim/korap/web/service/lite/LiteService.java
index d268617..3873773 100644
--- a/lite/src/main/java/de/ids_mannheim/korap/web/service/lite/LiteService.java
+++ b/lite/src/main/java/de/ids_mannheim/korap/web/service/lite/LiteService.java
@@ -4,6 +4,7 @@
import java.util.List;
import java.util.Set;
+import javax.annotation.PostConstruct;
import javax.servlet.http.HttpServletRequest;
import javax.ws.rs.GET;
import javax.ws.rs.POST;
@@ -78,7 +79,11 @@
this.graphDBhandler = new ClientsHandler(builder.build());
}
-
+ @PostConstruct
+ private void init () {
+ processor.defaultRewriteConstraints();
+ }
+
/** Requires Karang (Neo4j search engine)
*
* @param query