Testdata: introduce basic simulation framework (#47863)

This commit is contained in:
Ryan McKinley
2022-04-20 02:42:29 +02:00
committed by GitHub
parent f4e285b8b4
commit 89fa35a53f
18 changed files with 968 additions and 217 deletions
@@ -23,6 +23,8 @@ func (s *Service) registerRoutes() *http.ServeMux {
mux.Handle("/test", createJSONHandler(s.logger))
mux.Handle("/test/json", createJSONHandler(s.logger))
mux.HandleFunc("/boom", s.testPanicHandler)
mux.HandleFunc("/sims", s.sims.GetSimulationHandler)
mux.HandleFunc("/sim/", s.sims.GetSimulationHandler)
return mux
}