Skip to content

Policy N Times Usage #4032

Answered by ndr-brt
darxsky asked this question in Q&A
Mar 21, 2024 · 2 comments · 2 replies
Discussion options

You must be logged in to vote

I'm adding the extension that evaluates the number of accesses to a specific asset. Does number of accesses mean the number of negotiations for that asset or the number of transfers?

what do you mean with "number of accesses"? the EDC domain model never refers to that concept, so it's totally up to you specify what does it mean.

Also, I was thinking about how to implement the evaluation function. Is there a way to retrieve, from the negotiation request (/v2/contractnegotiations), the "assetId" and "connectorId" values from the request body (json)? Or are there other ways, exposed by the connector, to retrieve these fields from incoming messages between the two participants? I tried to …

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@jimmarino
Comment options

@darxsky
Comment options

Answer selected by juliapampus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants