Skip to content

Commit

Permalink
Merge pull request #17156 from SergeyYakubov/rucio-plugin
Browse files Browse the repository at this point in the history
Adding object store plugin for Rucio
  • Loading branch information
mvdbeek authored Mar 5, 2024
2 parents 5c5f3aa + 332ba86 commit abe930a
Show file tree
Hide file tree
Showing 8 changed files with 1,047 additions and 2 deletions.
3 changes: 3 additions & 0 deletions lib/galaxy/dependencies/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,9 @@ def check_hvac(self):
def check_pkce(self):
return self.pkce_support

def check_rucio_clients(self):
return sys.version_info >= (3, 9)


def optional(config_file=None):
if not config_file:
Expand Down
3 changes: 3 additions & 0 deletions lib/galaxy/dependencies/conditional-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,3 +60,6 @@ weasyprint

# AWS Batch runner
boto3

#For Rucio storage plugin
rucio-clients==33.6.0
4 changes: 4 additions & 0 deletions lib/galaxy/objectstore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1430,6 +1430,10 @@ def type_to_object_store_class(store: str, fsmon: bool = False) -> Tuple[Type[Ba
from .pithos import PithosObjectStore

objectstore_class = PithosObjectStore
elif store == "rucio":
from .rucio import RucioObjectStore

objectstore_class = RucioObjectStore
else:
raise Exception(f"Unrecognized object store definition: {store}")
# Disable the Pulsar object store for now until it receives some attention
Expand Down
Loading

0 comments on commit abe930a

Please sign in to comment.