1. 24 Apr, 2014 1 commit
  2. 16 Jan, 2014 1 commit
  3. 17 Oct, 2013 1 commit
  4. 16 Oct, 2013 4 commits
  5. 08 Oct, 2013 1 commit
  6. 19 Sep, 2013 1 commit
  7. 20 Feb, 2013 1 commit
    • Iustin Pop's avatar
      Simplify RPC error cases · 9c0a27d0
      Iustin Pop authored
      
      
      This patch removes the node from the RPC error constructurs
      CurlLayerError and OfflineNodeError. The rationale is that we anyway
      return tuples (node, result), and removing this duplication allows
      simplified signatures/calls in the execution of RPC calls.
      
      Note: this was sent before as well, resending on top of current codebase.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
      9c0a27d0
  8. 24 Jan, 2013 1 commit
    • Helga Velroyen's avatar
      Convert Maybe results to RSUnavail · a64cc96b
      Helga Velroyen authored
      
      
      When displaying query results of type Maybe, one could use the
      function rsMaybe. Unfortunately, this function maps 'Nothing'
      values to RSNoData which gets displayed as '?' in the list of
      query results. These semantics do not fit if the result is of
      a Maybe type, because it is an optional field, because in this
      case 'Nothing' is not an error (like for example the consequence
      of an RPC error), but a legitimate result and as such should
      be displayed as '-' in the result list. For this purpose,
      this patch introduces another version of rsMaybe, which is
      called rsMaybeUnavail to be used for optional fields.
      For consistency, rsMaybe gets renamed to rsMaybeNoData.
      Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
      Reviewed-by: default avatarIustin Pop <iustin@google.com>
      a64cc96b
  9. 24 Dec, 2012 1 commit
  10. 19 Dec, 2012 1 commit
  11. 11 Oct, 2012 1 commit
  12. 26 Sep, 2012 1 commit
  13. 04 Sep, 2012 1 commit
  14. 03 Sep, 2012 1 commit
    • Iustin Pop's avatar
      Add Query support for Nodes (no filtering, no RPC) · 046fe3f5
      Iustin Pop authored
      
      
      This is the initial support for Query2: basic infrastructure (except
      filtering) and node query support (without RPC).
      
      It implements all the fields (tests by comparison with list-fields on
      the Python side), except that:
      
      - filter is not done
      - since RPC is not integrated yet, the runtime gathering/computing is
        simply stubbed out
      
      However, the infrastructure seems pretty reasonable, so I'm sending as
      is.
      
      Note that I've split the functions/declarations into multiple files,
      to keep each file clean and readable.
      Signed-off-by: default avatarIustin Pop <iustin@google.com>
      Reviewed-by: default avatarAgata Murawska <agatamurawska@google.com>
      046fe3f5