Commit Graph

92 Commits

Author SHA1 Message Date
Francesco Mangiacrapa bc7dc90a16 changed common-lang to compile
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@181672 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-13 14:59:53 +00:00
Francesco Mangiacrapa ea8006b4ec merged with private version at 181399
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@181665 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-13 14:34:49 +00:00
Francesco Mangiacrapa 4bc1bff6ac Added print token as MASKED TOKEN
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@181538 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-09-09 10:09:50 +00:00
Francesco Mangiacrapa d08da3f2ea Updated uploadArchive. Now throwing only Exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@179247 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-05-03 12:51:39 +00:00
Francesco Mangiacrapa 7863c45c90 added only the general Exception to catch error on method uploadFile
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@179245 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-05-03 12:41:45 +00:00
Francesco Mangiacrapa 48c7fdaa9c Added method to set isRoot property
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@179056 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-04-17 09:40:46 +00:00
Francesco Mangiacrapa a34fa96a9a Released due to exceptions thrown by SHUB
Updated pom version at 0.5.0

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@178953 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-04-09 10:34:36 +00:00
Francesco Mangiacrapa 528b20a8e4 updated the interface
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@176370 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-08 14:49:16 +00:00
Francesco Mangiacrapa 62a595d7d1 added method getPublicLinkForFile(String fileItemId, String version)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@176369 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-08 14:27:41 +00:00
Francesco Mangiacrapa 73e1003326 added getPublicLinkForFileVersion
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@176368 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-08 14:24:42 +00:00
Francesco Mangiacrapa 6f6e4ffc55 fixed argument to constructor
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@176333 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-08 10:22:00 +00:00
Francesco Mangiacrapa 2572456fb3 added method getMetadata
updated changelog

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174513 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-03 11:21:17 +00:00
Francesco Mangiacrapa 610504689b Renamed method from SHub interface:
gePropertyMap -> getMetadata
getValues -> getMap

updated pom version at 0.4.0


git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174506 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-12-03 10:36:59 +00:00
Francesco Mangiacrapa 4c0d1d7df5 added old constructor public Item getItem(String itemId)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174331 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-22 17:08:51 +00:00
Francesco Mangiacrapa 81cdc930fa fixing builder with parameters
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174324 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-22 14:31:44 +00:00
Francesco Mangiacrapa 3943333a7c added parameters withAccounting, withMapProperties to get filtered list
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174322 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-22 13:35:01 +00:00
Francesco Mangiacrapa 657327f6fa Added StorageHub constructor
* @param withAccounting the with accounting
	 * @param withFileDetails the with file details
	 * @param withMapProperties the with map properties
	 *

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174321 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-22 11:49:47 +00:00
Francesco Mangiacrapa db3c9eda54 Checking the old property isPublic added as "<boolean>true</boolean>" by HL
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174309 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-21 16:45:29 +00:00
Francesco Mangiacrapa 53b60d3e11 Returning property map in case of folder in order to avoid multiple calls to load sync status
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174303 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-21 10:49:19 +00:00
Francesco Mangiacrapa 6eeca6b24d fixing unknown object (they are old report, template and so on)
added FileItemType.DOCUMENT

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174226 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-19 17:30:05 +00:00
Francesco Mangiacrapa 81f86c4a0c added type = WorkspaceItemType.FILE_ITEM for unknown object
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174224 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-19 16:51:05 +00:00
Francesco Mangiacrapa 6e415b450e changed a log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174222 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-19 16:16:48 +00:00
Francesco Mangiacrapa 663d342d35 fixing unknown object (they are old report, template and so on)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@174221 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-19 15:41:17 +00:00
Francesco Mangiacrapa 5a20d9e24e upgraded pom version at 0.3.0
updated changelog

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173813 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-24 15:26:53 +00:00
Francesco Mangiacrapa 9b6eb34d37 added isPublicItem to FolderItem
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173772 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-23 08:50:29 +00:00
Francesco Mangiacrapa bb678168b7 removed getThumbnailMimeType
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173646 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-18 09:36:22 +00:00
Francesco Mangiacrapa 2025826d89 added method to interface
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173598 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 13:35:34 +00:00
Francesco Mangiacrapa 33a569977e added mimetype for thumbnail
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173597 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 13:33:12 +00:00
Francesco Mangiacrapa ee44de36ad added exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173591 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 12:50:49 +00:00
Francesco Mangiacrapa 7ac8579282 added WrapperUtility
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173587 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 12:46:29 +00:00
Francesco Mangiacrapa bcf3c94f72 added getSize to Interface
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173562 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 10:44:51 +00:00
Francesco Mangiacrapa cbc92a9a44 removed unneeded exceptions
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173560 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 10:36:20 +00:00
Francesco Mangiacrapa 5feee8876e updated getThumbnailData
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173559 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 10:32:22 +00:00
Francesco Mangiacrapa 701db13f41 added Image Preview to StorageHub
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173558 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 10:12:44 +00:00
Francesco Mangiacrapa a9512d9711 fixed move and rename
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173517 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-16 13:18:59 +00:00
Francesco Mangiacrapa b1a2d03e59 added isCurrent to Version
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173408 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-12 15:31:59 +00:00
Francesco Mangiacrapa 848bf79920 removed nodeIdsToExclude as optional parameter
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173373 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-12 13:28:19 +00:00
Francesco Mangiacrapa 2ce82fc867 Updated the download facility adding also the versionName
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173365 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-12 13:19:11 +00:00
Francesco Mangiacrapa 11b602fd59 added getListVersionsForFile
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173332 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-12 12:19:09 +00:00
Francesco Mangiacrapa 0b6e876cc3 Added method getPublicLinkForFile(String fileItemId)
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173265 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-12 08:30:38 +00:00
Francesco Mangiacrapa e63afe0688 added public link
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173259 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-12 08:19:20 +00:00
Francesco Mangiacrapa b878496a2a updated error
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@173228 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-10 16:38:45 +00:00
Francesco Mangiacrapa 6e8f680fb6 Migrate Rename facility to StorageHub
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@172102 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-09 15:38:06 +00:00
Francesco Mangiacrapa 5cf7def8e9 removed log
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@172091 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-09 14:06:23 +00:00
Francesco Mangiacrapa 9112424306 fix on exception
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@172036 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-08 13:35:39 +00:00
Francesco Mangiacrapa 438320ec21 fixing move operation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171987 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-05 15:38:42 +00:00
Francesco Mangiacrapa d89e1338a3 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171986 82a268e6-3cf1-43bd-a215-b396298e98cf 2018-10-05 15:37:30 +00:00
Francesco Mangiacrapa 577f79af79 just indentation
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171978 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-05 13:21:23 +00:00
Francesco Mangiacrapa 9632887519 updated moveItems
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171977 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-05 13:20:16 +00:00
Francesco Mangiacrapa 9d92f3617a Adde moveItem copyFiles
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/Common/storagehub-client-wrapper@171961 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-05 10:41:45 +00:00