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.
- rucio/client/downloadclient.py +1 -1
- rucio/client/requestclient.py +6 -5
- rucio/common/constants.py +14 -17
- rucio/common/utils.py +18 -2
- rucio/core/permission/generic.py +3 -0
- rucio/core/replica.py +1 -1
- rucio/core/request.py +2 -2
- rucio/core/transfer.py +4 -5
- rucio/daemons/conveyor/throttler.py +2 -1
- rucio/db/sqla/constants.py +3 -3
- rucio/db/sqla/migrate_repo/versions/13d4f70c66a9_introduce_transfer_limits.py +1 -1
- rucio/db/sqla/models.py +1 -1
- rucio/gateway/request.py +13 -12
- rucio/rse/rsemanager.py +2 -2
- rucio/vcsversion.py +3 -3
- rucio/web/rest/flaskapi/v1/accountlimits.py +22 -22
- rucio/web/rest/flaskapi/v1/accounts.py +157 -157
- rucio/web/rest/flaskapi/v1/archives.py +10 -10
- rucio/web/rest/flaskapi/v1/auth.py +106 -106
- rucio/web/rest/flaskapi/v1/config.py +37 -37
- rucio/web/rest/flaskapi/v1/credentials.py +25 -25
- rucio/web/rest/flaskapi/v1/dids.py +381 -381
- rucio/web/rest/flaskapi/v1/dirac.py +8 -8
- rucio/web/rest/flaskapi/v1/export.py +6 -6
- rucio/web/rest/flaskapi/v1/heartbeats.py +14 -14
- rucio/web/rest/flaskapi/v1/identities.py +25 -25
- rucio/web/rest/flaskapi/v1/import.py +19 -19
- rucio/web/rest/flaskapi/v1/lifetime_exceptions.py +54 -54
- rucio/web/rest/flaskapi/v1/locks.py +60 -60
- rucio/web/rest/flaskapi/v1/meta_conventions.py +29 -29
- rucio/web/rest/flaskapi/v1/nongrid_traces.py +4 -4
- rucio/web/rest/flaskapi/v1/ping.py +4 -4
- rucio/web/rest/flaskapi/v1/redirect.py +16 -16
- rucio/web/rest/flaskapi/v1/replicas.py +281 -281
- rucio/web/rest/flaskapi/v1/requests.py +274 -270
- rucio/web/rest/flaskapi/v1/rses.py +427 -427
- rucio/web/rest/flaskapi/v1/rules.py +129 -129
- rucio/web/rest/flaskapi/v1/scopes.py +21 -21
- rucio/web/rest/flaskapi/v1/subscriptions.py +113 -113
- rucio/web/rest/flaskapi/v1/traces.py +18 -18
- rucio/web/rest/flaskapi/v1/vos.py +32 -32
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/requirements.server.txt +1 -1
- {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/METADATA +1 -1
- {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/RECORD +102 -102
- {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/WHEEL +1 -1
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/alembic.ini.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/alembic_offline.ini.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/globus-config.yml.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/ldap.cfg.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approval_request.tmpl +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approved_admin.tmpl +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_approved_user.tmpl +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_denied_admin.tmpl +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_denied_user.tmpl +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/mail_templates/rule_ok_notification.tmpl +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rse-accounts.cfg.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio.cfg.atlas.client.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio.cfg.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/etc/rucio_multi_vo.cfg.template +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/tools/bootstrap.py +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/tools/merge_rucio_configs.py +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/data/rucio/tools/reset_database.py +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-account +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-collection-replica +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-abacus-rse +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-admin +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-atropos +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-auditor +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-automatix +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-bb8 +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-cache-client +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-cache-consumer +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-finisher +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-poller +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-preparer +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-receiver +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-stager +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-submitter +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-conveyor-throttler +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-dark-reaper +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-dumper +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-follower +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-hermes +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-cleaner +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-evaluator +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-injector +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-judge-repairer +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-kronos +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-minos +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-minos-temporary-expiration +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-necromancer +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-oauth-manager +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-reaper +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-replica-recoverer +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-rse-decommissioner +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-storage-consistency-actions +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-transmogrifier +0 -0
- {rucio-37.4.0.data → rucio-37.5.0.data}/scripts/rucio-undertaker +0 -0
- {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/licenses/AUTHORS.rst +0 -0
- {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/licenses/LICENSE +0 -0
- {rucio-37.4.0.dist-info → rucio-37.5.0.dist-info}/top_level.txt +0 -0
|
@@ -71,12 +71,12 @@ class UserPass(ErrorHandlingMethodView):
|
|
|
71
71
|
"""
|
|
72
72
|
---
|
|
73
73
|
summary: UserPass Allow cross-site scripting
|
|
74
|
-
description: UserPass Allow cross-site scripting. Explicit for Authentication.
|
|
74
|
+
description: "UserPass Allow cross-site scripting. Explicit for Authentication."
|
|
75
75
|
tags:
|
|
76
76
|
- Auth
|
|
77
77
|
responses:
|
|
78
78
|
200:
|
|
79
|
-
description: OK
|
|
79
|
+
description: "OK"
|
|
80
80
|
headers:
|
|
81
81
|
Access-Control-Allow-Origin:
|
|
82
82
|
schema:
|
|
@@ -97,7 +97,7 @@ class UserPass(ErrorHandlingMethodView):
|
|
|
97
97
|
type: string
|
|
98
98
|
enum: ['X-Rucio-Auth-Token']
|
|
99
99
|
404:
|
|
100
|
-
description: Not found
|
|
100
|
+
description: "Not found"
|
|
101
101
|
"""
|
|
102
102
|
|
|
103
103
|
return '', 200, self.get_headers()
|
|
@@ -107,41 +107,41 @@ class UserPass(ErrorHandlingMethodView):
|
|
|
107
107
|
"""
|
|
108
108
|
---
|
|
109
109
|
summary: UserPass
|
|
110
|
-
description: Authenticate a Rucio account temporarily via username and password.
|
|
110
|
+
description: "Authenticate a Rucio account temporarily via username and password."
|
|
111
111
|
tags:
|
|
112
112
|
- Auth
|
|
113
113
|
parameters:
|
|
114
114
|
- name: X-Rucio-Account
|
|
115
115
|
in: header
|
|
116
|
-
description: Account identifier as a string.
|
|
116
|
+
description: "Account identifier as a string."
|
|
117
117
|
schema:
|
|
118
118
|
type: string
|
|
119
119
|
required: true
|
|
120
120
|
- name: X-Rucio-Username
|
|
121
121
|
in: header
|
|
122
|
-
description: Username as a string.
|
|
122
|
+
description: "Username as a string."
|
|
123
123
|
schema:
|
|
124
124
|
type: string
|
|
125
125
|
required: true
|
|
126
126
|
- name: X-Rucio-Password
|
|
127
127
|
in: header
|
|
128
|
-
description: password as a text-plain string.
|
|
128
|
+
description: "password as a text-plain string."
|
|
129
129
|
schema:
|
|
130
130
|
type: string
|
|
131
131
|
required: true
|
|
132
132
|
- name: X-Rucio-AppID
|
|
133
133
|
in: header
|
|
134
|
-
description: Application identifier as a string.
|
|
134
|
+
description: "Application identifier as a string."
|
|
135
135
|
schema:
|
|
136
136
|
type: string
|
|
137
137
|
- name: X-Forwarded-For
|
|
138
138
|
in: header
|
|
139
|
-
description: The forward ip address.
|
|
139
|
+
description: "The forward ip address."
|
|
140
140
|
schema:
|
|
141
141
|
type: string
|
|
142
142
|
responses:
|
|
143
143
|
200:
|
|
144
|
-
description: OK
|
|
144
|
+
description: "OK"
|
|
145
145
|
headers:
|
|
146
146
|
Access-Control-Allow-Origin:
|
|
147
147
|
schema:
|
|
@@ -167,17 +167,17 @@ class UserPass(ErrorHandlingMethodView):
|
|
|
167
167
|
X-Rucio-Auth-Account:
|
|
168
168
|
schema:
|
|
169
169
|
type: string
|
|
170
|
-
description: The rucio account used for authentication
|
|
170
|
+
description: "The rucio account used for authentication"
|
|
171
171
|
206:
|
|
172
|
-
description: Partial content containing X-Rucio-Auth-Accounts header
|
|
172
|
+
description: "Partial content containing X-Rucio-Auth-Accounts header"
|
|
173
173
|
headers:
|
|
174
174
|
X-Rucio-Auth-Accounts:
|
|
175
175
|
schema:
|
|
176
176
|
type: string
|
|
177
|
-
description: The rucio accounts corresponding to the provided identity as a csv string
|
|
177
|
+
description: "The rucio accounts corresponding to the provided identity as a csv string"
|
|
178
178
|
|
|
179
179
|
401:
|
|
180
|
-
description: Cannot authenticate
|
|
180
|
+
description: "Cannot authenticate"
|
|
181
181
|
"""
|
|
182
182
|
headers = self.get_headers()
|
|
183
183
|
|
|
@@ -247,12 +247,12 @@ class OIDC(ErrorHandlingMethodView):
|
|
|
247
247
|
"""
|
|
248
248
|
---
|
|
249
249
|
summary: OIDC Allow cross-site scripting
|
|
250
|
-
description: OIDC Allow cross-site scripting. Explicit for Authentication.
|
|
250
|
+
description: "OIDC Allow cross-site scripting. Explicit for Authentication."
|
|
251
251
|
tags:
|
|
252
252
|
- Auth
|
|
253
253
|
responses:
|
|
254
254
|
200:
|
|
255
|
-
description: OK
|
|
255
|
+
description: "OK"
|
|
256
256
|
headers:
|
|
257
257
|
Access-Control-Allow-Origin:
|
|
258
258
|
schema:
|
|
@@ -269,7 +269,7 @@ class OIDC(ErrorHandlingMethodView):
|
|
|
269
269
|
type: string
|
|
270
270
|
enum: ['true']
|
|
271
271
|
404:
|
|
272
|
-
description: Not found
|
|
272
|
+
description: "Not found"
|
|
273
273
|
"""
|
|
274
274
|
|
|
275
275
|
return '', 200, self.get_headers()
|
|
@@ -279,13 +279,13 @@ class OIDC(ErrorHandlingMethodView):
|
|
|
279
279
|
"""
|
|
280
280
|
---
|
|
281
281
|
summary: OIDC
|
|
282
|
-
description: Authenticate a Rucio account via OIDC.
|
|
282
|
+
description: "Authenticate a Rucio account via OIDC."
|
|
283
283
|
tags:
|
|
284
284
|
- Auth
|
|
285
285
|
parameters:
|
|
286
286
|
- name: HTTP_X_RUCIO_ACCOUNT
|
|
287
287
|
in: header
|
|
288
|
-
description: Account identifier as a string.
|
|
288
|
+
description: "Account identifier as a string."
|
|
289
289
|
schema:
|
|
290
290
|
type: string
|
|
291
291
|
- name: HTTP_X_RUCIO_CLIENT_AUTHORIZE_SCOPE
|
|
@@ -318,14 +318,14 @@ class OIDC(ErrorHandlingMethodView):
|
|
|
318
318
|
type: string
|
|
319
319
|
responses:
|
|
320
320
|
200:
|
|
321
|
-
description: OK
|
|
321
|
+
description: "OK"
|
|
322
322
|
headers:
|
|
323
323
|
X-Rucio-OIDC-Auth-URL:
|
|
324
|
-
description: User & Rucio OIDC Client specific Authorization URL
|
|
324
|
+
description: "User & Rucio OIDC Client specific Authorization URL"
|
|
325
325
|
schema:
|
|
326
326
|
type: string
|
|
327
327
|
401:
|
|
328
|
-
description: Cannot authenticate
|
|
328
|
+
description: "Cannot authenticate"
|
|
329
329
|
"""
|
|
330
330
|
headers = self.get_headers()
|
|
331
331
|
|
|
@@ -394,12 +394,12 @@ class RedirectOIDC(ErrorHandlingMethodView):
|
|
|
394
394
|
"""
|
|
395
395
|
---
|
|
396
396
|
summary: RedirectOIDC Allow cross-site scripting
|
|
397
|
-
description: RedirectOIDC Allow cross-site scripting. Explicit for Authentication.
|
|
397
|
+
description: "RedirectOIDC Allow cross-site scripting. Explicit for Authentication."
|
|
398
398
|
tags:
|
|
399
399
|
- Auth
|
|
400
400
|
responses:
|
|
401
401
|
200:
|
|
402
|
-
description: OK
|
|
402
|
+
description: "OK"
|
|
403
403
|
headers:
|
|
404
404
|
Access-Control-Allow-Origin:
|
|
405
405
|
schema:
|
|
@@ -416,7 +416,7 @@ class RedirectOIDC(ErrorHandlingMethodView):
|
|
|
416
416
|
type: string
|
|
417
417
|
enum: ['true']
|
|
418
418
|
404:
|
|
419
|
-
description: Not found
|
|
419
|
+
description: "Not found"
|
|
420
420
|
"""
|
|
421
421
|
return '', 200, self.get_headers()
|
|
422
422
|
|
|
@@ -425,7 +425,7 @@ class RedirectOIDC(ErrorHandlingMethodView):
|
|
|
425
425
|
"""
|
|
426
426
|
---
|
|
427
427
|
summary: RedirectOIDC
|
|
428
|
-
description: Authenticate a Rucio account via RedirectOIDC.
|
|
428
|
+
description: "Authenticate a Rucio account via RedirectOIDC."
|
|
429
429
|
tags:
|
|
430
430
|
- Auth
|
|
431
431
|
parameters:
|
|
@@ -435,10 +435,10 @@ class RedirectOIDC(ErrorHandlingMethodView):
|
|
|
435
435
|
type: string
|
|
436
436
|
responses:
|
|
437
437
|
200:
|
|
438
|
-
description: OK
|
|
438
|
+
description: "OK"
|
|
439
439
|
headers:
|
|
440
440
|
X-Rucio-Auth-Token:
|
|
441
|
-
description: The authentication token
|
|
441
|
+
description: "The authentication token"
|
|
442
442
|
schema:
|
|
443
443
|
type: string
|
|
444
444
|
Content-Type:
|
|
@@ -446,9 +446,9 @@ class RedirectOIDC(ErrorHandlingMethodView):
|
|
|
446
446
|
type: string
|
|
447
447
|
enum: ['application/octet-stream']
|
|
448
448
|
303:
|
|
449
|
-
description: Redirect
|
|
449
|
+
description: "Redirect"
|
|
450
450
|
401:
|
|
451
|
-
description: Cannot authenticate
|
|
451
|
+
description: "Cannot authenticate"
|
|
452
452
|
"""
|
|
453
453
|
headers = self.get_headers()
|
|
454
454
|
|
|
@@ -509,12 +509,12 @@ class CodeOIDC(ErrorHandlingMethodView):
|
|
|
509
509
|
"""
|
|
510
510
|
---
|
|
511
511
|
summary: CodeOIDC Allow cross-site scripting
|
|
512
|
-
description: CodeOIDC Allow cross-site scripting. Explicit for Authentication.
|
|
512
|
+
description: "CodeOIDC Allow cross-site scripting. Explicit for Authentication."
|
|
513
513
|
tags:
|
|
514
514
|
- Auth
|
|
515
515
|
responses:
|
|
516
516
|
200:
|
|
517
|
-
description: OK
|
|
517
|
+
description: "OK"
|
|
518
518
|
headers:
|
|
519
519
|
Access-Control-Allow-Origin:
|
|
520
520
|
schema:
|
|
@@ -531,7 +531,7 @@ class CodeOIDC(ErrorHandlingMethodView):
|
|
|
531
531
|
type: string
|
|
532
532
|
enum: ['true']
|
|
533
533
|
404:
|
|
534
|
-
description: Not found
|
|
534
|
+
description: "Not found"
|
|
535
535
|
"""
|
|
536
536
|
return '', 200, self.get_headers()
|
|
537
537
|
|
|
@@ -540,7 +540,7 @@ class CodeOIDC(ErrorHandlingMethodView):
|
|
|
540
540
|
"""
|
|
541
541
|
---
|
|
542
542
|
summary: CodeOIDC
|
|
543
|
-
description: Authenticate a Rucio account via CodeOIDC.
|
|
543
|
+
description: "Authenticate a Rucio account via CodeOIDC."
|
|
544
544
|
tags:
|
|
545
545
|
- Auth
|
|
546
546
|
parameters:
|
|
@@ -550,9 +550,9 @@ class CodeOIDC(ErrorHandlingMethodView):
|
|
|
550
550
|
type: string
|
|
551
551
|
responses:
|
|
552
552
|
200:
|
|
553
|
-
description: OK
|
|
553
|
+
description: "OK"
|
|
554
554
|
400:
|
|
555
|
-
description: Invalid request
|
|
555
|
+
description: "Invalid request"
|
|
556
556
|
"""
|
|
557
557
|
headers = self.get_headers()
|
|
558
558
|
|
|
@@ -606,12 +606,12 @@ class TokenOIDC(ErrorHandlingMethodView):
|
|
|
606
606
|
"""
|
|
607
607
|
---
|
|
608
608
|
summary: TokenOIDC Allow cross-site scripting
|
|
609
|
-
description: TokenOIDC Allow cross-site scripting. Explicit for Authentication.
|
|
609
|
+
description: "TokenOIDC Allow cross-site scripting. Explicit for Authentication."
|
|
610
610
|
tags:
|
|
611
611
|
- Auth
|
|
612
612
|
responses:
|
|
613
613
|
200:
|
|
614
|
-
description: OK
|
|
614
|
+
description: "OK"
|
|
615
615
|
headers:
|
|
616
616
|
Access-Control-Allow-Origin:
|
|
617
617
|
schema:
|
|
@@ -628,7 +628,7 @@ class TokenOIDC(ErrorHandlingMethodView):
|
|
|
628
628
|
type: string
|
|
629
629
|
enum: ['true']
|
|
630
630
|
404:
|
|
631
|
-
description: Not found
|
|
631
|
+
description: "Not found"
|
|
632
632
|
"""
|
|
633
633
|
return '', 200, self.get_headers()
|
|
634
634
|
|
|
@@ -637,7 +637,7 @@ class TokenOIDC(ErrorHandlingMethodView):
|
|
|
637
637
|
"""
|
|
638
638
|
---
|
|
639
639
|
summary: TokenOIDC
|
|
640
|
-
description: Authenticate a Rucio account via TokenOIDC.
|
|
640
|
+
description: "Authenticate a Rucio account via TokenOIDC."
|
|
641
641
|
tags:
|
|
642
642
|
- Auth
|
|
643
643
|
parameters:
|
|
@@ -647,18 +647,18 @@ class TokenOIDC(ErrorHandlingMethodView):
|
|
|
647
647
|
type: string
|
|
648
648
|
responses:
|
|
649
649
|
200:
|
|
650
|
-
description: OK
|
|
650
|
+
description: "OK"
|
|
651
651
|
headers:
|
|
652
652
|
X-Rucio-Auth-Token:
|
|
653
|
-
description: The authentication token
|
|
653
|
+
description: "The authentication token"
|
|
654
654
|
schema:
|
|
655
655
|
type: string
|
|
656
656
|
X-Rucio-Auth-Token-Expires:
|
|
657
|
-
description: The time when the token expires
|
|
657
|
+
description: "The time when the token expires"
|
|
658
658
|
schema:
|
|
659
659
|
type: string
|
|
660
660
|
401:
|
|
661
|
-
description: Cannot authenticate
|
|
661
|
+
description: "Cannot authenticate"
|
|
662
662
|
"""
|
|
663
663
|
headers = self.get_headers()
|
|
664
664
|
|
|
@@ -721,12 +721,12 @@ class RefreshOIDC(ErrorHandlingMethodView):
|
|
|
721
721
|
"""
|
|
722
722
|
---
|
|
723
723
|
summary: RefreshOIDC Allow cross-site scripting
|
|
724
|
-
description: RefreshOIDC Allow cross-site scripting. Explicit for Authentication.
|
|
724
|
+
description: "RefreshOIDC Allow cross-site scripting. Explicit for Authentication."
|
|
725
725
|
tags:
|
|
726
726
|
- Auth
|
|
727
727
|
responses:
|
|
728
728
|
200:
|
|
729
|
-
description: OK
|
|
729
|
+
description: "OK"
|
|
730
730
|
headers:
|
|
731
731
|
Access-Control-Allow-Origin:
|
|
732
732
|
schema:
|
|
@@ -747,7 +747,7 @@ class RefreshOIDC(ErrorHandlingMethodView):
|
|
|
747
747
|
type: string
|
|
748
748
|
enum: ['X-Rucio-Auth-Token']
|
|
749
749
|
404:
|
|
750
|
-
description: Not found
|
|
750
|
+
description: "Not found"
|
|
751
751
|
"""
|
|
752
752
|
return '', 200, self.get_headers()
|
|
753
753
|
|
|
@@ -756,7 +756,7 @@ class RefreshOIDC(ErrorHandlingMethodView):
|
|
|
756
756
|
"""
|
|
757
757
|
---
|
|
758
758
|
summary: RefreshOIDC
|
|
759
|
-
description: Authenticate a Rucio account via RefreshOIDC.
|
|
759
|
+
description: "Authenticate a Rucio account via RefreshOIDC."
|
|
760
760
|
tags:
|
|
761
761
|
- Auth
|
|
762
762
|
parameters:
|
|
@@ -772,18 +772,18 @@ class RefreshOIDC(ErrorHandlingMethodView):
|
|
|
772
772
|
required: true
|
|
773
773
|
responses:
|
|
774
774
|
200:
|
|
775
|
-
description: OK
|
|
775
|
+
description: "OK"
|
|
776
776
|
headers:
|
|
777
777
|
X-Rucio-Auth-Token:
|
|
778
|
-
description: The authentication token
|
|
778
|
+
description: "The authentication token"
|
|
779
779
|
schema:
|
|
780
780
|
type: string
|
|
781
781
|
X-Rucio-Auth-Token-Expires:
|
|
782
|
-
description: The time when the token expires
|
|
782
|
+
description: "The time when the token expires"
|
|
783
783
|
schema:
|
|
784
784
|
type: string
|
|
785
785
|
401:
|
|
786
|
-
description: Cannot authenticate
|
|
786
|
+
description: "Cannot authenticate"
|
|
787
787
|
"""
|
|
788
788
|
headers = self.get_headers()
|
|
789
789
|
|
|
@@ -830,12 +830,12 @@ class GSS(ErrorHandlingMethodView):
|
|
|
830
830
|
"""
|
|
831
831
|
---
|
|
832
832
|
summary: GSS Allow cross-site scripting
|
|
833
|
-
description: GSS Allow cross-site scripting. Explicit for Authentication.
|
|
833
|
+
description: "GSS Allow cross-site scripting. Explicit for Authentication."
|
|
834
834
|
tags:
|
|
835
835
|
- Auth
|
|
836
836
|
responses:
|
|
837
837
|
200:
|
|
838
|
-
description: OK
|
|
838
|
+
description: "OK"
|
|
839
839
|
headers:
|
|
840
840
|
Access-Control-Allow-Origin:
|
|
841
841
|
schema:
|
|
@@ -856,7 +856,7 @@ class GSS(ErrorHandlingMethodView):
|
|
|
856
856
|
type: string
|
|
857
857
|
enum: ['X-Rucio-Auth-Token']
|
|
858
858
|
404:
|
|
859
|
-
description: Not found
|
|
859
|
+
description: "Not found"
|
|
860
860
|
"""
|
|
861
861
|
return '', 200, self.get_headers()
|
|
862
862
|
|
|
@@ -865,7 +865,7 @@ class GSS(ErrorHandlingMethodView):
|
|
|
865
865
|
"""
|
|
866
866
|
---
|
|
867
867
|
summary: GSS
|
|
868
|
-
description: Authenticate a Rucio account via GSS.
|
|
868
|
+
description: "Authenticate a Rucio account via GSS."
|
|
869
869
|
tags:
|
|
870
870
|
- Auth
|
|
871
871
|
parameters:
|
|
@@ -889,18 +889,18 @@ class GSS(ErrorHandlingMethodView):
|
|
|
889
889
|
type: string
|
|
890
890
|
responses:
|
|
891
891
|
200:
|
|
892
|
-
description: OK
|
|
892
|
+
description: "OK"
|
|
893
893
|
headers:
|
|
894
894
|
X-Rucio-Auth-Token:
|
|
895
|
-
description: The authentication token
|
|
895
|
+
description: "The authentication token"
|
|
896
896
|
schema:
|
|
897
897
|
type: string
|
|
898
898
|
X-Rucio-Auth-Token-Expires:
|
|
899
|
-
description: The time when the token expires
|
|
899
|
+
description: "The time when the token expires"
|
|
900
900
|
schema:
|
|
901
901
|
type: string
|
|
902
902
|
401:
|
|
903
|
-
description: Cannot authenticate
|
|
903
|
+
description: "Cannot authenticate"
|
|
904
904
|
"""
|
|
905
905
|
|
|
906
906
|
headers = self.get_headers()
|
|
@@ -960,12 +960,12 @@ class x509(ErrorHandlingMethodView): # noqa: N801
|
|
|
960
960
|
"""
|
|
961
961
|
---
|
|
962
962
|
summary: x509 Allow cross-site scripting
|
|
963
|
-
description: x509 Allow cross-site scripting. Explicit for Authentication.
|
|
963
|
+
description: "x509 Allow cross-site scripting. Explicit for Authentication."
|
|
964
964
|
tags:
|
|
965
965
|
- Auth
|
|
966
966
|
responses:
|
|
967
967
|
200:
|
|
968
|
-
description: OK
|
|
968
|
+
description: "OK"
|
|
969
969
|
headers:
|
|
970
970
|
Access-Control-Allow-Origin:
|
|
971
971
|
schema:
|
|
@@ -986,7 +986,7 @@ class x509(ErrorHandlingMethodView): # noqa: N801
|
|
|
986
986
|
type: string
|
|
987
987
|
enum: ['X-Rucio-Auth-Token']
|
|
988
988
|
404:
|
|
989
|
-
description: Not found
|
|
989
|
+
description: "Not found"
|
|
990
990
|
"""
|
|
991
991
|
return '', 200, self.get_headers()
|
|
992
992
|
|
|
@@ -995,7 +995,7 @@ class x509(ErrorHandlingMethodView): # noqa: N801
|
|
|
995
995
|
"""
|
|
996
996
|
---
|
|
997
997
|
summary: x509
|
|
998
|
-
description: Authenticate a Rucio account via x509.
|
|
998
|
+
description: "Authenticate a Rucio account via x509."
|
|
999
999
|
tags:
|
|
1000
1000
|
- Auth
|
|
1001
1001
|
parameters:
|
|
@@ -1016,32 +1016,32 @@ class x509(ErrorHandlingMethodView): # noqa: N801
|
|
|
1016
1016
|
in: header
|
|
1017
1017
|
schema:
|
|
1018
1018
|
type: boolean
|
|
1019
|
-
description: If set to true, a HTTP 206 response will be returned if the identity is associated with multiple accounts.
|
|
1019
|
+
description: "If set to true, a HTTP 206 response will be returned if the identity is associated with multiple accounts."
|
|
1020
1020
|
responses:
|
|
1021
1021
|
200:
|
|
1022
|
-
description: OK
|
|
1022
|
+
description: "OK"
|
|
1023
1023
|
headers:
|
|
1024
1024
|
X-Rucio-Auth-Token:
|
|
1025
|
-
description: The authentication token
|
|
1025
|
+
description: "The authentication token"
|
|
1026
1026
|
schema:
|
|
1027
1027
|
type: string
|
|
1028
1028
|
X-Rucio-Auth-Token-Expires:
|
|
1029
|
-
description: The time when the token expires
|
|
1029
|
+
description: "The time when the token expires"
|
|
1030
1030
|
schema:
|
|
1031
1031
|
type: string
|
|
1032
1032
|
X-Rucio-Auth-Account:
|
|
1033
|
-
description: The rucio account corresponding to the provided identity
|
|
1033
|
+
description: "The rucio account corresponding to the provided identity"
|
|
1034
1034
|
schema:
|
|
1035
1035
|
type: string
|
|
1036
1036
|
206:
|
|
1037
|
-
description: Partial content containing X-Rucio-Auth-Accounts header
|
|
1037
|
+
description: "Partial content containing X-Rucio-Auth-Accounts header"
|
|
1038
1038
|
headers:
|
|
1039
1039
|
X-Rucio-Auth-Accounts:
|
|
1040
1040
|
schema:
|
|
1041
1041
|
type: string
|
|
1042
|
-
description: The rucio accounts corresponding to the provided identity as a csv string
|
|
1042
|
+
description: "The rucio accounts corresponding to the provided identity as a csv string"
|
|
1043
1043
|
401:
|
|
1044
|
-
description: Cannot authenticate
|
|
1044
|
+
description: "Cannot authenticate"
|
|
1045
1045
|
"""
|
|
1046
1046
|
headers = self.get_headers()
|
|
1047
1047
|
headers['Content-Type'] = 'application/octet-stream'
|
|
@@ -1130,12 +1130,12 @@ class SSH(ErrorHandlingMethodView):
|
|
|
1130
1130
|
"""
|
|
1131
1131
|
---
|
|
1132
1132
|
summary: SSH Allow cross-site scripting
|
|
1133
|
-
description: SSH Allow cross-site scripting. Explicit for Authentication.
|
|
1133
|
+
description: "SSH Allow cross-site scripting. Explicit for Authentication."
|
|
1134
1134
|
tags:
|
|
1135
1135
|
- Auth
|
|
1136
1136
|
responses:
|
|
1137
1137
|
200:
|
|
1138
|
-
description: OK
|
|
1138
|
+
description: "OK"
|
|
1139
1139
|
headers:
|
|
1140
1140
|
Access-Control-Allow-Origin:
|
|
1141
1141
|
schema:
|
|
@@ -1156,7 +1156,7 @@ class SSH(ErrorHandlingMethodView):
|
|
|
1156
1156
|
type: string
|
|
1157
1157
|
enum: ['X-Rucio-Auth-Token']
|
|
1158
1158
|
404:
|
|
1159
|
-
description: Not found
|
|
1159
|
+
description: "Not found"
|
|
1160
1160
|
"""
|
|
1161
1161
|
return '', 200, self.get_headers()
|
|
1162
1162
|
|
|
@@ -1165,7 +1165,7 @@ class SSH(ErrorHandlingMethodView):
|
|
|
1165
1165
|
"""
|
|
1166
1166
|
---
|
|
1167
1167
|
summary: SSH
|
|
1168
|
-
description: Authenticate a Rucio account via SSH.
|
|
1168
|
+
description: "Authenticate a Rucio account via SSH."
|
|
1169
1169
|
tags:
|
|
1170
1170
|
- Auth
|
|
1171
1171
|
parameters:
|
|
@@ -1189,18 +1189,18 @@ class SSH(ErrorHandlingMethodView):
|
|
|
1189
1189
|
type: string
|
|
1190
1190
|
responses:
|
|
1191
1191
|
200:
|
|
1192
|
-
description: OK
|
|
1192
|
+
description: "OK"
|
|
1193
1193
|
headers:
|
|
1194
1194
|
X-Rucio-Auth-Token:
|
|
1195
|
-
description: The authentication token
|
|
1195
|
+
description: "The authentication token"
|
|
1196
1196
|
schema:
|
|
1197
1197
|
type: string
|
|
1198
1198
|
X-Rucio-Auth-Token-Expires:
|
|
1199
|
-
description: The time when the token expires
|
|
1199
|
+
description: "The time when the token expires"
|
|
1200
1200
|
schema:
|
|
1201
1201
|
type: string
|
|
1202
1202
|
401:
|
|
1203
|
-
description: Cannot authenticate
|
|
1203
|
+
description: "Cannot authenticate"
|
|
1204
1204
|
"""
|
|
1205
1205
|
headers = self.get_headers()
|
|
1206
1206
|
|
|
@@ -1259,12 +1259,12 @@ class SSHChallengeToken(ErrorHandlingMethodView):
|
|
|
1259
1259
|
"""
|
|
1260
1260
|
---
|
|
1261
1261
|
summary: SSHChallengeToken Allow cross-site scripting
|
|
1262
|
-
description: SSHChallengeToken Allow cross-site scripting. Explicit for Authentication.
|
|
1262
|
+
description: "SSHChallengeToken Allow cross-site scripting. Explicit for Authentication."
|
|
1263
1263
|
tags:
|
|
1264
1264
|
- Auth
|
|
1265
1265
|
responses:
|
|
1266
1266
|
200:
|
|
1267
|
-
description: OK
|
|
1267
|
+
description: "OK"
|
|
1268
1268
|
headers:
|
|
1269
1269
|
Access-Control-Allow-Origin:
|
|
1270
1270
|
schema:
|
|
@@ -1285,7 +1285,7 @@ class SSHChallengeToken(ErrorHandlingMethodView):
|
|
|
1285
1285
|
type: string
|
|
1286
1286
|
enum: ['X-Rucio-Auth-Token']
|
|
1287
1287
|
404:
|
|
1288
|
-
description: Not found
|
|
1288
|
+
description: "Not found"
|
|
1289
1289
|
"""
|
|
1290
1290
|
return '', 200, self.get_headers()
|
|
1291
1291
|
|
|
@@ -1294,7 +1294,7 @@ class SSHChallengeToken(ErrorHandlingMethodView):
|
|
|
1294
1294
|
"""
|
|
1295
1295
|
---
|
|
1296
1296
|
summary: SSHChallengeToken
|
|
1297
|
-
description: Authenticate a Rucio account via SSHChallengeToken.
|
|
1297
|
+
description: "Authenticate a Rucio account via SSHChallengeToken."
|
|
1298
1298
|
tags:
|
|
1299
1299
|
- Auth
|
|
1300
1300
|
parameters:
|
|
@@ -1313,18 +1313,18 @@ class SSHChallengeToken(ErrorHandlingMethodView):
|
|
|
1313
1313
|
type: string
|
|
1314
1314
|
responses:
|
|
1315
1315
|
200:
|
|
1316
|
-
description: OK
|
|
1316
|
+
description: "OK"
|
|
1317
1317
|
headers:
|
|
1318
1318
|
X-Rucio-SSH-Challenge-Token:
|
|
1319
|
-
description: The authentication token
|
|
1319
|
+
description: "The authentication token"
|
|
1320
1320
|
schema:
|
|
1321
1321
|
type: string
|
|
1322
1322
|
X-Rucio-SSH-Challenge-Token-Expires:
|
|
1323
|
-
description: The time when the token expires
|
|
1323
|
+
description: "The time when the token expires"
|
|
1324
1324
|
schema:
|
|
1325
1325
|
type: string
|
|
1326
1326
|
401:
|
|
1327
|
-
description: Cannot authenticate
|
|
1327
|
+
description: "Cannot authenticate"
|
|
1328
1328
|
"""
|
|
1329
1329
|
headers = self.get_headers()
|
|
1330
1330
|
|
|
@@ -1374,12 +1374,12 @@ class SAML(ErrorHandlingMethodView):
|
|
|
1374
1374
|
"""
|
|
1375
1375
|
---
|
|
1376
1376
|
summary: SAML Allow cross-site scripting
|
|
1377
|
-
description: SAML Allow cross-site scripting. Explicit for Authentication.
|
|
1377
|
+
description: "SAML Allow cross-site scripting. Explicit for Authentication."
|
|
1378
1378
|
tags:
|
|
1379
1379
|
- Auth
|
|
1380
1380
|
responses:
|
|
1381
1381
|
200:
|
|
1382
|
-
description: OK
|
|
1382
|
+
description: "OK"
|
|
1383
1383
|
headers:
|
|
1384
1384
|
Access-Control-Allow-Origin:
|
|
1385
1385
|
schema:
|
|
@@ -1400,7 +1400,7 @@ class SAML(ErrorHandlingMethodView):
|
|
|
1400
1400
|
type: string
|
|
1401
1401
|
enum: ['X-Rucio-Auth-Token']
|
|
1402
1402
|
404:
|
|
1403
|
-
description: Not found
|
|
1403
|
+
description: "Not found"
|
|
1404
1404
|
"""
|
|
1405
1405
|
return '', 200, self.get_headers()
|
|
1406
1406
|
|
|
@@ -1409,7 +1409,7 @@ class SAML(ErrorHandlingMethodView):
|
|
|
1409
1409
|
"""
|
|
1410
1410
|
---
|
|
1411
1411
|
summary: SAML
|
|
1412
|
-
description: Authenticate a Rucio account via SAML.
|
|
1412
|
+
description: "Authenticate a Rucio account via SAML."
|
|
1413
1413
|
tags:
|
|
1414
1414
|
- Auth
|
|
1415
1415
|
parameters:
|
|
@@ -1428,22 +1428,22 @@ class SAML(ErrorHandlingMethodView):
|
|
|
1428
1428
|
type: string
|
|
1429
1429
|
responses:
|
|
1430
1430
|
200:
|
|
1431
|
-
description: OK
|
|
1431
|
+
description: "OK"
|
|
1432
1432
|
headers:
|
|
1433
1433
|
X-Rucio-Auth-Token:
|
|
1434
|
-
description: The authentication token
|
|
1434
|
+
description: "The authentication token"
|
|
1435
1435
|
schema:
|
|
1436
1436
|
type: string
|
|
1437
1437
|
X-Rucio-Auth-Token-Expires:
|
|
1438
|
-
description: The time when the token expires
|
|
1438
|
+
description: "The time when the token expires"
|
|
1439
1439
|
schema:
|
|
1440
1440
|
type: string
|
|
1441
1441
|
X-Rucio-SAML-Auth-URL:
|
|
1442
|
-
description: The time when the token expires
|
|
1442
|
+
description: "The time when the token expires"
|
|
1443
1443
|
schema:
|
|
1444
1444
|
type: string
|
|
1445
1445
|
401:
|
|
1446
|
-
description: Cannot authenticate
|
|
1446
|
+
description: "Cannot authenticate"
|
|
1447
1447
|
"""
|
|
1448
1448
|
headers = self.get_headers()
|
|
1449
1449
|
|
|
@@ -1500,14 +1500,14 @@ class SAML(ErrorHandlingMethodView):
|
|
|
1500
1500
|
"""
|
|
1501
1501
|
---
|
|
1502
1502
|
summary: Post a SAML request
|
|
1503
|
-
description: Post a SAML request
|
|
1503
|
+
description: "Post a SAML request"
|
|
1504
1504
|
tags:
|
|
1505
1505
|
- Auth
|
|
1506
1506
|
responses:
|
|
1507
1507
|
200:
|
|
1508
|
-
description: OK
|
|
1508
|
+
description: "OK"
|
|
1509
1509
|
401:
|
|
1510
|
-
description: Invalid Auth Token
|
|
1510
|
+
description: "Invalid Auth Token"
|
|
1511
1511
|
"""
|
|
1512
1512
|
if not EXTRA_MODULES['onelogin']:
|
|
1513
1513
|
return "SAML not configured on the server side.", 200, [('X-Rucio-Auth-Token', '')]
|
|
@@ -1544,12 +1544,12 @@ class Validate(ErrorHandlingMethodView):
|
|
|
1544
1544
|
"""
|
|
1545
1545
|
---
|
|
1546
1546
|
summary: Validate Allow cross-site scripting
|
|
1547
|
-
description: Validate Allow cross-site scripting. Explicit for Authentication.
|
|
1547
|
+
description: "Validate Allow cross-site scripting. Explicit for Authentication."
|
|
1548
1548
|
tags:
|
|
1549
1549
|
- Auth
|
|
1550
1550
|
responses:
|
|
1551
1551
|
200:
|
|
1552
|
-
description: OK
|
|
1552
|
+
description: "OK"
|
|
1553
1553
|
headers:
|
|
1554
1554
|
Access-Control-Allow-Origin:
|
|
1555
1555
|
schema:
|
|
@@ -1570,7 +1570,7 @@ class Validate(ErrorHandlingMethodView):
|
|
|
1570
1570
|
type: string
|
|
1571
1571
|
enum: ['X-Rucio-Auth-Token']
|
|
1572
1572
|
404:
|
|
1573
|
-
description: Not found
|
|
1573
|
+
description: "Not found"
|
|
1574
1574
|
"""
|
|
1575
1575
|
return '', 200, self.get_headers()
|
|
1576
1576
|
|
|
@@ -1579,7 +1579,7 @@ class Validate(ErrorHandlingMethodView):
|
|
|
1579
1579
|
"""
|
|
1580
1580
|
---
|
|
1581
1581
|
summary: Validate
|
|
1582
|
-
description: Validate a Rucio auth token.
|
|
1582
|
+
description: "Validate a Rucio auth token."
|
|
1583
1583
|
tags:
|
|
1584
1584
|
- Auth
|
|
1585
1585
|
parameters:
|
|
@@ -1590,9 +1590,9 @@ class Validate(ErrorHandlingMethodView):
|
|
|
1590
1590
|
required: true
|
|
1591
1591
|
responses:
|
|
1592
1592
|
200:
|
|
1593
|
-
description: OK
|
|
1593
|
+
description: "OK"
|
|
1594
1594
|
401:
|
|
1595
|
-
description: Cannot authenticate
|
|
1595
|
+
description: "Cannot authenticate"
|
|
1596
1596
|
"""
|
|
1597
1597
|
|
|
1598
1598
|
headers = self.get_headers()
|