Skip to content

Commit

Permalink
fix(docu):[#1108] corect publishing flow
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanal committed Jul 25, 2024
1 parent b4e1e89 commit 20bb3c9
Show file tree
Hide file tree
Showing 8 changed files with 41 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,14 +53,14 @@ include::../../../../uml-diagrams/arc42/runtime-view/data-sovereignty/data-sover
|9
|User with role 'Admin' selects policy under which assets are published. The user must choose the policy that is used for contract negotiation of the selected parts.

|10,11
|Trace-X [A] BE checks if PolicyDefinition for selected policy already exists.
|10, 11
|Assets are created in the EDC. (POST /v3/assets)

|12,13
|In case PolicyDefinition does not exist. New PolicyDefinition is created in EDC [A]. The PolicyDefinition is created in the EDC.
|Trace-X [A] BE checks if PolicyDefinition for selected policy already exists.

|14, 15
|Assets are created in the EDC. (POST /v3/assets)
|14,15
|In case PolicyDefinition does not exist. New PolicyDefinition is created in EDC [A]. The PolicyDefinition is created in the EDC.

|16,17
|The created part is linked in the PolicyDefinition from the EDC. This is the last step of data provisioning. Trace-X [A] has done everything to ensure that companies that have a matching policy can access its published parts.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@startuml
autonumber "<B>[00]"
skinparam monochrome true
skinparam shadowing false
autonumber "<b>[000]"
skinparam defaultFontName "Architects daughter"
skinparam linetype ortho

actor TraceXApiConsumer
activate TraceXApiConsumer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@startuml
autonumber "<B>[00]"
skinparam monochrome true
skinparam shadowing false
autonumber "<b>[000]"
skinparam defaultFontName "Architects daughter"
skinparam linetype ortho

actor TraceXApiConsumer
activate TraceXApiConsumer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
@startuml
autonumber "<B>[00]"
skinparam monochrome true
skinparam shadowing false
autonumber "<b>[000]"
skinparam defaultFontName "Architects daughter"
skinparam linetype ortho

actor TraceXApiConsumer
activate TraceXApiConsumer
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
@startuml
autonumber "<B>[00]"
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName "Architects daughter"
skinparam linetype ortho

participant FE
participant BE
participant Database
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
@startuml
autonumber "<B>[00]"
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName "Architects daughter"
skinparam linetype ortho

participant FE
participant BE
autonumber "<b>[000]"

FE -> BE: request assets: GET/assetsAsxxx
BE --> FE: return assets_as_built OR assets_as_planned
Expand Down
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
@startuml
autonumber "<B>[00]"
skinparam monochrome true
skinparam shadowing false
skinparam defaultFontName "Architects daughter"
skinparam linetype ortho

participant BE
participant EDC
participant Registry
participant Submodels
participant Irs
autonumber "<b>[000]"


BE ->> BE: scheduler job
BE ->> BE: receive list of IN_SYNC assets
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,14 @@ User <-- TXA: request for policy

User --> TXA: select policy to be used

loop selected assets

TXA -> EDCA: create asset (POST /v3/assets)
note left
create assets and CatalogOffer in EDC
end note
TXA <-- EDCA: 200 Asset was created successfully.

TXA -> EDCA: PolicyDefinition exists
activate EDCA
TXA <-- EDCA: return PolicyDefinition exists
Expand All @@ -63,14 +71,6 @@ else

end opt

loop selected assets

TXA -> EDCA: create asset (POST /v3/assets)
note left
create assets and CatalogOffer in EDC
end note
TXA <-- EDCA: 200 Asset was created successfully.

TXA -> EDCA: create ContractDefinition (/management/v2/contractdefinitions) with policy
note left
create ContractDefinition in EDC
Expand Down

0 comments on commit 20bb3c9

Please sign in to comment.