Skip to content

Sketch a P-Mode model, with a Peppol template - #8

Draft
dbkosky wants to merge 1 commit into
masterfrom
feat/pmode-sketch
Draft

dbkosky wants to merge 1 commit into
masterfrom
feat/pmode-sketch

Conversation

@dbkosky

@dbkosky dbkosky commented Sep 26, 2026 •

Copy link
Copy Markdown
Owner
  • Add PMode model in as4/core/pmode.py (parties, leg, reception awareness)
  • Add peppol_pmode() template in as4/profiles/peppol/pmode.py
  • Add MEP, binding and default MPC URIs to const.py
  • Add tests in tests/test_pmode/

A P-Mode is one agreement between two parties about how they exchange
messages. as4 models one today only by proxy: parties on the exchange,
inbound security in SecurityPolicy, and the rest hardcoded in the
Peppol builder. This adds the type on its own so the shape can be
reviewed before anything reads it.

This branch has not been deployed

No deployments
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.

1 participant