-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
30 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,7 +13,7 @@ neversink_string: "DiracX CHEP" | |
|
||
**Federico Stagni** <Email v="[email protected]" /> | ||
|
||
October 25th 2024 | ||
October 23rd 2024 | ||
__ <a href="https://indico.cern.ch/event/1338689/" class="ns-c-iconlink"><mdi-open-in-new />CHEP 2024</a> | ||
|
||
|
||
|
@@ -363,30 +363,28 @@ align: lm | |
|
||
# DiracX Web API | ||
|
||
| ||
|
||
<AdmonitionType type='caution' > | ||
What is on the right is the certification Web API, loaded live. Use with caution! | ||
</AdmonitionType> | ||
|
||
DIRAC Web APIs with <devicon-fastapi-wordmark class="text-7xl align-middle inline-block mx-0"></devicon-fastapi-wordmark> | ||
|
||
<ul class="text-sm"> | ||
<li> | ||
DIRAC Web APIs with | ||
<devicon-fastapi-wordmark class="text-7xl align-middle inline-block mx-1"></devicon-fastapi-wordmark> | ||
</li> | ||
<li> | ||
Nicely documented in | ||
<devicon-swagger-wordmark class="text-7xl align-middle inline-block mx-1"></devicon-swagger-wordmark> | ||
<devicon-swagger-wordmark class="text-7xl align-middle inline-block mx-0"></devicon-swagger-wordmark> | ||
<ul class="text-xs ml-4"> | ||
<li>--> this is what you see on the right</li> | ||
<li class="text-xs">--> this is what you see on the right</li> | ||
</ul> | ||
</li> | ||
<li> | ||
Authorization with "standard" <a href="https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow" class="text-blue-600 hover:underline">Authorization Code Flow</a> redirecting to IdP | ||
Follows the <devicon-plain-openapi-wordmark class="text-7xl align-middle inline-block mx-1"></devicon-plain-openapi-wordmark> specification, with the (python) client generated by <a href="https://github.com/Azure/autorest/blob/main/docs/introduction.md">AutoREST></a>. | ||
</li> | ||
</ul> | ||
|
||
Authorization with "standard" <a href="https://auth0.com/docs/get-started/authentication-and-authorization-flow/authorization-code-flow" class="text-blue-600 hover:underline">Authorization Code Flow</a> redirecting to IdP | ||
|
||
|
||
|
||
--- | ||
|
@@ -520,7 +518,7 @@ layout: top-title-two-cols | |
color: gray-light | ||
align: c-lm-rm | ||
title: proxies+tokens | ||
columns: is-3 | ||
columns: is-2 | ||
--- | ||
|
||
:: title :: | ||
|
@@ -529,7 +527,7 @@ columns: is-3 | |
|
||
:: left :: | ||
|
||
```mermaid {theme: 'forest', scale: 0.4} | ||
```mermaid {theme: 'forest', scale: 0.45} | ||
%%{init: { 'theme': 'forest' }}%% | ||
sequenceDiagram | ||
title DiracX: tokens with standard OAuth2 flow | ||
|
@@ -551,7 +549,7 @@ DiracX delivers its own tokens, they are not the same tokens used for the Grid e | |
|
||
:: right :: | ||
|
||
```mermaid {theme: 'forest', scale: 0.4} | ||
```mermaid {theme: 'forest', scale: 0.41} | ||
%%{init: { 'theme': 'forest' }}%% | ||
sequenceDiagram | ||
title DIRAC+DiracX: Working with proxies and tokens | ||
|
@@ -562,13 +560,16 @@ sequenceDiagram | |
dirac-proxy-init->>VOMS: | ||
destroy VOMS | ||
VOMS->>dirac-proxy-init: VOMS proxy | ||
dirac-proxy-init->>DiracX: exchange proxy for token | ||
DiracX->>dirac-proxy-init: DiracX token | ||
create participant DIRAC | ||
dirac-proxy-init->>DIRAC: exchange proxy for token | ||
destroy DIRAC | ||
DIRAC->>dirac-proxy-init: DiracX token | ||
dirac-proxy-init->>U: proxy+token bundle | ||
U->>DIRAC_service: proxy | ||
U->>DiracX: token | ||
``` | ||
|
||
<Line :x1=0 :y1=0 :x2=200 :y2=200 :width=2 v-drag="[400,100,400,100]" /> | ||
|
||
|
||
--- | ||
|
@@ -588,12 +589,12 @@ title: Migration | |
|
||
:: content :: | ||
|
||
<Arrow x1="300" y1="270" x2="370" y2="270" /> | ||
<Arrow x1="610" y1="270" x2="680" y2="270" /> | ||
|
||
<div style="display: flex; align-items: center; justify-content: center;"> | ||
<img id="D_X" src="/public/images/legacy_before_Adaptor.png" class="mx-auto w-1/3"> </img> | ||
<span style="margin: 0 20px;">-></span> | ||
<img id="D_Ad" src="/public/images/legaxyAdaptor.png" class="mx-auto w-1/3"> </img> | ||
<span style="margin: 0 20px;">-></span> | ||
<img id="X" src="/public/images/legacy_after_Adaptor.png" class="mx-auto w-1/3"> </img> | ||
</div> | ||
|
||
|
@@ -613,8 +614,15 @@ title: Extensions | |
|
||
:: content :: | ||
|
||
<span class="bg-cyan-100 text-cyan-600 text-center p-4 border-l-6 border-2 border-cyan-400 rounded-lg pl-8 pr-8 w-full block"> | ||
It is sometimes necessary to extend all Dirac(X) components (including Web and Pilot). | ||
|
||
DiracX aims to provide an easy way to do so. | ||
</span> | ||
|
||
|
||
Examples: | ||
|
||
Dirac has to support different communities with different workflows and requirements. Examples: | ||
<ul class="text-sm"> | ||
<li>LHCb stores the metadata and provenance of every produced file in a LHCb-specific database (with an Oracle backend) | ||
<ul class="text-xs ml-4"> | ||
|
@@ -641,11 +649,9 @@ Dirac has to support different communities with different workflows and requirem | |
<li>EGI uses DIRAC as WMS, and EGI-CheckIn as an identity provider. Hosts (among others) WeNMR (structural biology and life science)</li> | ||
</ul> | ||
|
||
<span class="bg-cyan-100 text-cyan-600 text-center p-4 border-l-6 border-2 border-cyan-400 rounded-lg pl-8 pr-8 w-full block"> | ||
It is sometimes necessary to extend all Dirac(X) components (including Web and Pilot). | ||
|
||
DiracX aims to provide an easy way to do so. | ||
</span> | ||
<SpeechBubble position="l" color='amber' shape="round" v-drag="[840,230,120,180]"> | ||
Extension "Gubbins" provided for reference | ||
</SpeechBubble> | ||
|
||
|
||
--- | ||
|
@@ -862,7 +868,7 @@ Q/A | |
|
||
:: content :: | ||
|
||
- I am using Rucio. I could use DiracX as WMS but do not want to fiddle with DIRAC | ||
- I am using {Rucio|AnotherTool}. I could use DiracX as WMS but do not want to fiddle with DIRAC | ||
|
||
--> It will probably be possible, but we do not know when. | ||
|
||
|