Skip to content
Snippets Groups Projects
  • Bob Callaway's avatar
    182adc3f
    clean up and enhance error handling · 182adc3f
    Bob Callaway authored
    
    - adds trillian API object to context
    - improves request error logging pre and post validation
    - use consistent request context throughout all GRPC calls
    - improve validation of incoming UUID values
    - disable swagger UI endpoint
    - only print cacheable headers if response code is HTTP 2XX
    - use GetLeavesByRange instead of deprecated GetLeavesByIndex API
    
    Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>
    182adc3f
    History
    clean up and enhance error handling
    Bob Callaway authored
    
    - adds trillian API object to context
    - improves request error logging pre and post validation
    - use consistent request context throughout all GRPC calls
    - improve validation of incoming UUID values
    - disable swagger UI endpoint
    - only print cacheable headers if response code is HTTP 2XX
    - use GetLeavesByRange instead of deprecated GetLeavesByIndex API
    
    Signed-off-by: default avatarBob Callaway <bcallawa@redhat.com>