Difference between revisions of "Template:Social adapter"
(Created page with "The Social adapter is an adapter which gives {{GVESB}} the ability to interact with social platforms. The configuration is specified into the GVSocialAdapter-Configuration.xml, a...") |
|||
Line 1: | Line 1: | ||
The Social adapter is an adapter which gives {{GVESB}} the ability to interact with social platforms. The configuration is specified into the GVSocialAdapter-Configuration.xml, and the file has the following structure: | The Social adapter is an adapter which gives {{GVESB}} the ability to interact with social platforms. The configuration is specified into the GVSocialAdapter-Configuration.xml, and the file has the following structure: | ||
+ | |||
<GVSocialAdapterManager name="GV_SOCIAL" type="module"> | <GVSocialAdapterManager name="GV_SOCIAL" type="module"> | ||
<SocialAdapters> | <SocialAdapters> | ||
Line 13: | Line 14: | ||
</SocialAdapters> | </SocialAdapters> | ||
</GVSocialAdapterManager> | </GVSocialAdapterManager> | ||
+ | |||
+ | The following table shows those present in ''General configuration of business web services'' and its application: | ||
+ | {|class="gvtable" | ||
+ | ! Parameter !! Meaning and values | ||
+ | |- | ||
+ | | TwitterSocialAdapter || One of the implemented adapters | ||
+ | |- | ||
+ | | TwitterSocialAdapter class || the adapter class | ||
+ | |- | ||
+ | | TwitterSocialAdapter social || the social platform identifier | ||
+ | |- | ||
+ | | TwitterSocialAdapter type || the adapter type | ||
+ | |- | ||
+ | | Accounts|| wrapper for all the account configured for a single social platform | ||
+ | |- | ||
+ | | Account || single account configuration | ||
+ | |- | ||
+ | | Account name || the name identifying the account | ||
+ | |- | ||
+ | | Account consumer_key || OAuth parameter | ||
+ | |- | ||
+ | | Account consumer_secret || OAuth parameter | ||
+ | |- | ||
+ | | Account access_token || OAuth parameter | ||
+ | |- | ||
+ | | Account access_token_secret || OAuth parameter | ||
+ | |- | ||
+ | | Account twitteruserid || user id on the social platform | ||
+ | |- | ||
+ | | Proxy || proxy settings | ||
+ | |- | ||
+ | | Proxy proxyHost || proxy host | ||
+ | |- | ||
+ | | Proxy proxyPort || proxy port | ||
+ | |- | ||
+ | | Proxy proxyUser || user for the proxy | ||
+ | |- | ||
+ | | Proxy proxyPassword || password for the proxy | ||
+ | |- | ||
+ | |} |
Revision as of 09:19, 17 September 2012
The Social adapter is an adapter which gives GreenVulcano® ESB the ability to interact with social platforms. The configuration is specified into the GVSocialAdapter-Configuration.xml, and the file has the following structure:
<GVSocialAdapterManager name="GV_SOCIAL" type="module">
<SocialAdapters> <TwitterSocialAdapter class="it.greenvulcano.gvesb.....TwitterSocialAdapter" social="twitter" type="social-adapter"> <Accounts> <Account name="PIPPO" consumer_key="..." consumer_secret="..." oauth_access_token="..." oauth_access_token_secret="..." twitteruserid="..."/> ... </Accounts> ... <Proxy proxyHost="" proxyPassword="" proxyPort="" proxyUser=""/> </TwitterSocialAdapter> </SocialAdapters>
</GVSocialAdapterManager>
The following table shows those present in General configuration of business web services and its application:
Parameter | Meaning and values |
---|---|
TwitterSocialAdapter | One of the implemented adapters |
TwitterSocialAdapter class | the adapter class |
TwitterSocialAdapter social | the social platform identifier |
TwitterSocialAdapter type | the adapter type |
Accounts | wrapper for all the account configured for a single social platform |
Account | single account configuration |
Account name | the name identifying the account |
Account consumer_key | OAuth parameter |
Account consumer_secret | OAuth parameter |
Account access_token | OAuth parameter |
Account access_token_secret | OAuth parameter |
Account twitteruserid | user id on the social platform |
Proxy | proxy settings |
Proxy proxyHost | proxy host |
Proxy proxyPort | proxy port |
Proxy proxyUser | user for the proxy |
Proxy proxyPassword | password for the proxy |