/opennms-base-assembly/src/main/filtered/etc/microblog-configuration.xml

https://github.com/ajakubo1/opennms · XML · 35 lines · 17 code · 0 blank · 18 comment · 0 complexity · 88585fd9c642c4c431c18c5f2097b38c MD5 · raw file

  1. <?xml version="1.0"?>
  2. <!--
  3. This file contains profiles for posting to and reading notices from
  4. one or more microblog services such as Identica, StatusNet, or Twitter.
  5. Currently these profiles are used only by the MicroblogNotificationStrategy
  6. and its ~Reply~ and ~DM~ derived classes. These strategies will first try
  7. to use a profile whose name is "notifd", falling back to the default profile
  8. if one does not exist.
  9. Future uses for the profiles in this configuration file include an
  10. AckReader for Ackd and perhaps a MicroblogTransportMonitor for Pollerd.
  11. -->
  12. <microblog-configuration default-microblog-profile-name="identica">
  13. <microblog-profile
  14. name="identica"
  15. service-url="https://identi.ca/api/"
  16. authen-username="yourusername"
  17. authen-password="yourpassword"
  18. />
  19. <!--
  20. Twitter no longer supports username/password for application posting.
  21. Instead, you should use OAuth authentication. To configure OpenNMS
  22. for OAuth, run $OPENNMS_HOME/bin/microblog-auth and follow the prompts.
  23. It will update this configuration file for you.
  24. -->
  25. <microblog-profile
  26. name="twitter"
  27. service-url="https://twitter.com/"
  28. oauth-consumer-key=""
  29. oauth-consumer-secret=""
  30. oauth-access-token=""
  31. oauth-access-token-secret=""
  32. />
  33. </microblog-configuration>