-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #554 from catenax-ng/main
Added import data service
- Loading branch information
Showing
85 changed files
with
6,251 additions
and
1,031 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
docs/src/docs/arc42/trace-x-data-import-interface/data-import-interface.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
= Concept for Trace-X Data Import interface (Data Provider) | ||
|
||
Modul 1 | ||
|
||
Modul 2 | ||
[plantuml, target=modul2-sequence, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul2-sequence.puml[] | ||
.... | ||
|
||
[plantuml, target=modul2-swimlane, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul2-swimlane.puml[] | ||
.... | ||
|
||
Modul 3 | ||
[plantuml, target=modul3-sequence, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul3-sequence.puml[] | ||
.... | ||
|
||
[plantuml, target=modul3-swimlane, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul3-swimlane.puml[] | ||
.... | ||
|
15 changes: 15 additions & 0 deletions
15
...ms/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul2-sequence.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
@startuml | ||
participant FE | ||
participant BE | ||
|
||
FE -> BE: [001] request assets: GET/assetsAsxxx | ||
BE --> FE: [002] return assets_as_built OR assets_as_planned | ||
FE -> FE: [003] present assets | ||
FE -> BE: [004] select assets to synchronize: GET/policies | ||
BE --> FE: [005] return policies | ||
FE -> FE: [006] open detailview & assign policy (via dropdown) | ||
FE -> BE: [007] register assets for publishing: POST/assets/sync | ||
BE --> FE: [008] update asset state to IN_SYNC | ||
BE -> BE: [008] trigger 'publish AAS Workflow' (Job scheduler) | ||
FE -> FE: [009] refresh of FE view | ||
@enduml |
29 changes: 29 additions & 0 deletions
29
...ms/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul2-swimlane.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@startuml | ||
|FE| | ||
start | ||
:request assets; | ||
-> GET/assetsAsxxx; | ||
|#Mistyrose|BE| | ||
:return assets_as_built OR assets_as_planned; | ||
-> response; | ||
|FE| | ||
:present assets; | ||
:select assets to synchronize; | ||
-> GET/policies; | ||
|#Mistyrose|BE| | ||
:return policies; | ||
-> response; | ||
|FE| | ||
:open detailview & assign policy (via dropdown); | ||
:register assets for publishing; | ||
-> POST/assets/sync; | ||
|#Mistyrose|BE| | ||
:update asset state to IN_SYNC; | ||
split | ||
:trigger 'publish AAS Workflow' (Job scheduler); | ||
stop | ||
|FE| | ||
split again | ||
:refresh of FE view; | ||
stop | ||
@enduml |
21 changes: 21 additions & 0 deletions
21
...ms/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul3-sequence.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
@startuml | ||
participant BE | ||
participant EDC | ||
participant Registry | ||
participant Submodels | ||
|
||
BE ->> BE: [001] scheduler job | ||
BE ->> BE: [002] receive list of IN_SYNC_assets | ||
BE ->> EDC: [003] create asset in EDC: POST/create/asset | ||
EDC -->> BE: [004] response | ||
BE ->> EDC: [005] create policy in EDC: POST/create/policy | ||
EDC -->> BE: [006] response | ||
BE ->> EDC: [007] create contract in EDC: POST/create/contract | ||
EDC -->> BE: [008] response | ||
BE ->> Submodels: [009] create submodel: POST/submodel | ||
Submodels -->> BE: [010] | ||
BE ->> Registry: [011] register shell in registry: POST/semantics/registry | ||
Registry -->> BE: [012] | ||
BE ->> BE: [013] update asset state PUBLISHED_TO_CX | ||
BE ->> BE: [014] trigger IRS sync | ||
@enduml |
33 changes: 33 additions & 0 deletions
33
...ms/arc42/trace-x-data-import-interface/trace-x-data-import-interface-modul3-swimlane.puml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
@startuml | ||
|BE| | ||
start | ||
:receive list of IN_SYNC_assets; | ||
:create asset in EDC; | ||
-> POST/create/asset; | ||
|#AntiqueWhite|EDC| | ||
:create EDC asset; | ||
|BE| | ||
:create policy in EDC; | ||
-> POST/create/policy; | ||
|#AntiqueWhite|EDC| | ||
:create policy; | ||
|BE| | ||
:create contract in EDC; | ||
-> POST/create/contract; | ||
|#AntiqueWhite|EDC| | ||
:create contract; | ||
|BE| | ||
:create submodel; | ||
-> POST/submodel; | ||
|#Lavender|Submodel| | ||
:create submodel; | ||
|BE| | ||
:register shell in registry; | ||
|#Mistyrose|Registry| | ||
:register shell; | ||
-> POST/semantic/registry; | ||
|BE| | ||
:update asset state PUBLISHED_TO_CX; | ||
:trigger IRS sync; | ||
stop | ||
@enduml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.