Messaging and events
JSON event → SNS topic
Serialize JSON, publish to a named SNS alias, and inspect broker acceptance separately from subscriber delivery.
Last verified 2026-10-31 at f4ce7d0 — simulation fixtures
Studio activation is a one-time payment of USD 20.
Flow
Drawn at build time from the node positions in the template's process definitions. Numbered markers are the walkthrough stages.
Scroll sideways to see the whole flow.
List the 4 activities and 3 transitions
Activities
- Order event
start - Serialize event
json.render - Publish approved event
sns.publish - Broker acceptance
end
Transitions
- Order event → Serialize event (on success)
- Serialize event → Publish approved event (on success)
- Publish approved event → Broker acceptance (on success)
Walkthrough
- Publish eventBind the topic alias and message text.
What you will practise
- Serialize message bodies explicitly.
- Separate acceptance from delivery.
Sample cases
1 case with 3 assertions, run with python -m server.integration examples --all in simulation.
Broker acceptance only
PassedNo real publish or subscription.
Expected result Notification accepted; subscriber delivery is not asserted.
3/3 assertions
- Simulated
- Accepted
- Not a delivery confirmation
This sample run only; not a production certification.
Prerequisites
- Runtime
- Cohuno runtime 1.27.0, the version recorded when these cases last passed.
- Starter
- Manual start; no listener.
- Optional dependencies
- Cloud SDKs (requirements-cloud.txt) needed only for live connections; simulation uses fixtures
- Simulation fixtures
sns_eventssns · sns.publish
Verification details
Provenance
What was verified, and when. The content part changes whenever the pack, a process in its closure, the runtime version or a case result changes; the gallery check then fails until the gallery is regenerated and the changed templates are verified again.
Verified content
- Pack SHA-256
6ecc047f81570f618aeba13d4cddb12711b3d8f489d116c5bcc5b40a4a05a3f7- Closure SHA-256
4d6edc51c5157af316dd1c89fcf65a6f0e8f6ae7d2132a822d0ea1d55679d4db- Runtime
1.27.0- Results
- 1/1 cases, 3/3 assertions, mode simulate, external calls: none.
- Files in the closure
server/integration/example_packs/v14_sns_event.jsonserver/integration/templates/v14_sns_event.json
Verification event
- Commit
f4ce7d08eedc90267b405ed1974344153a8b3a34- Verified at (UTC)
2026-10-31T21:19:21Z
How the Cohuno team reproduces this check
PYTHONPATH=. python -m server.integration examples --example v14_sns_event PYTHONPATH=. python scripts/export_public_gallery.py --check