New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wrong specification for ‘Create a new replication rule’ #6515
Labels
Milestone
Comments
GooseNight
added a commit
to GooseNight/rucioFork
that referenced
this issue
Apr 12, 2024
…ucio#6515 This commit replaces the wrong specification for dids for 'Create a new replication rule', it was previously specified as a list of strings. It is now specified as a list of dictionaries containing two properties scope and name.
GooseNight
added a commit
to GooseNight/rucioFork
that referenced
this issue
Apr 16, 2024
…ucio#6515 This commit replaces the wrong specification for dids for 'Create a new replication rule', it was previously specified as a list of strings. It is now specified as a list of dictionaries containing two properties scope and name.
GooseNight
added a commit
to GooseNight/rucioFork
that referenced
this issue
Apr 16, 2024
…ucio#6515 This commit replaces the wrong specification for dids for 'Create a new replication rule', it was previously specified as a list of strings. It is now specified as a list of dictionaries containing two properties scope and name.
bari12
pushed a commit
that referenced
this issue
Apr 17, 2024
…6515 This commit replaces the wrong specification for dids for 'Create a new replication rule', it was previously specified as a list of strings. It is now specified as a list of dictionaries containing two properties scope and name.
bari12
pushed a commit
that referenced
this issue
Apr 17, 2024
…6515 This commit replaces the wrong specification for dids for 'Create a new replication rule', it was previously specified as a list of strings. It is now specified as a list of dictionaries containing two properties scope and name.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
The Client API has:
rucio/lib/rucio/client/ruleclient.py
Lines 33 to 35 in 666faa5
The specification for the REST API is:
rucio/lib/rucio/web/rest/flaskapi/v1/rules.py
Lines 252 to 256 in 666faa5
Yes the Rucio CLI uses a dictionary:
rucio/bin/rucio
Lines 1171 to 1175 in 666faa5
And the internal API and core layers expect it as such:
rucio/lib/rucio/api/rule.py
Lines 93 to 94 in 666faa5
rucio/lib/rucio/core/rule.py
Lines 236 to 241 in 666faa5
Steps to reproduce
add_replication_rule
from the Client API where thedids
parameter is alist
ofstr
s.Rucio Version
No response
Additional Information
No response
The text was updated successfully, but these errors were encountered: