Skip to content

Commit

Permalink
chore: fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
evegufy committed May 15, 2024
1 parent 72701c1 commit 1816e74
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@ n/a
<br>

When running the endpoint - first the backend validates if the certificate is assigned to the same company_id as the acting user company_id
- if yes, the deletion will get processed (details see below)
- if not; the process is stopped and an error is responded

- if yes, the deletion will get processed (details see below)
- if not; the process is stopped and an error is responded

In the successful validation case: the respective document inside the table portal.documents is set to "INACTIVE" and the "last_date_changed" date is updated as well as the "last_editor_id"
Afterwards the status inside the table portal.company_certificates is getting set to "INACTIVE"
Afterwards the status inside the table portal.company_certificates is getting set to "INACTIVE"

<br>
<br>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ In the current implementation level, self-descriptions are considered in the fol

## Architecture Overview

![SD-Factory - Portal interaction](../../../static/sdfactory-portal-interactions.png)

<br>
<img width="927" alt="image" src="https://raw.githubusercontent.com/eclipse-tractusx/portal-assets/main/docs/static/sdfactory-portal-interactions.png">
<br>
<br>

## Description of the functional interface (WHAT)

Expand All @@ -35,8 +37,8 @@ The json ld file is supposed to get stored - for now normal db document storage
## Description of the physical interfaces (HOW)

Portal is pushing the self description via an REST API "POST" developed under the portal context.
Factory receives the information and transforms it to the self-description without signature. Then unsigned Self-Description is passed
to the Validation Service, which checks parameter values and signs Verifiable Credentials. This process is performed
Factory receives the information and transforms it to the self-description without signature. Then unsigned Self-Description is passed
to the Validation Service, which checks parameter values and signs Verifiable Credentials. This process is performed
asynchronously. The result is sent to the portal with an "content" section. The content section is getting stored as json file in the portal db.
<br>
<br>
Expand Down

0 comments on commit 1816e74

Please sign in to comment.