Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
fstagni committed Oct 16, 2024
1 parent ad054fd commit 51547db
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 25 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/create.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:

- name: Install dependencies and build
run: |
npm install unplugin-icons @iconify-json/clarity @iconify-json/devicon @slidev/cli @slidev/theme-default slidev-theme-neversink playwright-chromium
npm install unplugin-icons @iconify-json/clarity @iconify-json/devicon @iconify-json/devicon-plain @slidev/cli @slidev/theme-default slidev-theme-neversink playwright-chromium
npm list
npm run build -- --base /${{ github.event.repository.name }}/
Expand Down
Binary file modified public/images/legacy_after_Adaptor.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
56 changes: 32 additions & 24 deletions slides.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>


Expand Down Expand Up @@ -363,32 +363,27 @@ align: lm

# DiracX Web API

&nbsp;

<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>



---
layout: top-title
color: gray-light
Expand Down Expand Up @@ -520,7 +515,7 @@ layout: top-title-two-cols
color: gray-light
align: c-lm-rm
title: proxies+tokens
columns: is-3
columns: is-2
---

:: title ::
Expand All @@ -529,7 +524,9 @@ columns: is-3

:: left ::

```mermaid {theme: 'forest', scale: 0.4}
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

```mermaid {theme: 'forest', scale: 0.45}
%%{init: { 'theme': 'forest' }}%%
sequenceDiagram
title DiracX: tokens with standard OAuth2 flow
Expand All @@ -551,7 +548,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.40}
%%{init: { 'theme': 'forest' }}%%
sequenceDiagram
title DIRAC+DiracX: Working with proxies and tokens
Expand All @@ -562,13 +559,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=420 :y1=150 :x2=420 :y2=600 :width=1 />


---
Expand All @@ -588,12 +588,15 @@ title: Migration

:: content ::

<Arrow x1="300" y1="270" x2="370" y2="270" />
<Line :x1=340 :y1=300 :x2=340 :y2=700 :width=1 />

<Arrow x1="610" y1="270" x2="680" y2="270" />
<Line :x1=640 :y1=300 :x2=640 :y2=700 :width=1 />

<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>

Expand All @@ -613,8 +616,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">
Expand All @@ -641,11 +651,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>


---
Expand Down Expand Up @@ -862,7 +870,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.

Expand Down

0 comments on commit 51547db

Please sign in to comment.