Skip to content
This repository was archived by the owner on May 3, 2026. It is now read-only.

Add payload validation to emergency service routes#190

Merged
brothercorvo merged 1 commit intomainfrom
corvo/update-routing-in-service_emergency.py
Oct 7, 2025
Merged

Add payload validation to emergency service routes#190
brothercorvo merged 1 commit intomainfrom
corvo/update-routing-in-service_emergency.py

Conversation

@brothercorvo
Copy link
Copy Markdown
Contributor

Summary

  • add reusable JSON Schema definitions for emergency callsigns and event identifiers
  • register the emergency and event controller commands with payload schemas so LXMF routing enforces validation

Testing

  • pytest tests/test_example_emergency_management.py -k "event_controller or emergency_action_message"

https://chatgpt.com/codex/tasks/task_e_68e5649ebe5483258a24c63148383ebc

@brothercorvo brothercorvo merged commit 4a8ce35 into main Oct 7, 2025
2 checks passed
@brothercorvo brothercorvo deleted the corvo/update-routing-in-service_emergency.py branch October 7, 2025 19:17
Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting

Comment thread examples/EmergencyManagement/Server/service_emergency.py
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant