-
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 #782 from catenax-ng/main
Several refactorings
- Loading branch information
Showing
103 changed files
with
2,837 additions
and
2,206 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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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 |
---|---|---|
@@ -1,5 +1,5 @@ | ||
= Building block view | ||
|
||
include::whitebox-overall.adoc[leveloffset=+1] | ||
include::blackbox-overall.adoc[leveloffset=+1] | ||
include::level-1.adoc[leveloffset=+1] | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
= Policies | ||
|
||
== Overview | ||
=== Scenario 1: Start Up interaction with IRS Policy Store | ||
Trace-X instance define a constraint which is required for data consumption and provisioning. | ||
Trace-X retrieves all policies by IRS and validates if one of the policies contains the required constraint given by Trace-X. | ||
If a policy with the constraint exists and is valid process ends. If the policy is not valid it will create one with the given constraint. | ||
|
||
This sequence diagram describes the process of retrieving or creating policies within the IRS Policy Store based on Trace-X given constraint. | ||
|
||
[plantuml, target=policy-startup-configuration, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/runtime-view/policies/policy-startup-configuration.puml[] | ||
.... | ||
|
||
=== Scenario 2: Start Up interaction with EDC | ||
Trace-X instance uses the policy which includes the defined constraint and transforms it into a valid EDC Policy Request. | ||
The EDC Policy Request will be used for creating a policy for the required notification contracts. | ||
|
||
This sequence diagram describes the process of retrieving the correct policy by IRS Policy Store based on Trace-X given constraint and reuses it for creating an EDC Policy. | ||
|
||
[plantuml, target=policy-startup-notification-contract, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/runtime-view/policies/policy-startup-notification-contract.puml[] | ||
.... | ||
|
||
=== Scenario 3: Provisioning of notifications | ||
Trace-X instance uses the policy which includes the defined constraint and reuses it for validation of catalog offers by the receiver edc. | ||
|
||
This sequence diagram describes the process of how the policy with the defined constraint will be used for validation of catalog offers by the receiver edc, to validate if sending is valid. | ||
|
||
[plantuml, target=policy-notifications, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/runtime-view/policies/policy-notifications.puml[] | ||
.... | ||
|
||
=== Scenario 4: Provisioning of assets | ||
Trace-X instance uses the policy which includes the defined constraint and reuses it for creating edc assets . | ||
|
||
This sequence diagram describes the process of how the policy with the defined constraint will be reused for registering edc data assets. | ||
|
||
[plantuml, target=policy-assets, format=svg] | ||
.... | ||
include::../../../uml-diagrams/arc42/runtime-view/policies/policy-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,4 @@ | ||
= Scheduler | ||
|
||
include::scheduler/scheduler.adoc[leveloffset=+1] | ||
|
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,8 @@ | ||
An overview of the scheduler tasks configured in the system. | ||
|
||
[options="header"] | ||
|=== | ||
|Scheduler Name | Execution Interval | Description | ||
|PublishAssetsJob | Every hour at 30min | Publishes assets in IN_SYNCHRONIZATION state to core services. The process combines 'as-built' and 'as-planned' assets and initiates their publication for synchronization in the traceability system. | ||
|AssetsRefreshJob | Every 2 hours | Invokes the synchronization of asset shell descriptors with the decentralized registry. It ensures the latest asset information is fetched and updated in the system from external sources. | ||
|=== |
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
Binary file modified
BIN
-40.6 KB
(76%)
docs/src/images/arc42/user-guide/parts-list-detailed-view.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
18 changes: 18 additions & 0 deletions
18
docs/src/uml-diagrams/arc42/runtime-view/policies/policy-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,18 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
title Sequence Diagram: Policy Handling on asset provisioning flow | ||
participant "TraceX" as TraceX | ||
participant "EDC Consumer" as EdcConsumer | ||
participant "EDC Provider (other) " as EdcProvider | ||
|
||
TraceX -> TraceX: Publish Asset to Core Services | ||
TraceX -> EdcConsumer: Register policy | ||
EdcConsumer -> EdcProvider: Register policy | ||
EdcProvider -> EdcConsumer: Return ok | ||
EdcConsumer -> TraceX: Return ok | ||
TraceX -> TraceX: Reuse policy for contract definition creation | ||
|
||
@enduml |
49 changes: 49 additions & 0 deletions
49
docs/src/uml-diagrams/arc42/runtime-view/policies/policy-notifications.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,49 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
title Sequence Diagram: Policy Handling on notification flow | ||
participant "TraceX" as TraceX | ||
participant "IRS " as IRS | ||
participant "EDC Consumer" as EdcConsumer | ||
participant "EDC Provider (other) " as EdcProvider | ||
|
||
TraceX -> TraceX: Approve, Acknowledge, Accept, Decline or Close Notification | ||
TraceX -> EdcConsumer: Get catalog of receiver | ||
EdcConsumer -> EdcProvider: Get catalog of receiver | ||
EdcProvider -> EdcConsumer: Return catalog | ||
EdcConsumer -> TraceX: Return catalog | ||
TraceX -> TraceX: Validate Contract Type, Method and Policy | ||
|
||
alt Notification Type: Alert | ||
TraceX -> TraceX: Filter for method (update, receive) | ||
TraceX -> TraceX: Validate if catalog policy matches the configured policies in IRS Lib (3 Default Policies) | ||
alt Method: Update | ||
TraceX -> EdcConsumer: Send out alert notification (update method) | ||
EdcConsumer -> EdcProvider: Send out alert notification (update method) | ||
EdcProvider -> EdcConsumer: ok | ||
EdcConsumer -> TraceX: .. | ||
else Method: Receive | ||
TraceX -> EdcConsumer: Send out alert notification (receive method) | ||
EdcConsumer -> EdcProvider: Send out alert notification (receive method) | ||
EdcProvider -> EdcConsumer: ok | ||
EdcConsumer -> TraceX: .. | ||
end | ||
else Notification Type: Investigation | ||
TraceX -> TraceX: Filter for method (update, receive) | ||
TraceX -> TraceX: Validate if catalog policy matches the configured policies in IRS Lib (3 Default Policies) | ||
alt Method: Update | ||
TraceX -> EdcConsumer: Send out Investigation notification (update method) | ||
EdcConsumer -> EdcProvider: Send out Investigation notification (update method) | ||
EdcProvider -> EdcConsumer: ok | ||
EdcConsumer -> TraceX: .. | ||
else Method: Receive | ||
TraceX -> EdcConsumer: Send out Investigation notification (receive method) | ||
EdcConsumer -> EdcProvider: Send out Investigation notification (receive method) | ||
EdcProvider -> EdcConsumer: ok | ||
EdcConsumer -> TraceX: .. | ||
end | ||
end | ||
|
||
@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
Oops, something went wrong.