Updated VC cache.
Change-Id: Id4663a9b51b8324669883df924370a9932af6076
diff --git a/core/pom.xml b/core/pom.xml
index 253c061..a645b00 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.ids_mannheim.korap</groupId>
<artifactId>Kustvakt-core</artifactId>
- <version>0.64.1</version>
+ <version>0.65</version>
<properties>
<java.version>1.8</java.version>
@@ -14,8 +14,8 @@
<hibernate.version>5.6.1.Final</hibernate.version>
<flyway.version>8.0.5</flyway.version>
<log4j.version>2.14.1</log4j.version>
- <krill.version>[0.59.6,)</krill.version>
- <koral.version>[0.37,)</koral.version>
+ <krill.version>[0.60,)</krill.version>
+ <koral.version>[0.38,)</koral.version>
</properties>
<build>
diff --git a/core/src/main/java/de/ids_mannheim/de/init/VCLoader.java b/core/src/main/java/de/ids_mannheim/de/init/VCLoader.java
index 5c19d97..b6a3e92 100644
--- a/core/src/main/java/de/ids_mannheim/de/init/VCLoader.java
+++ b/core/src/main/java/de/ids_mannheim/de/init/VCLoader.java
@@ -1,5 +1,6 @@
package de.ids_mannheim.de.init;
+@Deprecated
public interface VCLoader {
void recachePredefinedVC();
diff --git a/core/src/main/java/de/ids_mannheim/korap/service/SearchService.java b/core/src/main/java/de/ids_mannheim/korap/service/SearchService.java
index ea09a02..1e30a9e 100644
--- a/core/src/main/java/de/ids_mannheim/korap/service/SearchService.java
+++ b/core/src/main/java/de/ids_mannheim/korap/service/SearchService.java
@@ -27,7 +27,7 @@
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.sun.jersey.core.util.MultivaluedMapImpl;
-import de.ids_mannheim.de.init.VCLoader;
+//import de.ids_mannheim.de.init.VCLoader;
import de.ids_mannheim.korap.authentication.AuthenticationManager;
import de.ids_mannheim.korap.config.KustvaktConfiguration;
import de.ids_mannheim.korap.exceptions.KustvaktException;
@@ -51,8 +51,8 @@
@Autowired
private KustvaktConfiguration config;
- @Autowired
- private VCLoader vcLoader;
+// @Autowired
+// private VCLoader vcLoader;
@Autowired
private AuthenticationManager authenticationManager;
@@ -451,7 +451,7 @@
if (token != null && !token.isEmpty()
&& token.equals(context.getInitParameter("adminToken"))) {
searchKrill.closeIndexReader();
- vcLoader.recachePredefinedVC();
+// vcLoader.recachePredefinedVC();
}
else {
throw new KustvaktException(StatusCodes.INCORRECT_ADMIN_TOKEN,