Commit afd05ec2 authored by Gabriel Commeau's avatar Gabriel Commeau
Browse files

Add all EPOC workflows

parent 7ae27c45
Loading
Loading
Loading
Loading
Loading
+14 −2
Original line number Diff line number Diff line
@@ -2,5 +2,17 @@

This directory contains sequence diagrams of the messages exchanges during the various e-Evidence workflows, along with links to example messages.

1. [WF-001-EPOC](WF-001-EPOC/README.md)
1. [WF-002-EPOC](WF-002-EPOC.md)
 No newline at end of file
1. [WF-001-EPOC](WF-001-EPOC.md): Basic Workflow / Without or with emergency / No Notification
1. [WF-002-EPOC](WF-002-EPOC.md): Basic Workflow / No Emergency / With Notification
1. [WF-003-EPOC](WF-003-EPOC.md): Notification / Grounds For Refusal / No emergency
1. [WF-004-EPOC](WF-004-EPOC.md): Notification / No Ground for Refusal / Emergency EPOC
1. [WF-005-EPOC](WF-005-EPOC.md): Notification / Ground for Refusal / Emergency EPOC
1. [WF-006-EPOC](WF-006-EPOC.md): Interference With Immunities Or Privileges Interference With Freedom Of Press Or Freedom Of Expression / No Notification
1. [WF-007-EPOC](WF-007-EPOC.md): Interference With Immunities Or Privileges Interference With Freedom Of Press Or Freedom Of Expression / With Notification
1. [WF-008-EPOC](WF-008-EPOC.md): Impossibility Of Execution / De Facto Impossibility / Circumstances Outside Addressee / No Notification
1. [WF-009-EPOC](WF-009-EPOC.md): Impossibility Of Execution / De Facto Impossibility / Circumstances Outside Addressee / With Notification
1. [WF-010-EPOC](WF-010-EPOC.md): Impossibility Of Execution / Incomplete data / Manifest Errors or Insufficient Information / No Notification
1. [WF-011-EPOC](WF-011-EPOC.md): Impossibility Of Execution / Incomplete data / Manifest Errors or Insufficient Information / With Notification
1. [WF-012-EPOC](WF-012-EPOC.md): Impossibility Of Execution / Any Other Reason / No Notification
1. [WF-013-EPOC](WF-013-EPOC.md): Impossibility Of Execution / Any Other Reason / With Notification
1. [WF-014-EPOC](WF-014-EPOC.md): Conflict of Laws Procedure
 No newline at end of file
+11 −12
Original line number Diff line number Diff line
# WF-001-EPOC - Basic Workflow / Without or with emergency / No Notification

**Workflow Description:** Basic request-reply workflow, without notification, for obtaining subscriber data, identification data, traffic data and /or content data.

```mermaid
---
config:
  theme: forest
title: WF-001-EPOC - Basic Workflow - Without or with emergency - No Notification
---
sequenceDiagram
autonumber
@@ -11,34 +14,30 @@ participant IA as Issuing Authority
participant SP as Service Provider

IA ->> SP: /eevidence/production Request (Form 1)
activate IA
activate SP
Note right of IA: CREATE AuthorisationObject (1)<br/>CREATE LDTaskObject (1..n)<br/>CREATE EPOCAdditionalInfo (1..n)<br/>CREATE DocumentObject (1)
SP -->> IA: /eevidence/production Response

Note over SP: Checks if the EPOC can be executed

opt Request clarification
alt Request clarification
    Note over SP: Drafts request for clarification

    SP ->> IA: //eevidence/correspondence Request
    SP ->> IA: /eevidence/correspondence Request (RequestAdditionalInformation)
    Note left of SP: DELIVER DocumentObject (1)
    IA -->> SP: //eevidence/correspondence Response
    IA -->> SP: /eevidence/correspondence Response

    Note over IA: Formulates clarification

    IA ->> SP: //eevidence/correspondence Request
    IA ->> SP: /eevidence/correspondence Request (ProvideAdditionalInformation)
    Note right of IA: CREATE DocumentObject (1)<br/>CREATE EPOCAdditionalInfo (0..n)
    SP -->> IA: //eevidence/correspondence Response
    SP -->> IA: /eevidence/correspondence Response
else Gather requested data
  Note over SP: Processes the query to gather<br/>the requested data and preserves it
end

Note over SP: Processes the query<br/>to gather the requested data

SP ->> IA: /eevidence/outcome Request (Data)
Note left of SP: UPDATE AuthorisationObject (1)<br/>UPDATE LDTaskObject (1..n)<br/>UPDATE DocumentObject (1..n)<br/>DELIVER DeliveryObject (1..n)
IA -->> SP: /eevidence/outcome Response
deactivate SP
deactivate IA
```

Links to example messages:
+15 −19
Original line number Diff line number Diff line
# WF-002-EPOC - Basic Workflow / No Emergency / With Notification

**Workflow Description:** Basic request-reply workflow for obtaining traffic data and /or content data, where offence or data subject are not in the issuing state. No emergency

```mermaid
---
config:
  theme: forest
title: WF-002-EPOC - Basic workflow – No Emergency - With Notification
---
sequenceDiagram
autonumber
@@ -11,56 +14,49 @@ participant IA as Issuing Authority
participant SP as Service Provider

IA ->> SP: /eevidence/production Request (Form 1)
activate IA
activate SP
Note right of IA: CREATE AuthorisationObject (1)<br/>CREATE LDTaskObject (1..n)<br/>CREATE EPOCAdditionalInfo (1..n)<br/>CREATE DocumentObject (1)

create participant EA as Enforcing Authority
IA ->> EA: Notification (Form 1 + Section M for Notification) (DIS Internal)
activate EA
SP -->> IA: /eevidence/production Response (Technical Acknowledgement)
SP -->> IA: /eevidence/production Response

Note over EA: Assesses the request<br/>No grounds for refusal are found
Note over EA: Assesses the request<br/>No grounds for refusal are raised

Note over SP: Checks if the EPOC can be executed

opt Request clarification
alt Request clarification
    Note over SP: Drafts request for clarification

    SP ->> IA: //eevidence/correspondence Request
    SP ->> IA: /eevidence/correspondence Request (RequestAdditionalInformation)
    Note left of SP: DELIVER DocumentObject (1)
    IA -->> SP: //eevidence/correspondence Response
    IA -->> SP: /eevidence/correspondence Response

    Note over IA: Formulates clarification

    IA ->> SP: //eevidence/correspondence Request
    IA ->> SP: /eevidence/correspondence Request (ProvideAdditionalInformation)
    Note right of IA: CREATE DocumentObject (1)<br/>CREATE EPOCAdditionalInfo (0..n)
    SP -->> IA: //eevidence/correspondence Response
    SP -->> IA: /eevidence/correspondence Response
else Gather requested data
  Note over SP: Processes the query to gather<br/>the requested data and preserves it
end

Note over SP: Processes the query<br/>to gather the requested data

alt Request No ground for refusal
    EA ->> SP: /eevidence/groundsforrefusal Request (No Grounds for Refusal)
    Note right of EA: CREATE DocumentObject (1..n)<br/>CREATE EPOCAdditionalInfo (1..n)
    Note right of EA: CREATE DocumentObject (1..n)<br/>CREATE EPOCAdditionalInfo (0..n)
    EA ->> IA: /eevidence/groundsforrefusal Request (No Grounds for Refusal) (DIS Internal)
    SP -->> EA: /eevidence/groundsforrefusal Response
    deactivate EA
else Wait 10 days
    Note over SP: Holds the data
end


SP ->> IA: /eevidence/outcome Request (Data)
Note left of SP: UPDATE AuthorisationObject (1)<br/>UPDATE LDTaskObject (1..n)<br/>UPDATE DocumentObject (1..n)<br/>DELIVER DeliveryObject (1..n)
IA -->> SP: /eevidence/outcome Response
deactivate SP
deactivate IA
```

Links to example messages:

- [(1) /eevidence/production Request](../../examples/form1.xml)
- [(1) /eevidence/production Request](../examples/form1.xml)
- (2) Message internal to the DIS, not part of TS 104 144
- (3) /eevidence/production Response
...
+147 −0
Original line number Diff line number Diff line
# WF-003-EPOC - Notification / Grounds For Refusal / No emergency

**Workflow Description:** Request-reply workflow for obtaining traffic data and /or content data, where offence or data subject are not in the issuing state. No emergency. A ground for refusal is being considered. IA decides to withdraw the whole EPOC.

## Workflow Start
```mermaid
---
config:
  theme: forest
---
sequenceDiagram
autonumber

participant IA as Issuing Authority
participant SP as Service Provider

IA ->> SP: /eevidence/production Request (Form 1)
Note right of IA: CREATE AuthorisationObject (1)<br/>CREATE LDTaskObject (1..n)<br/>CREATE EPOCAdditionalInfo (1..n)<br/>CREATE DocumentObject (1)

create participant EA as Enforcing Authority
IA ->> EA: Notification (Form 1 + Section M for Notification) (DIS Internal)
activate EA
SP -->> IA: /eevidence/production Response (Technical Acknowledgement)

Note over EA: Assesses the request<br/>Found grounds for refusal

alt Request clarification
    Note over SP: Drafts request for clarification

    SP ->> IA: //eevidence/correspondence Request (RequestAdditionalInformation)
    Note left of SP: DELIVER DocumentObject (1)
    IA -->> SP: //eevidence/correspondence Response

    Note over IA: Formulates clarification

    IA ->> SP: //eevidence/correspondence Request (ProvideAdditionalInformation)
    Note right of IA: CREATE DocumentObject (1)<br/>CREATE EPOCAdditionalInfo (0..n)
    SP -->> IA: //eevidence/correspondence Response
else Gather requested data
  Note over SP: Processes the query to gather<br/>the requested data and preserves it
end

EA ->> IA: Sends Form 3<br/>Discuss grounds for refusal

Note over IA: The outcome of the discussion<br/>leads to one of the 3 cases below.
```

Links to example messages:

- [(1) /eevidence/production Request](../examples/form1.xml)
- (2) Message internal to the DIS, not part of TS 104 144
- (3) /eevidence/production Response
...


## Case A: IA Decides to Completely Withdraw EPOC

```mermaid
---
config:
  theme: forest
---
sequenceDiagram
autonumber

participant IA as Issuing Authority
participant SP as Service Provider
participant EA as Enforcing Authority

Note over IA: Case A:<br/>Decides to withdraw the EPOC completely

IA ->> EA: Inform of complete EPOC withdrawal

EA ->> SP: /eevidence/groundsforrefusal Request
note left of EA: CREATE DocumentObject (1..n_)<br/>CREATE EPOCAdditionalInfo (0..n)
SP -->> EA: /eevidence/groundsforrefusal Response

IA ->>SP: /eevidence/withdraw Request
note right of IA: UPDATE AuthorisationObject<br/>CREATE EPOCAdditionalInfo (0..n)
SP -->>IA: /eevidence/withdraw Response

note over SP: Withdraws EPOC completely

SP ->> IA: /eevidence/confirmwithdrawal Request
Note Left of SP: CREATE NotificationObject (1)
IA -->> SP: /eevidence/confirmwithdrawal Response
```

Links to example messages:

- [(1) /eevidence/production Request](../examples/form1.xml)
- (2) Message internal to the DIS, not part of TS 104 144
- (3) /eevidence/production Response
...

## Case B: IA Decides to Partially Withdraw EPOC

TBD

## Case C: IA Decides to Maintain EPOC

```mermaid
---
config:
  theme: forest
---
sequenceDiagram
autonumber

participant IA as Issuing Authority
participant SP as Service Provider
participant EA as Enforcing Authority

Note over IA: Case C:<br/>Decides to maintain the EPOC completely

IA ->> EA: Inform maintain EPOC

IA ->> SP: /eevidence/correspondence Request (Maintain)
Note right of IA: CREATE DocumentObject (1)<br/>CREATE EPOCAdditionalInfo (0..n)
SP -->> IA: /eevidence/correspondence Response

note over EA: Has 10 days to decide:<br/>- Refuse EPOC completely: goes back to case A<br/>- Refuse EPOC partially: go back to case B.<br/>- Specify additional conditions: continue case C.

EA ->> IA: Specifies conditions in order to execute the EPOC


alt Request No ground for refusal
    EA ->> SP: /eevidence/groundsforrefusal Request (No Grounds for Refusal)
    Note right of EA: CREATE DocumentObject (1..n)<br/>CREATE EPOCAdditionalInfo (0..n)
    EA ->> IA: /eevidence/groundsforrefusal Request (No Grounds for Refusal) (DIS Internal)
    SP -->> EA: /eevidence/groundsforrefusal Response
else Wait 10 days
    Note over SP: Holds the data
end

SP ->> IA: /eevidence/outcome Request (Data)
Note left of SP: UPDATE AuthorisationObject (1)<br/>UPDATE LDTaskObject (1..n)<br/>UPDATE DocumentObject (1..n)<br/>DELIVER DeliveryObject (1..n)
IA -->> SP: /eevidence/outcome Response
```

Links to example messages:

- [(1) /eevidence/production Request](../examples/form1.xml)
- (2) Type Maintain!
- (3) /eevidence/production Response
...
+7 −0
Original line number Diff line number Diff line
# WF-004-EPOC - Notification / No Ground for Refusal / Emergency EPOC

**Workflow Description:** Request-reply workflow for obtaining traffic data and /or content data, where offence or data subject are not in the issuing state. Emergency EPOC. No ground for refusal is being considered.

Same message exchange as in [WF-001-EPOC](WF-001-EPOC.md), except that: 
- SP has 8 hours to provide the requested data instead of 10 days.
- SP can release the resources allocated after 96 hours, which is the time alloted to EA to raise grounds for refusal.
 No newline at end of file
Loading