Skip to content

Commit 84f92e6

Browse files
authored
Update PCFRequest.puml
Following endpoint adjustments proposed in Change Request CX-0136 Use Case PCF (catenax-eV/product-standardization-prod#297)
1 parent 01a5e3a commit 84f92e6

File tree

1 file changed

+8
-7
lines changed
  • docs-kits/kits/product-carbon-footprint-exchange-kit/resources/development-view/src

1 file changed

+8
-7
lines changed

docs-kits/kits/product-carbon-footprint-exchange-kit/resources/development-view/src/PCFRequest.puml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ PCF_Client -> PCF_Client: Extract Endpoint from submodel via 'idShort'
2323
PCF_Client -> PCF_Client: Rewrite endpoint URL for call through own API Wrapper
2424
PCF_Client -> Client_API_Wapper: Invoke asset with reqID & comment
2525
note right
26-
GET https://clientApiWrapperUrl/api/service/c34018ab-5820-4065-9087-416d78e1ab60/productIds/mat345?providerUrl=https://some.controlplane.url:7173&requestId=123&comment=...
26+
GET https://clientApiWrapperUrl/api/service/c34018ab-5820-4065-9087-416d78e1ab60/footprintExchange/123?manufacturerPartId=mat345
2727
end note
2828
Client_API_Wapper -> Client_EDC: Negotiate access to asset and enable proxy transfer
2929
Client_EDC -> Company_EDC: Negotiate access to asset and enable proxy transfer
@@ -32,8 +32,7 @@ Client_EDC -> Client_API_Wapper: Agreement & EndpointDataReference
3232
Client_API_Wapper -> Client_EDC: PCF endpoint call incl. req.ID & comment
3333
Client_EDC -> Company_EDC: PCF endpoint call incl. req.ID & comment
3434
note right
35-
Using PCF API through EDC via HTTP Proxy:
36-
GET https://{someURL}/productIds/mat345?requestId=123&comment=...
35+
GET https://{someURL}/footprintExchange/123?manufacturerPartId=mat345
3736
end note
3837
Company_EDC -> Company_PCF_App: PCF endpoint call incl. req.ID, BPN (Header) & comment
3938
note right
@@ -81,7 +80,7 @@ end
8180
group Push PCF to Client
8281
Company_PCF_App -> Company_API_Wapper: Invoke asset with reqID
8382
note right
84-
PUT https://clientApiWrapperUrl/api/service/20ac18ab-5820-4065-9087-416d78e155cd/productIds/mat345?providerUrl=https://client.controlplane.url:8184&requestId=123
83+
PUT https://clientApiWrapperUrl/api/service/20ac18ab-5820-4065-9087-416d78e155cd/footprintExchange/123?manufacturerPartId=mat345
8584
end note
8685
Company_API_Wapper -> Company_EDC: Negotiate access to asset and enable proxy transfer
8786
Company_EDC -> Client_EDC: Negotiate access to asset and enable proxy transfer
@@ -90,8 +89,10 @@ Company_EDC -> Company_API_Wapper: Agreement & EndpointDataReference
9089
Company_API_Wapper -> Company_EDC: PCF endpoint call incl. req.ID
9190
Company_EDC -> Client_EDC: PCF endpoint call incl. req.ID
9291
note right
93-
Using PCF API through EDC via HTTP Proxy:
94-
PUT https://{someURL}/productIds/mat345?requestId=123
92+
93+
PUT https://{someURL}/footprintExchange/123?manufacturerPartId=mat345
94+
Header: edc-bpn: <BPN>
95+
Body: { ...PCF JSON... }
9596
end note
9697
Client_EDC -> PCF_Client: PCF endpoint call incl. req.ID & BPN (Header)
9798
PCF_Client -> Client_EDC: OK
@@ -101,4 +102,4 @@ Company_API_Wapper -> Company_PCF_App: OK
101102
end
102103
end
103104

104-
@enduml
105+
@enduml

0 commit comments

Comments
 (0)