Changes for page Data Proxy & Human Data Gateway
Last modified by alexisdurieux on 2022/03/25 08:38
From version 14.1
edited by alexisdurieux
on 2021/04/06 14:45
on 2021/04/06 14:45
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
-
Objects (1 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. alexisdurieux1 +XWiki.mmorgan - Content
-
... ... @@ -5,7 +5,7 @@ 5 5 (% style="text-align: justify;" %) 6 6 = Data Proxy = 7 7 8 - Functionaldocumentation8 +The data proxy allows you to access object storage (Swift) on the Fenix infrastructure as an authenticated EBRAINS user without a Fenix user account. 9 9 ))) 10 10 ))) 11 11 ... ... @@ -13,25 +13,35 @@ 13 13 ((( 14 14 ((( 15 15 (% style="text-align: justify;" %) 16 -The data proxy core is the application that acts as a proxy to the CSCS Swift storage.16 +The data proxy core is the application that acts as a proxy to the object storage (Swift). 17 17 18 18 (% style="text-align: justify;" %) 19 -=== =Authentication====19 +=== Object Storage === 20 20 21 +The documentation of Swift object storage can be found here: 22 + 23 +[[https:~~/~~/docs.openstack.org/swift/pike/admin/objectstorage-intro.html>>https://docs.openstack.org/swift/pike/admin/objectstorage-intro.html]] 24 + 21 21 (% style="text-align: justify;" %) 22 - Theapplication itself is connected to the CSCS storage. Theuser is authenticated against the data-proxy applicationusing 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 capabilities26 +=== Authentication === 23 23 24 24 (% style="text-align: justify;" %) 25 - ===Bucket system===29 +The Data Proxy authenticates its users with the EBRAINS (Collaboratory) IAM service. 26 26 27 27 (% style="text-align: justify;" %) 28 - We usetheCollaboratory authorization system for thebuckets.32 +Prior to the availability of the Data Proxy, EBRAINS users had to request a Fenix user account in order to access object storage capabilities on the Fenix infrastructure. With the Data Proxy, a user only needs to have an EBRAINS account to access the data stored on the same Fenix object storage. Data stored in this way is held in the name of the data proxy service account on Fenix, and the Data Proxy tracks who has access to which data. 29 29 30 30 (% style="text-align: justify;" %) 31 - Forevery collab,it ispossible toaccess a Swift container asa user. The action the user can perform on the buckets depend on the rights the user has in the collab35 +=== Permissions === 32 32 37 +(% style="text-align: justify;" %) 38 +We use the Collaboratory authorization system to manage permissions in the Data Proxy. 39 + 40 +(% style="text-align: justify;" %) 41 +A Swift object container can be associated to each collab. Object containers are also known as "buckets" to avoid confusion with other containers (e.g. Docker containers). An EBRAINS user can perform the following actions on a bucket depending on the user's permissions (as defined by the collab's Team) in the collab associated with the bucket. 42 + 33 33 (% border="3" %) 34 -|=(% style="text-align: justify;" %) CollabRight|=(% style="text-align: justify;" %)Available actions on bucket44 +|=(% style="text-align: justify;" %)Team permissions of a collab|=(% style="text-align: justify;" %)Available actions on that collab's bucket 35 35 |(% style="text-align:justify" %)Viewer|(% style="text-align:justify" %)Read 36 36 |(% style="text-align:justify" %)Editor|(% style="text-align:justify" %)Create, Read, Update, Delete 37 37 |(% style="text-align:justify" %)Admin|(% style="text-align:justify" %)Create, Read, Update, Delete ... ... @@ -38,11 +38,14 @@ 38 38 |(% style="text-align:justify" %)Not a collab member|(% style="text-align:justify" %)No actions 39 39 40 40 (% class="wikigeneratedid" %) 41 -You can access the buckets in the "Bucket s" menuin every collab51 +You can access the buckets in the "Bucket" navigation element in every collab. 42 42 43 -(% class="wikigeneratedid" %) 44 -=== === 53 +=== Collaboratory bucket vs drive === 45 45 46 -The API is self-documentated using Swagger UI. You can access it here: [[https:~~/~~/data-proxy.ebrains.eu/api/docs>>https://data-proxy.ebrains.eu/api/docs]] or in the "API Documentation". 55 +A collab offers 2 main locations to store files: a drive and a bucket. The drive offers more advanced features like recognition of file formats (Office, Markdown, PDF) with applications specific to each, simplified version control, smart links. The bucket on the other hand offers larger storage capacity and better bandwidth. The bucket is recommended for datasets (brain scans, EEG, derived data) and videos (including for streaming). 56 + 57 +=== API === 58 + 59 +The API is self-documented using Swagger UI. You can access it here: [[https:~~/~~/data-proxy.ebrains.eu/api/docs>>https://data-proxy.ebrains.eu/api/docs]] or in the [[API Documentation>>doc:API Documentation]] wiki page of this collab. 47 47 ))) 48 48 )))
- Screenshot_2021-01-06 FastAPI - Swagger UI.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.alexisdurieux - Size
-
... ... @@ -1,1 +1,0 @@ 1 -38.4 KB - Content
- Collaboratory.Apps.Collab.Code.CollabClass[0]
-
- Public
-
... ... @@ -1,1 +1,1 @@ 1 - No1 +Yes
- XWiki.XWikiRights[3]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view - Users
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiGuest
- XWiki.XWikiRights[4]
-
- Allow/Deny
-
... ... @@ -1,0 +1,1 @@ 1 +Allow - Groups
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.XWikiAllGroup - Levels
-
... ... @@ -1,0 +1,1 @@ 1 +view