rucio 37.4.0__py3-none-any.whl → 37.5.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of rucio might be problematic. Click here for more details.

Files changed (102) hide show
  1. rucio/client/downloadclient.py +1 -1
  2. rucio/client/requestclient.py +6 -5
  3. rucio/common/constants.py +14 -17
  4. rucio/common/utils.py +18 -2
  5. rucio/core/permission/generic.py +3 -0
  6. rucio/core/replica.py +1 -1
  7. rucio/core/request.py +2 -2
  8. rucio/core/transfer.py +4 -5
  9. rucio/daemons/conveyor/throttler.py +2 -1
  10. rucio/db/sqla/constants.py +3 -3
  11. rucio/db/sqla/migrate_repo/versions/13d4f70c66a9_introduce_transfer_limits.py +1 -1
  12. rucio/db/sqla/models.py +1 -1
  13. rucio/gateway/request.py +13 -12
  14. rucio/rse/rsemanager.py +2 -2
  15. rucio/vcsversion.py +3 -3
  16. rucio/web/rest/flaskapi/v1/accountlimits.py +22 -22
  17. rucio/web/rest/flaskapi/v1/accounts.py +157 -157
  18. rucio/web/rest/flaskapi/v1/archives.py +10 -10
  19. rucio/web/rest/flaskapi/v1/auth.py +106 -106
  20. rucio/web/rest/flaskapi/v1/config.py +37 -37
  21. rucio/web/rest/flaskapi/v1/credentials.py +25 -25
  22. rucio/web/rest/flaskapi/v1/dids.py +381 -381
  23. rucio/web/rest/flaskapi/v1/dirac.py +8 -8
  24. rucio/web/rest/flaskapi/v1/export.py +6 -6
  25. rucio/web/rest/flaskapi/v1/heartbeats.py +14 -14
  26. rucio/web/rest/flaskapi/v1/identities.py +25 -25
  27. rucio/web/rest/flaskapi/v1/import.py +19 -19
  28. rucio/web/rest/flaskapi/v1/lifetime_exceptions.py +54 -54
  29. rucio/web/rest/flaskapi/v1/locks.py +60 -60
  30. rucio/web/rest/flaskapi/v1/meta_conventions.py +29 -29
  31. rucio/web/rest/flaskapi/v1/nongrid_traces.py +4 -4
  32. rucio/web/rest/flaskapi/v1/ping.py +4 -4
  33. rucio/web/rest/flaskapi/v1/redirect.py +16 -16
  34. rucio/web/rest/flaskapi/v1/replicas.py +281 -281
  35. rucio/web/rest/flaskapi/v1/requests.py +274 -270
  36. rucio/web/rest/flaskapi/v1/rses.py +427 -427
  37. rucio/web/rest/flaskapi/v1/rules.py +129 -129
  38. rucio/web/rest/flaskapi/v1/scopes.py +21 -21
  39. rucio/web/rest/flaskapi/v1/subscriptions.py +113 -113
  40. rucio/web/rest/flaskapi/v1/traces.py +18 -18
  41. rucio/web/rest/flaskapi/v1/vos.py +32 -32
  42. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/requirements.server.txt +1 -1
  43. {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/METADATA +1 -1
  44. {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/RECORD +102 -102
  45. {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/WHEEL +1 -1
  46. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/alembic.ini.template +0 -0
  47. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/alembic_offline.ini.template +0 -0
  48. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/globus-config.yml.template +0 -0
  49. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/ldap.cfg.template +0 -0
  50. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approval_request.tmpl +0 -0
  51. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approved_admin.tmpl +0 -0
  52. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approved_user.tmpl +0 -0
  53. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_denied_admin.tmpl +0 -0
  54. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_denied_user.tmpl +0 -0
  55. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_ok_notification.tmpl +0 -0
  56. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rse-accounts.cfg.template +0 -0
  57. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio.cfg.atlas.client.template +0 -0
  58. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio.cfg.template +0 -0
  59. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio_multi_vo.cfg.template +0 -0
  60. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/tools/bootstrap.py +0 -0
  61. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/tools/merge_rucio_configs.py +0 -0
  62. {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/tools/reset_database.py +0 -0
  63. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio +0 -0
  64. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-account +0 -0
  65. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-collection-replica +0 -0
  66. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-rse +0 -0
  67. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-admin +0 -0
  68. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-atropos +0 -0
  69. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-auditor +0 -0
  70. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-automatix +0 -0
  71. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-bb8 +0 -0
  72. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-cache-client +0 -0
  73. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-cache-consumer +0 -0
  74. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-finisher +0 -0
  75. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-poller +0 -0
  76. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-preparer +0 -0
  77. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-receiver +0 -0
  78. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-stager +0 -0
  79. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-submitter +0 -0
  80. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-throttler +0 -0
  81. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-dark-reaper +0 -0
  82. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-dumper +0 -0
  83. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-follower +0 -0
  84. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-hermes +0 -0
  85. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-cleaner +0 -0
  86. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-evaluator +0 -0
  87. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-injector +0 -0
  88. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-repairer +0 -0
  89. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-kronos +0 -0
  90. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-minos +0 -0
  91. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-minos-temporary-expiration +0 -0
  92. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-necromancer +0 -0
  93. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-oauth-manager +0 -0
  94. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-reaper +0 -0
  95. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-replica-recoverer +0 -0
  96. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-rse-decommissioner +0 -0
  97. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-storage-consistency-actions +0 -0
  98. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-transmogrifier +0 -0
  99. {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-undertaker +0 -0
  100. {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/licenses/AUTHORS.rst +0 -0
  101. {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/licenses/LICENSE +0 -0
  102. {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/top_level.txt +0 -0
@@ -27,24 +27,24 @@ class Scope(ErrorHandlingMethodView):
27
27
  """
28
28
  ---
29
29
  summary: List Scopes
30
- description: List all scopes
30
+ description: "List all scopes"
31
31
  tags:
32
32
  - Scopes
33
33
  responses:
34
34
  200:
35
- description: OK
35
+ description: "OK"
36
36
  content:
37
37
  application/json:
38
38
  schema:
39
- description: All scopes.
39
+ description: "All scopes."
40
40
  type: array
41
41
  items:
42
- description: A scope.
42
+ description: "A scope."
43
43
  type: string
44
44
  401:
45
- description: Invalid Auth Token
45
+ description: "Invalid Auth Token"
46
46
  406:
47
- description: Not acceptable
47
+ description: "Not acceptable"
48
48
  """
49
49
  return jsonify(list_scopes(vo=request.environ['vo']))
50
50
 
@@ -52,36 +52,36 @@ class Scope(ErrorHandlingMethodView):
52
52
  """
53
53
  ---
54
54
  summary: Add Scope
55
- description: Adds a new scope.
55
+ description: "Adds a new scope."
56
56
  tags:
57
57
  - Scopes
58
58
  parameters:
59
59
  - name: account
60
60
  in: path
61
- description: The account associated with the scope.
61
+ description: "The account associated with the scope."
62
62
  schema:
63
63
  type: string
64
64
  style: simple
65
65
  - name: scope
66
66
  in: path
67
- description: The name of the scope.
67
+ description: "The name of the scope."
68
68
  schema:
69
69
  type: string
70
70
  style: simple
71
71
  responses:
72
72
  201:
73
- description: OK
73
+ description: "OK"
74
74
  content:
75
75
  application/json:
76
76
  schema:
77
77
  type: string
78
78
  enum: ["Created"]
79
79
  401:
80
- description: Invalid Auth Token
80
+ description: "Invalid Auth Token"
81
81
  404:
82
- description: Account not found
82
+ description: "Account not found"
83
83
  409:
84
- description: Scope already exists
84
+ description: "Scope already exists"
85
85
  """
86
86
  try:
87
87
  add_scope(scope, account, issuer=request.environ['issuer'], vo=request.environ['vo'])
@@ -100,33 +100,33 @@ class AccountScopeList(ErrorHandlingMethodView):
100
100
  """
101
101
  ---
102
102
  summary: List Account Scopes
103
- description: List all scopes for an account.
103
+ description: "List all scopes for an account."
104
104
  tags:
105
105
  - Scopes
106
106
  parameters:
107
107
  - name: account
108
108
  in: path
109
- description: The account associated with the scope.
109
+ description: "The account associated with the scope."
110
110
  schema:
111
111
  type: string
112
112
  style: simple
113
113
  responses:
114
114
  200:
115
- description: OK
115
+ description: "OK"
116
116
  content:
117
117
  application/json:
118
118
  schema:
119
- description: All scopes for the account.
119
+ description: "All scopes for the account."
120
120
  type: array
121
121
  items:
122
- description: A scope for the account.
122
+ description: "A scope for the account."
123
123
  type: string
124
124
  401:
125
- description: Invalid Auth Token
125
+ description: "Invalid Auth Token"
126
126
  404:
127
- description: Account not found or no scopes
127
+ description: "Account not found or no scopes"
128
128
  406:
129
- description: Not acceptable
129
+ description: "Not acceptable"
130
130
  """
131
131
  try:
132
132
  scopes = get_scopes(account, vo=request.environ['vo'])