packages:fedmsg
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| packages:fedmsg [2014-11-25 15:44] – created glen | packages:fedmsg [2016-03-19 16:56] (current) – [outgoing requests] glen | ||
|---|---|---|---|
| Line 3: | Line 3: | ||
| [[http:// | [[http:// | ||
| + | ===== Relay ===== | ||
| + | |||
| + | Quick setup from [[http:// | ||
| + | |||
| + | - install yourself '' | ||
| + | - add to endpoint: <code python / | ||
| + | endpoints={ | ||
| + | " | ||
| + | " | ||
| + | ] | ||
| + | </ | ||
| + | - start '' | ||
| + | - tail the relay messages: '' | ||
| + | - issue a message: '' | ||
| + | |||
| + | |||
| + | ===== Gateway ===== | ||
| + | |||
| + | To have endpoint where to listen all messages, need '' | ||
| + | |||
| + | Install '' | ||
| + | |||
| + | Now you can define in your '' | ||
| + | <code python endpoints.py> | ||
| + | endpoints={ | ||
| + | " | ||
| + | " | ||
| + | ], | ||
| + | </ | ||
| + | |||
| + | |||
| + | ===== Incoming requests ===== | ||
| + | |||
| + | To configure accepting incoming messages on '' | ||
| + | |||
| + | <code python relay.py> | ||
| + | | ||
| + | " | ||
| + | ], | ||
| + | </ | ||
| + | |||
| + | ===== Outgoing requests ===== | ||
| + | |||
| + | To configure sending local '' | ||
| + | |||
| + | <code python relay.py> | ||
| + | | ||
| + | " | ||
| + | ], | ||
| + | </ | ||
| + | |||
| + | No need to start relay daemon. | ||
| ===== anitya ===== | ===== anitya ===== | ||
packages/fedmsg.1416926673.txt.gz · Last modified: 2014-11-25 15:44 by glen