From e85303c8097f31f64ec1a579f7c75f17638f4a91 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Tue, 1 Feb 2022 16:17:43 +0100 Subject: [PATCH] Fixes 22722 --- geoportal-client/CHANGELOG.md | 5 ++++- geoportal-client/pom.xml | 2 +- .../geoportal/client/DefaultMongoConcessioni.java | 1 - geoportal-common/CHANGELOG.md | 1 + .../gcube/application/geoportal/common/utils/FileSets.java | 1 - 5 files changed, 6 insertions(+), 4 deletions(-) diff --git a/geoportal-client/CHANGELOG.md b/geoportal-client/CHANGELOG.md index 5b1585a..d64654e 100644 --- a/geoportal-client/CHANGELOG.md +++ b/geoportal-client/CHANGELOG.md @@ -2,6 +2,9 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # Changelog for org.gcube.application.geoportal-client +## [v1.0.7-SNAPSHOT] - 2022-02-01 +- Fixes #22722 + ## [v1.0.6] - 2021-09-20 - Changed artifact dependencies - Default Profiled Documents client @@ -20,7 +23,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Stateful Concessioni Manager client over mongo ## [v1.0.2] - 2020-11-11 -- Fixed dulicate dependency declaration +- Fixed duplicate dependency declaration ## [v1.0.1] - 2020-11-11 -Excluded common-calls 1.2.0 diff --git a/geoportal-client/pom.xml b/geoportal-client/pom.xml index 35d70b8..394240e 100644 --- a/geoportal-client/pom.xml +++ b/geoportal-client/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.gcube.application geoportal-client - 1.0.6 + 1.0.7-SNAPSHOT Geoportal Client diff --git a/geoportal-client/src/main/java/org/gcube/application/geoportal/client/DefaultMongoConcessioni.java b/geoportal-client/src/main/java/org/gcube/application/geoportal/client/DefaultMongoConcessioni.java index 9e8d971..8f97649 100644 --- a/geoportal-client/src/main/java/org/gcube/application/geoportal/client/DefaultMongoConcessioni.java +++ b/geoportal-client/src/main/java/org/gcube/application/geoportal/client/DefaultMongoConcessioni.java @@ -211,7 +211,6 @@ public class DefaultMongoConcessioni implements MongoConcessioni{ String resString=resp.readEntity(String.class); if(resp.getStatus()<200||resp.getStatus()>=300) throw new RemoteException("RESP STATUS IS "+resp.getStatus()+". Message : "+resString); - System.out.println("Resp String is "+resString); if(clazz!=null) return Serialization.read(resString, clazz); else return null; diff --git a/geoportal-common/CHANGELOG.md b/geoportal-common/CHANGELOG.md index 5112bea..0358990 100644 --- a/geoportal-common/CHANGELOG.md +++ b/geoportal-common/CHANGELOG.md @@ -5,6 +5,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm # [v1.0.9-SNAPSHOT] - 2022-01-17 - Minor fixes in model - Schema and jsonPath support +- Fixes [#22722](https://support.d4science.org/issues/22722) # [v1.0.8] - 2021-11-10 - Fixes [#22369](https://support.d4science.org/issues/22369) diff --git a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java index 64bc1dd..cc63df5 100644 --- a/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java +++ b/geoportal-common/src/main/java/org/gcube/application/geoportal/common/utils/FileSets.java @@ -77,7 +77,6 @@ public class FileSets { public static RegisterFileSetRequest prepareRequestFromFolder(StorageUtils storage, String path, File directory) throws FileNotFoundException { File[] children =directory.listFiles(); - System.out.println("Found "+children+ " files to push"); InputStreamDescriptor[] iss=new InputStreamDescriptor[children.length]; return prepareRequest(storage,path,children);