Changes the notification format a little
- The field 'source' is now formatted like 'greg:instance_name:environment' - The field 'type' is now formatted like 'object_type.operation' - The field 'data' now contains the identifiers of all objects related to the change
Showing
- greg/management/commands/notification_publisher.py 4 additions, 6 deletionsgreg/management/commands/notification_publisher.py
- greg/signals.py 14 additions, 7 deletionsgreg/signals.py
- greg/tests/management/test_notification_publisher.py 31 additions, 2 deletionsgreg/tests/management/test_notification_publisher.py
- greg/tests/test_notifications.py 42 additions, 30 deletionsgreg/tests/test_notifications.py
Loading
Please register or sign in to comment