-
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 #1023 from catenax-ng/feature/536-subsequential-fl…
…ow-in-trace-x feature(tx-backend): #536 draft subsequential flow
- Loading branch information
Showing
71 changed files
with
1,510 additions
and
8,552 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
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
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 |
---|---|---|
|
@@ -4,7 +4,6 @@ | |
</div> | ||
|
||
## Release an app | ||
|
||
Prerequisite: | ||
Make sure eclipse / catena git repositories are in sync | ||
|
||
|
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
14 changes: 14 additions & 0 deletions
14
docs/src/docs/arc42/runtime-view/data-provisioning/publish-assets-error.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,14 @@ | ||
= Scenario 3: Publish assets Error on EDC or DTR | ||
|
||
This section describes user interaction when publishing assets fails due to EDC or DTR error ( for example services are unavailable ) | ||
|
||
[plantuml,target=import-report-receive,format=svg] | ||
.... | ||
include::../../../../uml-diagrams/arc42/runtime-view/data-provisioning/publish-assets-error.puml[] | ||
.... | ||
|
||
== Overview | ||
|
||
When a user publishes assets, TraceX-FOSS checks if the user has an adequate role ('ROLE_ADMIN'). | ||
If yes, then endpoint starts to publish assets to network. | ||
If any of required Services are not available or returns Error response upon executing flow assets are set to ERROR state and user can retry publishing them at any time when services are available |
13 changes: 13 additions & 0 deletions
13
docs/src/docs/arc42/runtime-view/data-provisioning/publish-assets.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,13 @@ | ||
= Scenario 2: Publish assets | ||
|
||
This section describes user interaction when publishing assets | ||
|
||
[plantuml,target=import-report-receive,format=svg] | ||
.... | ||
include::../../../../uml-diagrams/arc42/runtime-view/data-provisioning/publish-assets.puml[] | ||
.... | ||
|
||
== Overview | ||
|
||
When a user publishes assets, TraceX-FOSS checks if the user has an adequate role ('ROLE_ADMIN'). | ||
If yes, then endpoint starts to publish assets to network. |
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
23 changes: 23 additions & 0 deletions
23
docs/src/uml-diagrams/arc42/runtime-view/data-provisioning/publish-assets-error.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,23 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
autonumber "<b>[000]" | ||
|
||
actor TraceXApiConsumer | ||
activate TraceXApiConsumer | ||
|
||
box "Trace-X FOSS" #LightGrey | ||
participant TraceX | ||
activate TraceX | ||
|
||
TraceXApiConsumer -> TraceX : POST /assets/publish | ||
TraceX -> TraceX : Module 2 fails to create EDC Assets or DTR shells | ||
TraceXApiConsumer -> TraceXApiConsumer : GET /assets | ||
TraceXApiConsumer -> TraceX : POST /assets/publish | ||
TraceX -> TraceX : Module 2 process successfully | ||
TraceXApiConsumer -> TraceXApiConsumer : GET /assets | ||
|
||
|
||
|
||
|
||
@enduml |
21 changes: 21 additions & 0 deletions
21
docs/src/uml-diagrams/arc42/runtime-view/data-provisioning/publish-assets.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 | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
autonumber "<b>[000]" | ||
|
||
actor TraceXApiConsumer | ||
activate TraceXApiConsumer | ||
|
||
box "Trace-X FOSS" #LightGrey | ||
participant TraceX | ||
activate TraceX | ||
|
||
TraceXApiConsumer -> TraceX : POST /assets/publish | ||
TraceX -> TraceX : Module 2 | ||
TraceXApiConsumer -> TraceXApiConsumer : GET /assets | ||
|
||
|
||
|
||
|
||
|
||
@enduml |
22 changes: 12 additions & 10 deletions
22
...s/arc42/runtime-view/data-provisioning/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 |
---|---|---|
@@ -1,15 +1,17 @@ | ||
@startuml | ||
participant FE | ||
participant BE | ||
autonumber "<b>[000]" | ||
|
||
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 | ||
FE -> BE: request assets: GET/assetsAsxxx | ||
BE --> FE: return assets_as_built OR assets_as_planned | ||
FE -> FE: present assets | ||
FE -> BE: select assets to synchronize: GET/policies | ||
BE --> FE: return policies | ||
FE -> FE: open detailview & assign policy (via dropdown) | ||
FE -> BE: register assets for publishing: POST/assets/publish | ||
BE -> BE: update asset state to IN_SYNC | ||
BE -> BE: trigger 'publish AAS Workflow' (Job scheduler) | ||
BE -> BE: trigger 'data consumption process' | ||
FE -> FE: refresh of FE view | ||
@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
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
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.