Commit Graph
16 Commits
Author SHA1 Message Date
Kaivan Kamali aced6baee3 Broke the script into two scripts: One script copies files from disk to irods, and another script verifies the checksum, then updated the object store id in dataset table and deletes the file on disk. 2020-08-25 09:17:59 -04:00
Kaivan Kamali 063588a997 Irods calculates checksum now when a file is added to it. Also, calculating the checksum locally, so can comapre to irods checksum after getting the file. 2020-08-24 15:31:06 -04:00
Kaivan Kamali 2e267ef55b Formatted the json file 2020-08-21 16:32:52 -04:00
Kaivan Kamali d96fe5db10 Revised script so that it now updates dataset table's object_store_id after file is copied to irods. Added script input json files. 2020-08-21 16:31:38 -04:00
Kaivan Kamali 0e00d24c1d Added function to display the required input parameters, incase caller does not provide all of them. 2020-08-21 14:20:58 -04:00
Kaivan Kamali 2b8aad8ccf irods and DB connection info passed in as json files 2020-08-21 14:06:13 -04:00
Kaivan Kamali 2cc093e938 object store info pased in as a json file 2020-08-21 13:42:54 -04:00
Kaivan Kamali 4ec2c98a1c iput works now 2020-08-20 18:54:19 -04:00
Kaivan Kamali b77e75d79c iputalmost works -- debugging 2020-08-20 16:41:43 -04:00
Kaivan Kamali 9fe92f8388 Updated dynamic sql per code review feedback. 2020-08-20 11:54:19 -04:00
Kaivan Kamali 1dec4af804 python irods client successfully puts filer in irods. Added partial capability to parse input parameters. 2020-08-20 11:16:23 -04:00
Kaivan Kamali 672eafad4d Using a single SQL statement to get all data instead of multiple SQL statements to get data one row at a time. 2020-08-19 14:28:49 -04:00
Kaivan Kamali 3193b51065 Applied some of the code review changes. 2020-08-19 13:26:43 -04:00
Kaivan Kamali a3699d05c2 Added wrapper method to call the method that adds file to irods in a loop for a range of object IDs. Also pulled out the DB connection object into the wrapper to no create/destroy it for every call. 2020-08-18 16:11:56 -04:00
Kaivan Kamali ed2d7633a5 Made revision based on self review. 2020-08-18 14:46:01 -04:00
Kaivan Kamali d5f26a72d3 More revision to script copying files to irods 2020-08-18 09:57:30 -04:00