~marcustomlinson/unity-scopes-api/smartscopesproxy_fixes

Viewing all changes in revision 161.

  • Committer: CI bot
  • Author(s): Michi Henning
  • Date: 2014-01-28 15:40:13 UTC
  • mfrom: (150.1.6 remote_registry)
  • Revision ID: ps-jenkins@lists.canonical.com-20140128154013-ivd4hpoxdxrxly2l
Added support for remote scopes by querying the smart scopes proxy server.
Registry.ini now has two new keys, SS.Registry.Identity and SS.Registry.Endpoint,
which is where the smart scopes proxy server is expected to provide its registry
object. If these keys are not set, the registry still runs, but prints a warning
to say that remote scopes won't be available.

Still missing: we don't have a refresh policy yet. The remote scopes are read
only once, on start-up. If the smart scopes registry changes, the local registry
currently will not notice this until it is re-started. 

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: