Replay recorded requests by ReqUID (#864)

This commit is contained in:
Nafisa Shazia
2018-08-17 13:17:54 -07:00
committed by smruthi2187
parent 2d01382a82
commit 95eef49cf8
7 changed files with 251 additions and 24 deletions
+2
View File
@@ -248,6 +248,8 @@ func (api *API) Serve(port int) {
r.HandleFunc("/v2/records/trigger/{trigger}", api.RecordsApiFilterByTrigger).Methods("GET")
r.HandleFunc("/v2/records/time", api.RecordsApiFilterByTime).Methods("GET")
r.HandleFunc("/v2/replay/{reqUID}", api.ReplayByReqUID).Methods("GET")
r.HandleFunc("/v2/secrets/{secret}", api.SecretGet).Methods("GET")
r.HandleFunc("/v2/configmaps/{configmap}", api.ConfigMapGet).Methods("GET")