Wiki source code of Data Proxy

Version 9.1 by alexisdurieux on 2021/01/06 11:35

Hide last authors
alexisdurieux 1.1 1 (% class="jumbotron" %)
2 (((
3 (% class="container" %)
4 (((
alexisdurieux 8.1 5 (% style="text-align: justify;" %)
alexisdurieux 5.1 6 = Data Proxy =
alexisdurieux 1.1 7
alexisdurieux 8.1 8 (% style="text-align: justify;" %)
alexisdurieux 6.1 9 Documentation
alexisdurieux 1.1 10 )))
11 )))
12
13 (% class="row" %)
14 (((
15 (% class="col-xs-12 col-sm-4" %)
16 (((
alexisdurieux 8.1 17 (% style="text-align: justify;" %)
alexisdurieux 6.1 18 The data proxy core is the application that acts as a proxy to the CSCS Swift storage.
19
alexisdurieux 8.1 20 (% style="text-align: justify;" %)
alexisdurieux 6.1 21 ==== Authentication ====
22
alexisdurieux 8.1 23 (% style="text-align: justify;" %)
alexisdurieux 6.1 24 The application itself is connected to the CSCS storage. The user is authenticated against the data-proxy application using an authorization headers. The user is then authenticated against the EBRAINS platform. That means the user only needs to have a ebrains account to access the data proxy and the swift storage capabilities
25
alexisdurieux 8.1 26 (% style="text-align: justify;" %)
alexisdurieux 6.1 27 === Bucket system ===
28
alexisdurieux 8.1 29 (% style="text-align: justify;" %)
alexisdurieux 6.1 30 We use the collaboratory authorization system for the buckets.
31
alexisdurieux 8.1 32 (% style="text-align: justify;" %)
alexisdurieux 6.1 33 For every collab, it is possible to access a swift container as a user. The action the user can perform on the buckets depend on the rights the user has in the collab
34
35 (% border="3" %)
alexisdurieux 8.1 36 |=(% style="text-align: justify;" %)Collab Right|=(% style="text-align: justify;" %)Available actions on bucket
37 |(% style="text-align:justify" %)Viewer|(% style="text-align:justify" %)Read
38 |(% style="text-align:justify" %)Editor|(% style="text-align:justify" %)Create, Read, Update, Delete
39 |(% style="text-align:justify" %)Admin|(% style="text-align:justify" %)Create, Read, Update, Delete
40 |(% style="text-align:justify" %)Not a collab member|(% style="text-align:justify" %)No actions
alexisdurieux 6.1 41
alexisdurieux 8.1 42 (% style="text-align: justify;" %)
alexisdurieux 6.1 43 **Should the editor be able to create the bucket in the first place ?**
44
45
alexisdurieux 8.1 46 (% style="text-align: justify;" %)
alexisdurieux 6.1 47 === **Api description** ===
48
alexisdurieux 8.1 49 (% style="text-align: justify;" %)
alexisdurieux 1.1 50
51 )))
alexisdurieux 8.1 52
53 [[image:Screenshot_2021-01-06 FastAPI - Swagger UI.png]]
alexisdurieux 1.1 54 )))