Skip to content

Commit

Permalink
chore(concept):[#322] correct tombstone using UsagePolicyValidation
Browse files Browse the repository at this point in the history
  • Loading branch information
mkanal committed Jan 22, 2024
1 parent 0746ce4 commit ebff564
Showing 1 changed file with 7 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,8 @@ in request POST /irs/jobs. This collects the submodel which include the required

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

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

Impact:

- Redundant information in case multiple submodels were received for the same contractAgreementId.
Expand Down Expand Up @@ -352,6 +354,7 @@ policy store in order to receice further on assets with the specific policy.

- [ ] Tombstone is extended with policy payload in case policy is invalid AND auditContractNegotiation api parameter is
enabled.
- [ ] Policy is extended in case of an UsagePolicyValidation

`````json
"tombstones": [
Expand Down Expand Up @@ -380,10 +383,10 @@ policy store in order to receice further on assets with the specific policy.
}
},
"processingError": {
"processStep": "DigitalTwinRequest",
"errorDetail": "EndpointDataReference was not found. Requested connectorEndpoints: https://test1.doubleSlash.com, https://test2.doubleSlash.com",
"lastAttempt": "2024-01-17T09:02:36.648055745Z",
"retryCounter": 3
"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 ebff564

Please sign in to comment.