-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
38 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# SQL-based `EndpointDataReferenceCache` extension | ||
|
||
This extensions provide a persistent implementation of `EndpointDataReferenceCache`. | ||
|
||
It will store in the database this fields: | ||
|
||
- tranferProcessId | ||
- agreementId | ||
- assetId | ||
- edrId | ||
|
||
It represent a single EDR negotiation done with the new Control Plane Adapter APIs. | ||
|
||
The EDR itself it is stored in the participant vault with a prefixed key `edr:<edrId>`. | ||
|
||
**_Note that the SQL statements (DDL) are specific to and only tested with PostgreSQL. Using it with other RDBMS may | ||
work but might have unexpected side effects!_** | ||
|
||
## 1. Table schema | ||
|
||
see [schema.sql](docs/schema.sql). | ||
|
||
|
||
## 2. Configuration | ||
|
||
| Key | Description | Mandatory | Default | | ||
|:---------------------------------------|:----------------------------------|-----------|---------| | ||
| edc.datasource.edr.name | Datasource used by this extension | | edr | | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters