Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (1066 - 1068 of 2152)

Ticket Resolution Summary Owner Reporter
#487 duplicate Notify SOLR service of model events johnbywater
#489 fixed Notify RDF service of model events wwaites johnbywater
#323 fixed Notification message dread dread

Reported by dread, 4 years ago.

Description

Which events to notify on

Listed by domain object, these are the notification message 'change types' that will be sent:

  • Package
  • PackageResource

Also it is clear that it could be useful to know when db-wide maintenance is carried out:

  • db - 'clean', 'rebuild' (db is wiped and replaced with new data), 'upgrade' (migration)

Ignored domain objects

These parts of the domain model will not carry notifications as no use case has been identified for them:

  • Revision
  • Group
  • Tag
  • Rating
  • User - list of users is sensitive info
  • Relationships - complicated
  • Authz - complicated and sensitive info
  • License - change of a license's metadata is a question for the 'license service'

Message format

A notification message's header contains the routing key, identifying the object type. The client is probably interested in the object (all use cases so far), so it makes sense to send the object in the payload. This should be the JSON-encoded dictionary exactly as provided for the object's REST Entity.

For the 'db' notifications there shall be no payload.

Note: See TracQuery for help on using queries.