Commit Graph

35 Commits

Author SHA1 Message Date
Roberto Cirillo c387a38fdf removed unused imports;
deleted main test
2021-10-07 15:43:06 +02:00
Roberto Cirillo 15a4909d7c bug fix 22164; clean code. 2021-10-07 15:11:55 +02:00
Roberto Cirillo de82a56a72 copy: if source and dest have the same id, return 2021-09-10 09:44:05 +02:00
Roberto Cirillo 0472efaf36 add some comments 2021-09-09 15:58:57 +02:00
Roberto Cirillo 745323eb63 add some comments 2021-09-09 15:18:26 +02:00
Roberto Cirillo 3979da000f fix compare sourceId with destId 2021-09-09 12:53:22 +02:00
Roberto Cirillo 20e3993af2 throw exception if an object is a valid id and it is not present on backend after the retry mechanism 2021-09-09 12:25:13 +02:00
Roberto Cirillo af016382fe fix wrong print 2021-09-09 11:52:31 +02:00
Roberto Cirillo e7cd080da7 add another check for understand if the source and destination are the same during a copy operation 2021-09-09 11:24:30 +02:00
Roberto Cirillo ea22672588 add a little sleep in order to understand if it solve the issue 21980 2021-09-09 11:03:44 +02:00
Roberto Cirillo 81b80f1748 add getgCubeMemoryType method to the IClient interface 2021-09-03 10:36:06 +02:00
Roberto Cirillo b12e16eb4b renamed class RequestObject to MyFile in order to preserve backward compatibility 2021-09-02 14:48:35 +02:00
Roberto Cirillo c0cc09fd5e renamed class RequestObject to MyFile in order to preserve backward compatibility 2021-09-02 14:48:17 +02:00
Roberto Cirillo 4f8a65e348 clean mongoobjects into forceClose operation 2021-08-06 14:39:24 +02:00
Roberto Cirillo 7965fa019f add forceClose operation. Update to version 2.13.0-SNAPSHOT 2021-08-04 09:43:10 +02:00
Roberto Cirillo ee531ec7ef using tm instance on transportManagerFactory in order to consider that a transport should be linked to VOLATILE or PERSISTENT memory 2021-06-18 12:04:41 +02:00
Roberto Cirillo 763b30fa04 fix merge conflicts 2021-05-14 17:06:24 +02:00
Roberto Cirillo 6aabf6729d Resolved merge conflict 2021-05-14 16:44:47 +02:00
Roberto Cirillo ab9dfcab66 delegate the transportManager check to TransportManagerFactory class 2021-05-13 18:06:40 +02:00
Roberto Cirillo 77ec6925c7 remove transportLayer check from Operation class 2021-05-13 16:15:55 +02:00
Roberto Cirillo 52a6cf8641 added debug log on TransportManagerFactory 2021-05-13 16:15:18 +02:00
Roberto Cirillo 60b9ebaa93 convert BasicDBObject to DBObject the return type used for metadata collections 2021-05-13 15:24:32 +02:00
Roberto Cirillo 88fe3747f6 update to version 2.12.1-SNAPSHOT #21390 2021-05-13 11:57:05 +02:00
Roberto Cirillo eb74e06cdf 2.12.0-SNAP: static operation class, bypassed mongo close 2021-04-01 10:15:03 +02:00
Roberto Cirillo 53a52fdc31 removed close method for mongo client. Now the connection pool is
managed by java driver, upgrade mongo-java-driver to 3.12. Deprecated
getUrl method
2021-03-12 17:24:49 +01:00
Roberto Cirillo 094484fcf6 deprecated Http methods used for returning http url
update pom to version 3.0.1-SNAPSHOT
2021-02-25 15:30:22 +01:00
roberto cirillo e0a11206b7 added token and region parameters.
refactoring code
2020-12-22 17:57:44 +01:00
roberto cirillo a4532fcacd set to static the TransportManager field defined into Operation class.
In this way the backend used is always the same
2020-11-19 15:15:09 +01:00
roberto cirillo 1a7d79127b refactoring Operation class. Created new method getTransport 2020-11-12 18:11:07 +01:00
roberto cirillo a3619dc643 added missing class TransportManager 2020-11-09 16:14:24 +01:00
roberto cirillo c3fde07fc8 update to version 2.10.0-SNAPSHOT
added new input parameter to getSize method, for compatibility with s3
client plugin
2020-11-09 16:13:18 +01:00
Roberto Cirillo 0be1fbe400 merge from trunk
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/content-management/storage-manager-core/2.9@174054 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-11-08 14:22:51 +00:00
Roberto Cirillo 2bd087f658 Restored old costants:
GetHttpUrl.URL_SEPARATOR
GetHttpUrl.VOLATILE_URL_SEPARATOR
and set them to deprecated


git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/content-management/storage-manager-core/2.9@173723 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-19 13:09:22 +00:00
Roberto Cirillo 9fa52cbc79 set to SSL mode
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/content-management/storage-manager-core/2.9@173551 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-17 09:11:10 +00:00
Roberto Cirillo 7d0f512d13 merge from trunk
git-svn-id: http://svn.research-infrastructures.eu/public/d4science/gcube/branches/content-management/storage-manager-core/2.9@171824 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-10-02 10:05:43 +00:00