Skip to content

Commit

Permalink
Merge pull request #1365 from eclipse-tractusx/chore/uml_optimzing
Browse files Browse the repository at this point in the history
chore(uml):[#xxx] optimize concept reducing unnesessary information a…
  • Loading branch information
ds-jhartmann authored Aug 30, 2024
2 parents 4f0f921 + 881e19e commit 25a4bdd
Showing 1 changed file with 11 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,18 +5,21 @@ participant TraceXFE
participant TraceX
participant "DiscoveryService" as DS
participant "Eclipse Dataspace Connector" as EDC
participant "Digital Twin Registry" as DTR
participant "decentral Digital Twin Registry" as DTR

participant IRS
rnote right TraceX
Blackbox view on EDC
end rnote
TraceX -> DS: Get EDCS for BPN
DS -> TraceX: Provide EDC Urls
TraceX -> EDC: Query for catalog offer of DTR
EDC -> TraceX: Return catalog offer
TraceX -> EDC: Negotiation of contract
EDC -> TraceX: Complete negotiation
ref over TraceX, DS
EDC discovery
end ref

ref over TraceX, EDC, DTR
Get catalog offer of DTR and negotiate it
end ref


TraceX -> DTR: Query for aasIDs by bpn
DTR -> TraceX: Retrieve aasIDs by bpn
rnote right TraceX
Expand All @@ -25,8 +28,7 @@ Because we need to know the BOMLifecycle Type (asBuilt/asPlanned) before request
Then for each BOMLifecycle Type we do two requests (upward/downward) to the IRS job API
end rnote
rnote right TraceX
Optimization: Since IRS can autodetect the BOMLifecycle Type. TraceX could simply use the aasID to reduce a huge amount of load to the EDC / DTR
Afterwards we switching from the IRS Job API to the IRS Order APi which lets us define batch strategies and call IRS only two times (upward/downward) for all aasIDs
Optimization: Trace-X uses digitaltwinregistry.externalSubjectIdWildcardAllowedTypes = digitalTwinType in dtr query to detect bom lifecycle.
end rnote
TraceX -> IRS: Register order for parts to get semantic models and traversal aspects for all aasIds (e.g. 200.000)
rnote right TraceX
Expand Down

0 comments on commit 25a4bdd

Please sign in to comment.