Skip to content

Commit

Permalink
fix(concept):[#322] decision of review is included + tombstone was im…
Browse files Browse the repository at this point in the history
…proved to cover UsagePolicyValidation
  • Loading branch information
mkanal committed Jan 22, 2024
1 parent 54cdfc8 commit dd93945
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,11 @@ in request POST /irs/jobs. This collects the submodel which include the required

### <ins>Add ContractAgreementId to submodels </ins>

Decision: **Option 1 will be implemented.** Option 2 is too invasive change to JobResponse is required now.


#### Option 1: Provide contractAgreementId for each submodel:

Impact:
- Redundant information in case multiple submodels were received for the same contractAgreementId.
- JobReponse size is already critical and extends by ~100byte multiples with every submodel and aas shell stored in the JobReponse
Expand Down Expand Up @@ -360,8 +364,8 @@ The requestor gets the insight which policy does not match and has the opportuni
}
},
"processingError": {
"processStep": "DigitalTwinRequest",
"errorDetail": "EndpointDataReference was not found. Requested connectorEndpoints: https://test1.doubleSlash.com, https://test2.doubleSlash.com",
"processStep": "UsagePolicyValidation",
"errorDetail": "Consumption of asset (itemId) is not permitted as the required catalog offer policies do not comply with defined IRS policies.",
"lastAttempt": "2024-01-17T09:02:36.648055745Z",
"retryCounter": 3
}
Expand Down

0 comments on commit dd93945

Please sign in to comment.