Custom Query (2152 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (334 - 336 of 2152)

Ticket Resolution Summary Owner Reporter
#2229 fixed Cleanup plugin system after some test failed to run. kindly kindly

Reported by kindly, 2 years ago.

Description

The logic test did not have init. This caused lots of tests to fail because there were mock extensions that ran automatically in them. Fix plugin system so this can work.

#1362 fixed Clearing the database should also clear the search index johnglover johnglover

Reported by johnglover, 3 years ago.

Description

When paster db clean is run, the search index should also be cleared.

#322 fixed Client interface for Notification Service dread dread

Reported by dread, 4 years ago.

Description

Use cases

  • Register for package changes
  • Register for all revisions
  • Notified of a package change
  • Notified of a revision
  • Deregistration
  • Configuration of port in pylons config

Design

  • Default port: 5672 (standard for AMQP)
  • Exchange name: 'ckan'
  • Exchange type: topic exchange (most flexible)
  • Routing keys: (see below)

Routing detail

Routing key format: "OBJ_TYPE" (NB tags should be identified by their name, not ID)

Example routing keys

  • 'package' - Package edited/created
  • 'resource' - Resource edited/created
  • 'revision' - Any change
  • 'db.clean'
  • 'db.rebuild'

Example queue bindings that clients may use:

  • * - no filtering - client receives all notifications
  • package - only changes to packages
  • revision - all revisions
  • db - all database operations

Versioning

Since message payloads will be tied into the REST Entities, it makes sense to join up with the REST versioning. This could be achieved by providing new exchanges called 'ckan-1.1' perhaps?

Documentation

  • How to use
  • simple example of an external client?
Note: See TracQuery for help on using queries.