PageRenderTime 13ms CodeModel.GetById 9ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

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