diff --git a/pom.xml b/pom.xml index 755067d..2296a2a 100644 --- a/pom.xml +++ b/pom.xml @@ -11,7 +11,7 @@ org.gcube.portal ws-synchronized-module-library - 1.1.0-SNAPSHOT + 1.2.0-SNAPSHOT jar ws-synchronized-module-library diff --git a/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java b/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java index 973eba2..ac44864 100644 --- a/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java +++ b/src/main/java/org/gcube/portal/wssynclibrary/thredds/WorkspaceThreddsSynchronize.java @@ -378,7 +378,7 @@ public class WorkspaceThreddsSynchronize implements WorkspaceThreddsSynchronized String wsSyncStatus = null; try{ - Map map = storageHubInstance.open(itemId).asItem().get().getPropertyMap().getValues(); + Map map = storageHubInstance.open(itemId).asItem().get().getMetadata().getMap(); wsSyncStatus = (String) map.get(WS_SYNCH_SYNCH_STATUS); logger.debug("Item id: "+itemId+" read from Shub has current: "+WS_SYNCH_SYNCH_STATUS +" value at: "+wsSyncStatus); if(wsSyncStatus==null)