Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(concept): 638 ContractAgreement admin view #1008

Merged
merged 11 commits into from
Feb 28, 2024
14 changes: 8 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,20 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [UNRELEASED - DD.MM.YYYY]

### Added
- JSON Schema generation for valid submodel mapping
- Added concept #638: Contract agreement admin view
- Added support for meta key for multi sorting on tables
Added error description and retry button to error toast when creating notifications

### Changed
- sring-core bumped from 6.0.16 to 6.0.17
- IRS Response Mapper
- updated user manual
- Spring-core bumped from 6.0.16 to 6.0.17
- Updated user manual
- JSON Schema generation for valid submodel mapping
- Added support for meta key for multi sorting on tables
- Added error description and retry button to error toast when creating notifications

### Removed
- removed EDC notification asset classes and replaced with IRS lib implementation
- Removed EDC notification asset classes and replaced with IRS lib implementation

## [10.5.0 - 22.02.2024]

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

| Key | Value |
|---------------|-------------------|
| Autor | <name> |
| Author | <name> |
| Creation date | <DD.MM.YYYY> |
| Ticket Id | <ID> <url> |
| State | <DRAFT,WIP, DONE> |
Expand Down

This file was deleted.

Large diffs are not rendered by default.

Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
ds-crehm marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@startuml
title
==POST api/contracts/request
end title

autonumber "<B>[00]"

participant "Trace-X Frontend" as FE order 0
participant "Trace-X Backend" as BE order 1
participant "Trace-X Database" as DB order 2
participant "EDC" as EDC order 3

FE -> BE: POST api/contracts/request (limit, offset, sort, filter)

activate BE
BE -> DB: Fetch requested distinct contractAgreementIds
activate DB
autonumber stop
DB --> BE: List(contractAgreementIds)
autonumber resume
deactivate DB

BE -> EDC: POST tx-edc/management/v2/contractagreements/request \nfiltered by contractAgreementIds
activate EDC
autonumber stop
EDC --> BE: JSON response
autonumber resume
deactivate EDC
BE -> BE: Extract contractSigningDate, policy
activate BE
deactivate BE

loop for all contractAgreementIds
BE -> EDC: GET tx-edc/management/v2/contractagreements/{contractAgreementId}/negotiation
activate EDC
autonumber stop
EDC --> BE: JSON response
autonumber resume
deactivate EDC
BE -> BE: Extract id, counterPartyAddress, state
activate BE
deactivate BE
end

autonumber stop
BE --> FE: JSON response
autonumber resume
deactivate BE

@enduml
ds-crehm marked this conversation as resolved.
Show resolved Hide resolved
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
@startuml
title
==GET api/contracts/{tx-assetId}
end title

autonumber "<B>[00]"

participant "Trace-X Frontend" as FE order 0
participant "Trace-X Backend" as BE order 1
participant "Trace-X Database" as DB order 2
participant "EDC" as TXEDC order 3

FE -> BE: GET api/contracts/{tx-assetId}

activate BE
BE -> DB: Take contractAgreementId for tx-assetId
activate DB
autonumber stop
DB --> BE: contractAgreementId
autonumber resume
deactivate DB

BE -> TXEDC: GET tx-edc/management/v2/contractagreements/{contractAgreementId}
activate TXEDC
autonumber stop
TXEDC --> BE: JSON response
autonumber resume
deactivate TXEDC
BE -> BE: Extract contractSigningDate, policy
activate BE
deactivate BE

BE -> TXEDC: GET tx-edc/management/v2/contractagreements/{contractAgreementId}/negotiation
activate TXEDC
autonumber stop
TXEDC --> BE: JSON response
autonumber resume
deactivate TXEDC
BE -> BE: Extract id, counterPartyAddress, state
activate BE
deactivate BE

autonumber stop
BE --> FE: JSON response
deactivate BE

@enduml