Removed VCLoader.
Change-Id: Ieb93cc690d37c14d2f3bff95706863a959a1f5b8
diff --git a/full/Changes b/full/Changes
index bce8bd0..43369bc 100644
--- a/full/Changes
+++ b/full/Changes
@@ -1,3 +1,8 @@
+# version 0.65.2
+
+2022-03-03
+ - Removed VCLoader.
+
# version 0.65.1
2022-03-01
diff --git a/full/pom.xml b/full/pom.xml
index 3bd91f4..278ce60 100644
--- a/full/pom.xml
+++ b/full/pom.xml
@@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>de.ids_mannheim.korap</groupId>
<artifactId>Kustvakt-full</artifactId>
- <version>0.65.1</version>
+ <version>0.65.2</version>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
diff --git a/full/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java b/full/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java
deleted file mode 100644
index 6c00e4c..0000000
--- a/full/src/main/java/de/ids_mannheim/de/init/VCLoaderImpl.java
+++ /dev/null
@@ -1,19 +0,0 @@
-package de.ids_mannheim.de.init;
-
-import org.springframework.beans.factory.annotation.Autowired;
-
-import de.ids_mannheim.korap.KrillCollection;
-import de.ids_mannheim.korap.config.NamedVCLoader;
-
-public class VCLoaderImpl implements VCLoader{
-
- @Autowired
- private NamedVCLoader vcLoader;
-
- @Override
- public void recachePredefinedVC () {
-// KrillCollection.cache.removeAll();
- Thread t = new Thread(vcLoader);
- t.start();
- }
-}
diff --git a/full/src/main/resources/default-config.xml b/full/src/main/resources/default-config.xml
index f5c1352..86f686e 100644
--- a/full/src/main/resources/default-config.xml
+++ b/full/src/main/resources/default-config.xml
@@ -115,7 +115,7 @@
<!-- <property name="dataSource" ref="dataSource" /> -->
<property name="dataSource" ref="sqliteDataSource" />
<!-- <property name="dataSource" ref="c3p0DataSource" /> -->
-
+ <property name="outOfOrder" value="true" />
</bean>
<bean id="flyway" class="org.flywaydb.core.Flyway" init-method="migrate">
@@ -198,8 +198,6 @@
init-method="init">
</bean>
- <bean id="vcLoader" class="de.ids_mannheim.de.init.VCLoaderImpl"/>
-
<!-- Krill -->
<bean id="search_krill" class="de.ids_mannheim.korap.web.SearchKrill">
<constructor-arg value="${krill.indexDir}" />
diff --git a/full/src/test/resources/test-config.xml b/full/src/test/resources/test-config.xml
index de438a1..dbcd8b9 100644
--- a/full/src/test/resources/test-config.xml
+++ b/full/src/test/resources/test-config.xml
@@ -105,6 +105,7 @@
<property name="locations" value="#{'${jdbc.schemaPath}'.split(',')}"/>
<property name="dataSource" ref="sqliteDataSource" />
<!-- <property name="dataSource" ref="dataSource" /> -->
+ <property name="outOfOrder" value="true" />
</bean>
<bean id="flyway" class="org.flywaydb.core.Flyway" init-method="migrate">
@@ -179,8 +180,6 @@
init-method="initTest">
</bean>
- <bean id="vcLoader" class="de.ids_mannheim.de.init.VCLoaderImpl"/>
-
<!-- Krill -->
<bean id="search_krill" class="de.ids_mannheim.korap.web.SearchKrill">
<constructor-arg value="${krill.indexDir}" />