packages:fedmsg
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
packages:fedmsg [2015-11-11 20:02] – [testing] glen | packages:fedmsg [2016-03-19 16:56] (current) – [outgoing requests] glen | ||
---|---|---|---|
Line 3: | Line 3: | ||
[[http:// | [[http:// | ||
- | ===== testing | + | ===== Relay ===== |
Quick setup from [[http:// | Quick setup from [[http:// | ||
- | - install yourself '' | + | - install yourself '' |
+ | - add to endpoint: <code python / | ||
+ | endpoints={ | ||
+ | " | ||
+ | " | ||
+ | ] | ||
+ | </ | ||
+ | - start '' | ||
- tail the relay messages: '' | - tail the relay messages: '' | ||
- | - issue a message: '' | + | - 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.1447268553.txt.gz · Last modified: 2015-11-11 20:02 by glen