DIRACGrid / DIRACGrid/DIRAC

[Bug]: InputDataAgent always uses FileCatalogClient

Open
#8,752 1 comment 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Python
Stars
126
Forks
191
Avg merge
1d 13h
Merged PRs (30d)
33

Description

### Search before creating an issue

- [x] I have searched existing issues and confirmed this is not a duplicate

### Bug Description

The `InputDataAgent` directly instantiates the `FileCatalogClient` instead of going through `FileCatalog`, making it impossible to use the `InputDataAgent` when the main file catalog of a DIRAC deployment is a `RucioFileCatalog`.

### Steps to Reproduce

https://github.com/DIRACGrid/DIRAC/blob/36806a11894e7330005b9fceaa42444a7ffb64f7/src/DIRAC/TransformationSystem/Agent/InputDataAgent.py#L48

### Expected Behavior

Use `FileCatalog` to obtain the correct client for the current configuration.

### Actual Behavior

_No response_

### Environment

_No response_

### Relevant Log Output

```shell

```

### Additional Context

_No response_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.