Wiki source code of Data Proxy
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | (% class="jumbotron" %) | ||
2 | ((( | ||
3 | (% class="container" %) | ||
4 | ((( | ||
5 | (% style="text-align: justify;" %) | ||
6 | = Data Proxy = | ||
7 | |||
8 | (% style="text-align: justify;" %) | ||
9 | Documentation | ||
10 | ))) | ||
11 | ))) | ||
12 | |||
13 | (% class="row" %) | ||
14 | ((( | ||
15 | ((( | ||
16 | (% style="text-align: justify;" %) | ||
17 | The data proxy core is the application that acts as a proxy to the CSCS Swift storage. | ||
18 | |||
19 | (% style="text-align: justify;" %) | ||
20 | ==== Authentication ==== | ||
21 | |||
22 | (% style="text-align: justify;" %) | ||
23 | The application itself is connected to the CSCS storage. The user is authenticated against the data-proxy application using authorization headers. The user is then authenticated against the EBRAINS platform. That means the user only needs to have an EBRAINS account to access the data proxy and the Swift storage capabilities | ||
24 | |||
25 | (% style="text-align: justify;" %) | ||
26 | === Bucket system === | ||
27 | |||
28 | (% style="text-align: justify;" %) | ||
29 | We use the Collaboratory authorization system for the buckets. | ||
30 | |||
31 | (% style="text-align: justify;" %) | ||
32 | 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 | ||
33 | |||
34 | (% border="3" %) | ||
35 | |=(% style="text-align: justify;" %)Collab Right|=(% style="text-align: justify;" %)Available actions on bucket | ||
36 | |(% style="text-align:justify" %)Viewer|(% style="text-align:justify" %)Read | ||
37 | |(% style="text-align:justify" %)Editor|(% style="text-align:justify" %)Create, Read, Update, Delete | ||
38 | |(% style="text-align:justify" %)Admin|(% style="text-align:justify" %)Create, Read, Update, Delete | ||
39 | |(% style="text-align:justify" %)Not a collab member|(% style="text-align:justify" %)No actions | ||
40 | |||
41 | (% style="text-align: justify;" %) | ||
42 | **Should the editor be able to create the bucket in the first place?** | ||
43 | |||
44 | |||
45 | (% style="text-align: justify;" %) | ||
46 | === **API description** === | ||
47 | |||
48 | (% style="text-align: justify;" %) | ||
49 | |||
50 | ))) | ||
51 | |||
52 | [[image:Screenshot_2021-01-06 FastAPI - Swagger UI.png]] | ||
53 | ))) |