Commit Graph
108 Commits
Author SHA1 Message Date
mvdbeek 2bbae08220 Merge branch 'release_24.0' into release_24.1 2024-09-20 08:27:18 +02:00
mvdbeek e1d6c93a21 Fix discovered outputs with directory metadata and distributed object
stores

The problem is that `object_store.is_private` would check in which
object store the dataset is stored, and that fails if we haven't written
to the object store yet (which is why extended metadata is a
workaround).

Fixes https://github.com/galaxyproject/galaxy/issues/17208
2024-09-19 19:51:51 +02:00
mvdbeek 302328f05f Merge branch 'release_24.0' into release_24.1 2024-08-09 15:57:24 +02:00
davelopez d9051005bc Remove unnecessary assert for file_size
The file_size should be preserved in the database for traceability and other uses.
2024-08-09 14:03:53 +02:00
mvdbeek e395ea7d6d Stabilize test_purge_while_job_running test
In the extended_metadata + remote tool_evaluation_strategy the
commandline is templated as part of the job, so we need to give the test
more time to start running before we delete outputs (as then we can't
template the command line anymore).
2024-07-04 17:35:57 +02:00
mvdbeek b8e2bfc9c7 Merge branch 'release_24.0' into release_24.1 2024-06-11 13:42:48 +02:00
mvdbeek f0e09cc8bd Fix up tests 2024-06-11 08:18:14 +02:00
mvdbeek a35033d821 Extend test to make sure disk path remains purged 2024-06-10 11:58:46 +02:00
mvdbeek 435a8cd37f Fix up test cases
Add a sleep so we can delay output purging until command line is
templated. If we don't sleep we generate a command line where the
output path is just `''`. That needs another fix!
2024-06-10 10:34:15 +02:00
John Chilton 821b31c3b2 More structured indexing for user data objects.
I think I clung to the idea of having two ways to do this too long. I did a bunch of testing with the old way (exposing integer references based on numeric database primary keys). Having a config option that if changed would break everything exisiting is also a symptom of maybe me clinging too hard for too long.

The result of dropping this option is a much cleaner API schema, simpler API objects, and better typing throughout. We can also be more certain of how things entering the Vault are stored - I think being more strucutured about this is good.

Ultimately, the future facing stuff (e.g. OAuth 2.0) is going to require UUIDs so that I can store things like refresh tokens in the store before the object has been fully created.
2024-06-07 19:20:11 -04:00
John Chilton f95da89b3d Implement file source templates 2024-05-20 12:18:47 -04:00
John Chilton d3991a696b Object Store creation templates. 2024-05-20 12:16:02 -04:00
John Chilton 9d2a45f58d Merge pull request #17540 from bwalkowi/add-onedata-objectstore
Add onedata objectstore
2024-05-19 16:41:00 -04:00
John Chilton 3c991d3b20 Fix irods test cases for code refactoring. 2024-05-14 08:45:59 -04:00
Bartosz Walkowicz 2d995bb178 Format new onedata related code 2024-05-06 11:50:00 +02:00
Bartosz Walkowicz 1f6b6a0827 Merge branch 'dev' of https://github.com/galaxyproject/galaxy into add-onedata-objectstore 2024-05-06 06:34:16 +02:00
John Chilton e03d162429 Update Azure infrastructure. 2024-05-03 13:57:58 -04:00
Łukasz Opioła cdca217f34 Docs improvements, fix camelCasing of the tls validation option in Onedata file source plugin 2024-03-06 09:33:23 +01:00
Bartosz Walkowicz bf8db0cb5d Add //space/@path option to onedata objectstore 2024-03-06 09:33:20 +01:00
Bartosz Walkowicz 86d88559ff Use onedatafilerestclient instead on onedatarestfs 2024-03-06 09:25:11 +01:00
Bartosz Walkowicz 64b70b5ffe Remove debug prints 2024-03-06 09:25:11 +01:00
Bartosz Walkowicz 48f13dd546 Add Onedata objectstore implementation integration tests 2024-03-06 09:25:08 +01:00
Marius van den Beek abe930a471 Merge pull request #17156 from SergeyYakubov/rucio-plugin
Adding object store plugin for Rucio
2024-03-05 16:11:03 +01:00
John Chilton 4bd70b47ba Merge pull request #17460 from jmchilton/filter_storage
Allow filtering history datasets by object store ID and quota source.
2024-02-20 10:45:11 -05:00
Nicola Soranzo 6ffdf8489e Rename classes derived from `IntegrationInstance` which are not test cases 2024-02-16 10:53:04 +00:00
Nicola Soranzo dcd739a063 Type annotation and cleanup of `GalaxyTestDriver and integration_module_instance()` 2024-02-16 10:53:04 +00:00
John Chilton fcdcd8dc05 WIP: history filter by objectstore/quotasource 2024-02-15 14:13:49 -05:00
Yakubov, Sergey 442632f863 refactor tests skips, better wait to rucio to start 2024-02-14 13:24:38 -05:00
Yakubov, Sergey f23ab02059 rename password variable 2024-02-14 09:03:21 -05:00
Yakubov, Sergey 0b9d28eaa1 make rucio conditional dependency 2024-02-14 09:03:21 -05:00
Yakubov, Sergey 0beef65cc9 Adding object store plugin for Rucio
https://rucio.cern.ch
2024-02-14 09:03:21 -05:00
John Chilton c106a87a90 Implement device source ID for object stores.
Allow attaching a device ID on object stores that indicates they produce equivalent paths. Implement an API endpoint that allows swapping datsets between equivalent object stores if they have not been copied by new users.
2024-02-07 11:39:51 -05:00
Nicola Soranzo e975ca3754 Update to black 2024 stable style 2024-01-30 18:09:51 +00:00
Yakubov, Sergey d0eef6ab3e use cache_updated_data=True for s3 tests 2023-11-16 13:22:09 -05:00
Yakubov, Sergey 898c5c942d optimize object store pull
added sync_cache parameter to the get_filename function that allows
skip pulling to cache when not needed
2023-11-14 11:57:40 -05:00
Marius van den BeekandNicola Soranzo 7a915b60b6 Switch to trailing underscore
Co-authored-by: Nicola Soranzo <nicola.soranzo@gmail.com>
2023-07-31 18:51:40 +02:00
mvdbeek 147ca28af6 Test that object store cache file gets updated 2023-07-31 16:52:43 +02:00
John Davis 9db76ab147 Fix SA2.0 syntax (query->select) in integration tests 2023-07-21 13:04:23 -04:00
John Chilton 92055a5407 Rename object stores in config.
Per @bgruening's request - s3 -> aws_s3 and swift -> generic_s3.

I think we only construct object stores with the one method - so this should be backward compatible.
2023-05-04 16:06:45 -04:00
John Chilton 3ed291f076 object store selection test 2023-03-13 15:32:32 -04:00
John Chilton 262d4f42dd Swap /api/object_store -> /api/object_stores 2023-03-06 11:08:30 -05:00
John Chilton 03cfc7768f test case for object store selection with doubly nested workflow output 2023-02-21 14:19:00 -05:00
John Chilton 17baf6735e Fix object store selection for workflows with dynamic output collections. 2023-02-21 14:19:00 -05:00
John Chilton 45179db2e5 Fix dynamic collection outputs to respect job's specified object store 2023-02-21 14:19:00 -05:00
John Chilton d04d79a91f More work on object store selection of collections. 2023-02-21 14:18:59 -05:00
John Chilton 0e1bc0d745 fix object store workflow selection with collections... 2023-02-21 14:18:59 -05:00
John Chilton 1c6f9d0b4d nested workflow tests for this intermediate/output objectstore selection 2023-02-21 14:18:59 -05:00
John Chilton 46b6d85c67 implement preferred object store id 2023-02-21 14:18:58 -05:00
John Chilton 6d91292beb Lint fixes... 2023-02-21 14:18:57 -05:00
John Chilton f7a4992b4b Implement quota tracking options per ObjectStore. 2023-02-19 10:33:21 -05:00