Changes for page Data Proxy & Human Data Gateway
Last modified by alexisdurieux on 2022/03/25 08:38
From version 22.1
edited by alexisdurieux
on 2021/04/16 21:32
on 2021/04/16 21:32
Change comment:
There is no comment for this version
To version 18.1
edited by alexisdurieux
on 2021/04/12 15:26
on 2021/04/12 15:26
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 1 added, 0 removed)
-
Objects (0 modified, 1 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -5,7 +5,7 @@ 5 5 (% style="text-align: justify;" %) 6 6 = Data Proxy = 7 7 8 -The data objectstorage (Swift)on the Fenix infrastructure as an authenticatedEBRAINSuser without a Fenixuseraccount.8 +The data-proxy allows you to access CSCS Object Swift storage as an authenticated ebrains user without requiring a Fenix account. 9 9 ))) 10 10 ))) 11 11 ... ... @@ -13,35 +13,32 @@ 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 object storage(Swift).16 +The data proxy core is the application that acts as a proxy to the CSCS Swift storage. 17 17 18 18 (% style="text-align: justify;" %) 19 19 === Object Storage === 20 20 21 -The documentation of Swift object storage can be found here: 22 22 23 -[[https:~~/~~/docs.openstack.org/swift/pike/admin/objectstorage-intro.html>>https://docs.openstack.org/swift/pike/admin/objectstorage-intro.html]] 22 +The documentation on the swift object storage can be found here: [[https:~~/~~/docs.openstack.org/swift/pike/admin/objectstorage-intro.html>>https://docs.openstack.org/swift/pike/admin/objectstorage-intro.html]] 24 24 24 + 25 25 (% style="text-align: justify;" %) 26 26 === Authentication === 27 27 28 28 (% style="text-align: justify;" %) 29 -The DataProxyauthenticates itsuserswith the EBRAINS(Collaboratory)IAMservice.29 +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 30 30 31 31 (% style="text-align: justify;" %) 32 - Priorto the availability of the Data Proxy, EBRAINSusers had to request a Fenix user account in ordertoaccess object storage capabilities on the Fenix infrastructure. With the Data Proxy, a user only needsto havean EBRAINS account to access the data stored on the sameFenix 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.32 +=== Bucket system === 33 33 34 34 (% style="text-align: justify;" %) 35 - ===Permissions===35 +We use the Collaboratory authorization system for the buckets. 36 36 37 37 (% style="text-align: justify;" %) 38 - WeusetheCollaboratoryauthorizationsystemtomanagepermissionsin theDataProxy.38 +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 39 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 - 43 43 (% border="3" %) 44 -|=(% style="text-align: justify;" %) Team permissions of a collab|=(% style="text-align: justify;" %)Available actions onthat collab's bucket41 +|=(% style="text-align: justify;" %)Collab Right|=(% style="text-align: justify;" %)Available actions on bucket 45 45 |(% style="text-align:justify" %)Viewer|(% style="text-align:justify" %)Read 46 46 |(% style="text-align:justify" %)Editor|(% style="text-align:justify" %)Create, Read, Update, Delete 47 47 |(% style="text-align:justify" %)Admin|(% style="text-align:justify" %)Create, Read, Update, Delete ... ... @@ -48,18 +48,10 @@ 48 48 |(% style="text-align:justify" %)Not a collab member|(% style="text-align:justify" %)No actions 49 49 50 50 (% class="wikigeneratedid" %) 51 -You can access the buckets in the "Bucket" navigation elementin every collab.48 +You can access the buckets in the "Buckets" menu in every collab 52 52 53 -=== Collaboratorybucketvs drive===50 +=== === 54 54 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. 60 - 61 -==== buckets vs tempurl ==== 62 - 63 -The buckets endpoint gives you a direct access to swift storage through the data-proxy. However, it means that the performances are limited by the performances of the data-proxy. This means that you should use the tempurl endpoint in **priority.** 52 +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". 64 64 ))) 65 65 )))
- Screenshot_2021-01-06 FastAPI - Swagger UI.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.alexisdurieux - Size
-
... ... @@ -1,0 +1,1 @@ 1 +38.4 KB - Content
- XWiki.XWikiRights[5]
-
- Allow/Deny
-
... ... @@ -1,1 +1,0 @@ 1 -Allow - Levels
-
... ... @@ -1,1 +1,0 @@ 1 -view - Users
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.XWikiGuest
- 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