~linaro-validation/lava-dashboard-tool/nonlegacy-rpc-and-auth-support

Viewing all changes in revision 155.

  • Committer: Zygmunt Krynicki
  • Date: 2011-07-15 23:34:05 UTC
  • Revision ID: zygmunt.krynicki@linaro.org-20110715233405-wg5hu47y2hgbz47z
Add support for authenticated requests.

There is some extra logic that simplifies this patch. Instead of using the
fully qualified API name everywhere (like dashboard.put) we simply remap
the server proxy to look at "dashboard." directly. This is done conditionally
to prevent the tool from breaking with older installations. There is some extra
complexity involved with query-data-view as that command actually talks to the
server in _reparse_arguments() and thus needs this remapping done earlier than
others.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: