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

Concept: Provisioning of contract negotiation and contract agreement for assets #322

Closed
1 of 10 tasks
mkanal opened this issue Dec 5, 2023 · 4 comments
Closed
1 of 10 tasks
Assignees
Labels
concept concept work dependencies Pull requests that update a dependency file feature Issue with a feature request linked_to_feature Issue is linked to a feature

Comments

@mkanal
Copy link
Contributor

mkanal commented Dec 5, 2023

As Trace-X
I want contract negotiation and contract agreements information for received assets
so that I am able to audit the data contracts, assets were retrieved

Branch

Hints / Details

Outcome / Acceptance Criteria

Outcome

Collaboration Meeting with Trace-X

  1. Collecting contract agreement ids for assets is mandatory for Trace-X. Agreed to enable and disable the collection of ids for performance reasons could be managed over an API parameter. Wish would be to have this parameter activated by default.
  2. To make this easier to handle and to have non-invasive code changes, Trace-X prefers the non-normalized form of implementation. For each submodel and each AAS shell, the id should be available in the JobResponse even if it is identical several times.
  3. Trace-X has access to the EDC Consumer Management API of IRS
  4. Access to EDC management api should be covered by IRS Client Library

Acceptance Criteria

  • Collaboration Meeting with Trace-X has been conducted and results are documented
  • Concept available which covers
    • Provisioning of required identifications for contract negation and contract agreement id edc:ContractAgreementDto@id
    • IRS provides the ContractAgreeementId for data asset in JobResponse on demand
    • How the business app can request the edc:ContractAgreement and ContractNegotation Payload to visualize the required results
    • Specify the time period the ContractAgreeementId payload and ContractNegotation payload should be accessible and be available for the business app - according to that decide if information should be stored in IRS or stored in the EDC. How long does the EDC store this information and is it sufficient to store this in the EDC - (10 years according to law)
  • Tickets are created in backlog

Out of Scope

  • ...

Clarification

  • Can Trace-X access the management API of the IRS EDC?
  • Should the EDC Management API of the IRS be configured in the business application or should the url be supplied via the JobResponse?
  • Does the business app have access to the management API of the EDC configured for the IRS
@mkanal mkanal added this to IRS Dec 5, 2023
@mkanal mkanal moved this to inbox in IRS Dec 5, 2023
@mkanal mkanal changed the title Provissioning of contract negotation and contract assessment for assets Provisioning of contract negotiation and contract assessment for assets Dec 6, 2023
@jzbmw
Copy link
Contributor

jzbmw commented Dec 6, 2023

How about the solution to extend the API for an API regarding contracts and negotiations?

@jzbmw jzbmw added the DISCUSSION_NEEDED This ticket needs discussion within teammembers label Dec 6, 2023
@ds-jhartmann
Copy link
Contributor

Since Trace-X (or any other service which uses the IRS) are the ones managing the IRS EDC, another suggestion would be to extend the registry/edc library with the required requests to the EDC, so Trace-X is able to gather the contracts themselves.

@mkanal
Copy link
Contributor Author

mkanal commented Dec 14, 2023

Decision @jzbmw and @ds-jhartmann

  • Provisioning of ContractAgreementDto:@id via IRS JobReponse. This is the unique artifact which is required to resolve the ContractAgreement / ContractNegoation and Asset
  • How to resolve the EDC url and API Key of the IRS EDC via API Key ?

Contract neg id and agreement id are stored in the job response - access to the respective content is via the EDC Management API

Pro

  • No need to store contract data in IRS

Contra

  • Trace-X MUST have access to EDC of IRS - no good design as IRS proxies the access to EDC in general

Job response covers the complete payload of contract agreement and negotiation

Pro

  • Contact must not be stores in IRS
  • Data are forwarded to consumer in general

Contra

  • Exponential grow of JobResponse on complex data chains

Specification

edc:ContractAgreementDto
"@id": "YjA4NjdmMjgtYWMwMC00OTdiLTliMTItNGEzZDdkYjk4YmEw:cmVnaXN0cnktYXNzZXQ=:YWI2MTY5ZDctNzdiYi00YTQ1LTljZTYtZTUzZjhjM2MwYTFm"

@jzbmw jzbmw added dependencies Pull requests that update a dependency file feature Issue with a feature request labels Dec 20, 2023
@jzbmw jzbmw moved this from inbox to backlog in IRS Dec 20, 2023
@jzbmw jzbmw removed the DISCUSSION_NEEDED This ticket needs discussion within teammembers label Dec 20, 2023
@mkanal mkanal moved this from backlog to next in IRS Jan 9, 2024
@mkanal mkanal added the concept concept work label Jan 9, 2024
@mkanal mkanal moved this from next to wip in IRS Jan 11, 2024
@mkanal mkanal self-assigned this Jan 11, 2024
@mkanal mkanal changed the title Provisioning of contract negotiation and contract assessment for assets Provisioning of contract negotiation and contract aggreement for assets Jan 12, 2024
@mkanal
Copy link
Contributor Author

mkanal commented Jan 12, 2024

@jzbmw

Collaboration Meeting with Trace-X

Outcome

  1. Collecting contract agreement ids for assets is mandatory for Trace-X. Agreed to enable and disable the collection of ids for performance reasons could be managed over an API parameter. Wish would be to have this parameter activated by default.
  2. To make this easier to handle and to have non-invasive code changes, Trace-X prefers the non-normalized form of implementation. For each submodel and each AAS shell, the id should be available in the JobResponse even if it is identical several times.
  3. Trace-X has access to the EDC Consumer Management API of IRS
  4. Access to EDC management api should be covered by IRS Client Library

@mkanal mkanal added the linked_to_feature Issue is linked to a feature label Jan 15, 2024
@mkanal mkanal changed the title Provisioning of contract negotiation and contract aggreement for assets Concept: Provisioning of contract negotiation and contract agreement for assets Jan 18, 2024
@mkanal mkanal moved this from wip to review in IRS Jan 19, 2024
@jzbmw jzbmw moved this from review to done in IRS Jan 22, 2024
@jzbmw jzbmw closed this as completed Jan 22, 2024
ds-jhartmann pushed a commit that referenced this issue Jan 23, 2024
ds-jhartmann pushed a commit that referenced this issue Jan 23, 2024
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ct-definiton-for-assets/#322-Provisioning-of-contract-definiton-for-assets.md

Co-authored-by: Jaro Hartmann <[email protected]>
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ct-definiton-for-assets/#322-Provisioning-of-contract-definiton-for-assets.md

Co-authored-by: Jaro Hartmann <[email protected]>
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ct-definiton-for-assets/#322-Provisioning-of-contract-definiton-for-assets.md

Co-authored-by: Jaro Hartmann <[email protected]>
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ct-definiton-for-assets/#322-Provisioning-of-contract-definiton-for-assets.md

Co-authored-by: Jaro Hartmann <[email protected]>
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ct-definiton-for-assets/#322-Provisioning-of-contract-definiton-for-assets.md

Co-authored-by: Jaro Hartmann <[email protected]>
ds-jhartmann pushed a commit that referenced this issue Jan 23, 2024
 typo and corrections filled missing summary
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ntract-negotiation-and-contract-assessment-for-assets

Chore/#322 provisioning of contract negotiation and contract assessment for assets
ds-jhartmann added a commit that referenced this issue Jan 23, 2024
…ntract-aggreement-id

chore(concept):[#322] correct tombstone using UsagePolicyValidation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
concept concept work dependencies Pull requests that update a dependency file feature Issue with a feature request linked_to_feature Issue is linked to a feature
Projects
Status: done
Development

No branches or pull requests

3 participants