changed getPropertyMap -> getMetadata.getMap()
updated pom version at 1.2.0 git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portal/ws-synchronized-module-library@174511 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
abbbba9f32
commit
fa49edfea2
2
pom.xml
2
pom.xml
|
@ -11,7 +11,7 @@
|
|||
|
||||
<groupId>org.gcube.portal</groupId>
|
||||
<artifactId>ws-synchronized-module-library</artifactId>
|
||||
<version>1.1.0-SNAPSHOT</version>
|
||||
<version>1.2.0-SNAPSHOT</version>
|
||||
<packaging>jar</packaging>
|
||||
|
||||
<name>ws-synchronized-module-library</name>
|
||||
|
|
|
@ -378,7 +378,7 @@ public class WorkspaceThreddsSynchronize implements WorkspaceThreddsSynchronized
|
|||
String wsSyncStatus = null;
|
||||
try{
|
||||
|
||||
Map<String, Object> map = storageHubInstance.open(itemId).asItem().get().getPropertyMap().getValues();
|
||||
Map<String, Object> 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)
|
||||
|
|
Loading…
Reference in New Issue