Auto-tools/Projects/Pulse/Exchanges

From MozillaWiki
Jump to: navigation, search

This page is meant to be a list of exchanges available on pulse.mozilla.org. If exchanges you are publishing isn't listed here, please add them. Your description doesn't have to be long, this is just give an overview of which exchanges is available on pulse, so that people can build tools on top of them. If you have additional documentation available, this is also a good place to put a link.

Treeherder

New Result-Sets

exchange(prod)
exchange/treeherder/v1/new-result-set
exchange(stage)
exchange/treeherder-stage/v1/new-result-set
maintainer
mdoglio@mozilla.com
description
Messages about new result-sets. These messages include the revision_hash, and can be used to add additional jobs to a treeherder result-set. The exchange for stage is operational as of writing.

Job Actions

exchange(prod)
exchange/treeherder/v1/job-actions
exchange(stage)
exchange/treeherder-stage/v1/job-actions
maintainer
mdoglio@mozilla.com
description
Messages about retrigger/cancel actions on jobs. Includes requester (an email address) and job_id/job_guid to fetch details about the job itself. The exchange for stage is operational as of writing.

Resultset Actions

exchange(prod)
exchange/treeherder/v1/resultset-runnable-job-actions
exchange(stage)
exchange/treeherder-stage/v1/resultset-runnable-job-actions
maintainer
mdoglio@mozilla.com
description
Messages for a push (e.g. "add new jobs"). Sample:

NOTE: Beware, the following sample was copied from tc's pulse-inspector and I could not access to the raw value. I hand edited the structure.

{
  u"requested_jobs": [u'0:desktop-test-linux64/opt-reftest-1', u'Windows 7 VM-GFX 32-bit try debug test mochitest-1'],
  u"resultset_id": u"117941",
  u"timestamp": 1471878682.08,
  u"project": u"try",
  u"version": 1,
  u"requester": "armenzg@mozilla.com",
  u"decisionTaskID": "OpXU-JkRRpW96DEgCoQo2g"
}

Simple Bugzilla

exchange
exchange/bugzilla/simple
maintainer
mcote@mozilla.com
description
Notifications of Bugzilla bug updates. See BMO/ChangeNotificationSystem.

hg.mozilla.org

exchange
exchange/hgpushes/v2
maintainer
gps@Mozilla.com
description
See v-c-t docs

TaskCluster

Taskcluster publishes events to pulse for just about everything that goes on. For more details see the Taskcluster Reference Docs.

Firefox Test Engineering

exchange
exchange/fxtesteng/jobs
maintainer
dhunt@mozilla.com
description
Treeherder consumable job information created from automated tests.