[PLDWWW] page changed: packages:fedmsg

"Elan Ruusamäe (glen)" glen at pld-linux.org
Sat Mar 19 14:51:45 CET 2016


gateway

--- https://www.pld-linux.org/packages/fedmsg?rev=1447268929
+++ https://www.pld-linux.org/packages/fedmsg?rev=1458395505
@@ -1,21 +1,36 @@
  ====== fedmsg ======
  
  [[http://www.fedmsg.com/|fedmsg]] (Fedora-Messaging) is a Python package and API used around Fedora Infrastructure to send and receive messages to and from applications.
  
- ===== testing =====
+ ===== Relay =====
  
  Quick setup from [[http://www.fedmsg.com/en/latest/development/|here]]:
  
    - install yourself ''fedmsg-relay'' package
-   - add to endpoint: <code py /etc/fedmsg.d/endpoints.py>
+   - add to endpoint: <code python /etc/fedmsg.d/endpoints.py>
          "__main__.HOSTNAME": [
              "tcp://127.0.0.1:4320",
          ]
  </code> the **HOSTNAME** is your local host name, see ''hostname(1)''
    - start ''fedmsg-relay'' service.
    - tail the relay messages: ''%%fedmsg-tail --really-pretty & %%''
    - issue a message: ''%%echo "Hello, world" | fedmsg-logger%%''
+ 
+ 
+ ===== Gateway =====
+ 
+ To have endpoint where to listen all messages, need ''fedmsg-gateway'' daemon.
+ 
+ Install ''fedmsg-gateway'' package, no configuration needed.
+ 
+ Now you can define in your ''endpoints.py'' to listen for pld messages:
+ <code python endpoints.py>
+         "pld-relay": [
+             "tcp://ep09.pld-linux.org:9940",
+         ], 
+ </code>
+ 
  
  ===== anitya =====
  
  [[https://github.com/fedora-infra/anitya|anitya]] is a cross-distribution upstream release monitoring project, under [[https://release-monitoring.org/|https://release-monitoring.org]] address.


Diff URL:
  https://www.pld-linux.org/packages/fedmsg?do=diff&r1=1447268929&r2=1458395505
-- 
This mail was generated by DokuWiki at
https://www.pld-linux.org/


More information about the pld-cvs-commit mailing list