Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[CONTRACT][DATA_SOV] Display of contracts of not successful data consumption (tombstones) #986

Closed
3 tasks
mkanal opened this issue May 15, 2024 · 2 comments
Closed
3 tasks
Labels
3 - Data Souvereignty & Data Ingest backend Backend related issues contract_management contract_management in trace-X data_souvereignty Issues refering to the catena-X data sovereignty principals frontend Frontend related Issues

Comments

@mkanal
Copy link
Contributor

mkanal commented May 15, 2024

As an administrator, I am responsible for compliance,
I want to be able to view the contracts that have not been successfully exchanged via the EDC due to missing or invalid policies,
so that I can see which assets could not be consumed due to missing or insufficient policies

Link

Hints / Details

Acceptance Criteria

  • User is able to identify/filter for contract where contract negotiation was not successful (tabs are suitable as well for parts/notifications/tombstones)
  • User gets a clear UI feedback that the contract is not linked to any asset
  • Tombstones are visualized in the same manner as in parts table

Check Policy flow in Trace-X Notification flow

sequenceDiagram
    %%{init: {'theme': 'dark', 'themeVariables': { 'fontSize': '15px'}}}%%
    autonumber

    actor Superior
    participant Trace_X as "Trace-X BMW"
    participant EDC_S as "EDC Supplier"
    participant  PolicyStore 

    Superior --> Trace_X: Send notification
    Trace_X --> EDC_S : Get Notification CatalogOffer of EDC_S 
    EDC_S -->> Trace_X : return CatalogOffer 
    Trace_X --> PolicyStore : Get Policy for BPNL or default 
    Trace_X --> Trace_X: check Policy of CatalogOffer with Policy defined for BPNL
Loading

Check Policy flow in IRS

sequenceDiagram
    %%{init: {'theme': 'dark', 'themeVariables': { 'fontSize': '15px'}}}%%
    autonumber

    actor Superior
    participant Trace_X_FE as "Trace-X"
    participant Trace_X as "Trace-X BMW"
    participant EDC_S as "EDC Supplier"
    participant  PolicyStore

    Superior ->> Trace_X_FE: Send notification
    Trace_X_FE ->> Trace_X : Send notification
    Trace_X ->> EDC_S : Get Notification CatalogOffer of EDC_S
    EDC_S -->> Trace_X : return CatalogOffer
    Trace_X -->> PolicyStore : Get Policy for BPNL or default policy
    Trace_X -->> Trace_X: check Policy of CatalogOffer with Policy from PolicyStore
    alt valid
          Trace_X ->> EDC_S : negotiateContract
          EDC_S -->> Trace_X: contract negotation successful
          Trace_X ->> EDC_S :  send notification
          EDC_S --> Trace_X: ok
    else
          Trace_X -> Trace_X : create tombstone
          Trace_X -->> Trace_X_FE : show  policy mismatch
          Trace_X_FE -->> Superior : show  policy mismatch
    end


Loading

Out of Scope

  • ...
@mkanal mkanal added this to Trace-X May 15, 2024
@github-project-automation github-project-automation bot moved this to inbox in Trace-X May 15, 2024
@mkanal mkanal added data_souvereignty Issues refering to the catena-X data sovereignty principals contract_management contract_management in trace-X labels May 15, 2024
@mkanal mkanal added frontend Frontend related Issues backend Backend related issues labels Jun 18, 2024
@mkanal
Copy link
Contributor Author

mkanal commented Jun 18, 2024

Add example for a tombstone in IRS for Contract Aggreement

@mkanal mkanal moved this from inbox to backlog in Trace-X Jun 26, 2024
@ds-mwesener
Copy link
Contributor

ds-mwesener commented Jul 1, 2024

Hi @mkanal since we had a discussion in: #985. We figured out that we will not have contracts for failed negotiations. We agreed on displaying information within part detail view and notification detail view.

Can we close this story, or change this story to reflect the goal? We need to make sure to display the tombstone info within the parts detail view.

@mkanal mkanal moved this from backlog to done in Trace-X Jul 9, 2024
@mkanal mkanal closed this as completed Jul 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3 - Data Souvereignty & Data Ingest backend Backend related issues contract_management contract_management in trace-X data_souvereignty Issues refering to the catena-X data sovereignty principals frontend Frontend related Issues
Projects
Status: done
Development

No branches or pull requests

2 participants