[Feature #18174] Moved to new search facility provided by SHUB
This commit is contained in:
parent
7f739b373f
commit
37f33ad74e
|
@ -1,28 +1,27 @@
|
|||
<ReleaseNotes>
|
||||
<Changeset
|
||||
component="org.gcube.common.storagehubwrapper.0-6-1"
|
||||
date="2019-12-19">
|
||||
component="org.gcube.common.storagehubwrapper.0-6-2" date="2020-03-11">
|
||||
<Change>[Feature #18174] Moved to new search facility provided by SHUB</Change>
|
||||
</Changeset>
|
||||
<Changeset
|
||||
component="org.gcube.common.storagehubwrapper.0-6-1" date="2019-12-19">
|
||||
<Change>Updated to Git and Jenkins</Change>
|
||||
</Changeset>
|
||||
<Changeset
|
||||
component="org.gcube.common.storagehubwrapper.0-6-0"
|
||||
date="2019-10-01">
|
||||
component="org.gcube.common.storagehubwrapper.0-6-0" date="2019-10-01">
|
||||
<Change>[Task #16688] Integrating new method added into SHUB</Change>
|
||||
</Changeset>
|
||||
<Changeset
|
||||
component="org.gcube.common.storagehubwrapper.0-5-0"
|
||||
date="2019-08-01">
|
||||
component="org.gcube.common.storagehubwrapper.0-5-0" date="2019-08-01">
|
||||
<Change>Released due to exceptions thrown by SHUB</Change>
|
||||
</Changeset>
|
||||
<Changeset
|
||||
component="org.gcube.common.storagehubwrapper.0-4-0"
|
||||
date="2019-06-01">
|
||||
component="org.gcube.common.storagehubwrapper.0-4-0" date="2019-06-01">
|
||||
<Change>Updated to new SHub interface</Change>
|
||||
<Change>Added method getMetadata</Change>
|
||||
</Changeset>
|
||||
<Changeset
|
||||
component="org.gcube.common.storagehubwrapper.0-3-0"
|
||||
date="2018-03-01">
|
||||
component="org.gcube.common.storagehubwrapper.0-3-0" date="2018-03-01">
|
||||
<Change>[Task #12059] added delete item</Change>
|
||||
<Change>[Task #12533] added trash operations</Change>
|
||||
<Change>[Task #12556] added download facility</Change>
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -10,7 +10,7 @@
|
|||
</parent>
|
||||
<groupId>org.gcube.common</groupId>
|
||||
<artifactId>storagehub-client-wrapper</artifactId>
|
||||
<version>0.6.1-SNAPSHOT</version>
|
||||
<version>0.6.2-SNAPSHOT</version>
|
||||
<name>storagehub-client-wrapper</name>
|
||||
<description>This is a wrapper of storagehub-client library. It allows to interact with storagehub in a simplified way by exposing several utilities. Moreover, It exposes by another inteface java beans as defined in (the old) HL interfaces</description>
|
||||
<scm>
|
||||
|
|
|
@ -552,7 +552,8 @@ public class StorageHubClientService {
|
|||
}
|
||||
|
||||
if(item instanceof FolderItem || item instanceof SharedFolder || item instanceof VreFolder){
|
||||
return shcClient.open(folderId).asFolder().findByName(name).withContent().getItems();
|
||||
//return shcClient.open(folderId).asFolder().findByName(name).withContent().getItems();
|
||||
return shcClient.open(folderId).asFolder().search(name).withContent().getItems();
|
||||
}else
|
||||
throw new Exception("The input folder id is not a folder");
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue