Skip to content
Snippets Groups Projects
  1. Feb 20, 2013
    • Michael Hanselmann's avatar
      Allow generating different RAPI resource lookup tables · 798f1ac9
      Michael Hanselmann authored
      
      Until now the RAPI resource table returned by
      “rapi.connector.GetHandlers” always uses fixed strings or compiled
      regular expressions as dictionary keys. Now that a table of all RAPI
      resources (and their access rights) should be written for the
      documentation, a plain string version of the URIs must be available. The
      compiled pattern might contain escape sequences and is not suitable.
      
      This patch changes “GetHandlers” to accept a hook function which is used
      to translate non-static resource URIs such as “/2/jobs/[job_id]/wait”.
      The default implemention retains the original behaviour by translating
      to compiled regular expressions.
      
      Signed-off-by: default avatarMichael Hanselmann <hansmi@google.com>
      Reviewed-by: default avatarGuido Trotter <ultrotter@google.com>
      798f1ac9
  2. Feb 19, 2013
  3. Feb 18, 2013
  4. Feb 15, 2013
  5. Feb 14, 2013
  6. Feb 13, 2013
  7. Feb 12, 2013
Loading