1
"""An example replication service."""
3
# Note that the __init__.py of this package must import this module for it to
4
# be found. Plugin logic is not pretty, and not implemented yet.
6
# pylint: disable=C0103
8
# FIXME all of the constants should be capitalized, but that needs to
9
# be fixed in importing code as well
13
# Required; should include the words "cloud service" on the end.
14
DESCRIPTION = "Example cloud service"
19
"""Can we deliver information?"""
25
"""OAuth information needed to replicate to a server. This may be
26
called from a subthread, so be sure not to violate any execution
27
idioms, like updating the GUI from a non-main thread."""
28
return dict(consumer_key="", consumer_secret="", oauth_token="",
29
oauth_token_secret="")
30
# In case of failure return None
33
# Access to this as a string fires off functions.
35
db_name_prefix = "http://host.required.example.com/a_prefix_if_necessary"
36
# You can be sure that access to this will always, always be through its