From 2f2e960f4006dea4923f0e27248e016e1b762015 Mon Sep 17 00:00:00 2001
From: Piotr Gawron <piotr.gawron@uni.lu>
Date: Fri, 30 Jun 2017 11:44:11 +0200
Subject: [PATCH] pubmed api version changed

---
 .../java/lcsb/mapviewer/annotation/services/PubmedParser.java  | 2 +-
 persist/src/db/11/fix_db_20170630.sql                          | 3 +++
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/annotation/src/main/java/lcsb/mapviewer/annotation/services/PubmedParser.java b/annotation/src/main/java/lcsb/mapviewer/annotation/services/PubmedParser.java
index 3a7d65c316..4c2ea656fa 100644
--- a/annotation/src/main/java/lcsb/mapviewer/annotation/services/PubmedParser.java
+++ b/annotation/src/main/java/lcsb/mapviewer/annotation/services/PubmedParser.java
@@ -54,7 +54,7 @@ public class PubmedParser extends CachableInterface implements IExternalService
 	/**
 	 * Version of the remote API thnat is supported by this connecting class.
 	 */
-	static final String						 SUPPORTED_VERSION				= "5.0";
+	static final String						 SUPPORTED_VERSION				= "5.2.1";
 
 	/**
 	 * Connector used for accessing data from miriam registry.
diff --git a/persist/src/db/11/fix_db_20170630.sql b/persist/src/db/11/fix_db_20170630.sql
index b5930e3887..43755aba74 100644
--- a/persist/src/db/11/fix_db_20170630.sql
+++ b/persist/src/db/11/fix_db_20170630.sql
@@ -1,2 +1,5 @@
 -- ensembl api version changed
 delete from cachequery where type in (select iddb from cache_type  where classname='lcsb.mapviewer.annotation.services.annotators.EnsemblAnnotator');
+
+-- pubmed api version changed
+delete from cachequery where type in (select iddb from cache_type  where classname='lcsb.mapviewer.annotation.services.PubmedParser');
-- 
GitLab