forked from eclipse-tractusx/item-relationship-service
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Limit jobs executed in parallel eclipse-tractusx#892
concept: Efficient orchestration of edc negotations eclipse-tractusx#894 test: Remediation of technical Debts /irs/orders api eclipse-tractusx/sig-release#933 chore: Resolve Null pointer exception while registering the company eclipse-tractusx#888 feat: Build href URL correctly for accessing submodel assets eclipse-tractusx#889
- Loading branch information
1 parent
8533972
commit c01f345
Showing
42 changed files
with
2,349 additions
and
509 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
25 changes: 25 additions & 0 deletions
25
docs/src/uml-diagrams/runtime-view/edc-flow-orchestrated-ddtr.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,25 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
|
||
autonumber "<b>[000]" | ||
|
||
participant "EdcSubmodelClient" as ESC | ||
participant "NegotiationOrchestrator" as NO | ||
participant "EDCCatalogFacade" as ECF | ||
|
||
ESC -> NO: get ContractOffers for type DTR | ||
NO -> ECF: get ContractOffers for type DTR | ||
NO <-- ECF: List<ContractOffer> | ||
ESC <-- NO: List<ContractOffer> | ||
|
||
loop for each ContractOffer | ||
ESC -> NO: negotiate EndpointDataReference(ContractOffer) | ||
ESC <-- NO: Future<EndpointDataReference> | ||
end loop | ||
|
||
ESC -> ESC: wait for completion of Futures | ||
|
||
@enduml |
46 changes: 46 additions & 0 deletions
46
docs/src/uml-diagrams/runtime-view/edc-flow-orchestrated.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,46 @@ | ||
@startuml | ||
skinparam monochrome true | ||
skinparam shadowing false | ||
skinparam defaultFontName "Architects daughter" | ||
|
||
|
||
autonumber "<b>[000]" | ||
|
||
participant "EdcSubmodelClient" as ESC | ||
participant "NegotiationOrchestrator" as NO | ||
participant "EndpointDataReferenceCacheService" as EDRCache | ||
participant "EDCCatalogFacade" as ECF | ||
participant "ContractNegotiationService" as CNS | ||
|
||
ESC -> NO: get ContractOffer for assetId | ||
NO -> ECF: get ContractOffer for assetId | ||
note left | ||
parallel catalog requests | ||
can be limited by facilitating an | ||
ExecutorService with limited threads | ||
end note | ||
NO <-- ECF: ContractOffer | ||
ESC <-- NO: ContractOffer | ||
ESC -> NO: negotiate EndpointDataReference(ContractOffer) | ||
|
||
NO -> EDRCache: get EndpointDataReference | ||
alt cache contains valid entry for assetId | ||
NO <-- EDRCache: EndpointDataReference | ||
else no valid entry for assetId in cache | ||
alt ongoing negotiation for asseId | ||
NO -> NO: EndpointDataReference | ||
else no ongoing negotiation for asseId | ||
NO -> CNS: start contract negotiation | ||
note left | ||
parallel negotiations | ||
can be limited by facilitating an | ||
ExecutorService with limited threads | ||
end note | ||
NO <-- CNS: EndpointDataReference | ||
end alt | ||
end alt | ||
|
||
ESC <-- NO: Future<EndpointDataReference> | ||
ESC -> ESC: wait for completion of Future | ||
|
||
@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
Oops, something went wrong.