Updated Koral version for InfoController.
Change-Id: I2f395450e27b8573057a38bd13d73124feca71be
diff --git a/core/Changes b/core/Changes
index 3861484..7d3e66f 100644
--- a/core/Changes
+++ b/core/Changes
@@ -1,3 +1,7 @@
+# version 0.63.1
+2021-03-25
+ - Updated Koral version for InfoController.
+
# version 0.63
14/01/2021
- Updated Flyway (margaretha)
diff --git a/core/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java b/core/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java
index f2691da..fa83ebc 100644
--- a/core/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java
+++ b/core/src/main/java/de/ids_mannheim/korap/utils/ServiceInfo.java
@@ -1,6 +1,7 @@
package de.ids_mannheim.korap.utils;
import de.ids_mannheim.korap.config.ConfigLoader;
+import de.ids_mannheim.korap.query.serialize.QuerySerializer;
import lombok.Getter;
import java.io.IOException;
@@ -44,6 +45,7 @@
private void load () {
Properties props = new Properties();
try {
+
InputStream stream = getStream();
props.load(stream);
stream.close();
@@ -55,7 +57,9 @@
this.cache_store = (String) props.get("kustvakt.cache_store");
this.krillVersion=(String) props.get("krill.version");
- this.koralVersion=(String) props.get("koral.version");
+
+ QuerySerializer s = new QuerySerializer();
+ this.koralVersion = s.getVersion() ;
}
catch (IOException e) {
this.version = UNKNOWN;