Skip to content

Mock participant documentation - #1185

Open
gobica wants to merge 7 commits into
eclipse-tractusx:feat/mock-participantfrom
achtzig20:mock-participant-documentation
Open

Mock participant documentation#1185
gobica wants to merge 7 commits into
eclipse-tractusx:feat/mock-participantfrom
achtzig20:mock-participant-documentation

Conversation

@gobica

@gobica gobica commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

Description

added documentation for the single-container mock participant used to simulate a partner in local n-tier supply chain tests

Pre-review checks

Please ensure to do as many of the following checks as possible, before asking for committer review:

  • DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
  • Copyright and license header are present on all affected files (TRG 7.02)
  • Documentation Notice are present on all affected files (TRG 7.07)
  • If helm chart has been changed, the chart version has been bumped to either next major, minor or patch level (compared to released chart).
  • Changelog updated (changelog.md) with PR reference and brief summary.
  • Frontend version bumped, if needed (frontend/package.json, frontend/package-lock.json)
  • Backend version bumped, if needed (backend/pom.xml)
  • Open API specification updated, if controllers have been changed (use python script scripts/generate_openapi_yaml.py with running customer backend)

@gobica
gobica requested a review from ReneSchroederLJ July 23, 2026 13:55
@gobica
gobica force-pushed the mock-participant-documentation branch from 6a221d0 to 8f682e7 Compare July 24, 2026 07:46

@ReneSchroederLJ ReneSchroederLJ left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for the contribution.

I've suggested some fixes to make the wording a bit more precise and improve the overall clarity

Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated
Comment thread docs/mock-participant.md Outdated

> **Why the asymmetry is fine.** The mock's job is to be a convincing *peer* for the real Supplier EDC, not to reimplement access control. The line isn't drawn by DSP role (provider vs. consumer) — it's drawn by direction: any call the mock makes *out* to the real Supplier EDC carries a real IATP token, because that EDC enforces it and the call would otherwise be rejected. Any call landing *on* the mock's own endpoints — inbound negotiation/transfer requests as provider, or inbound callbacks as consumer — goes unchecked, because there's no policy enforcement to satisfy on the mock's side, and adding fake enforcement would just be more code standing in for something the mock doesn't need to prove.

## 5. Catalog & DTR

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These 2 chapters should be separate. The DTR has very little to do with the catalog

Comment thread local/mock/participant/README.md
Comment thread local/mock/participant/README.md
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants