requests-log db

This commit is contained in:
2023-01-13 17:17:17 +01:00
parent 0ec7a9d274
commit e737cd9d5c
24 changed files with 1037 additions and 283 deletions

View File

@@ -0,0 +1,3 @@
package test
//TODO test errorlog

View File

@@ -28,7 +28,7 @@ func TestSearchMessageFTSSimple(t *testing.T) {
}
func TestSearchMessageFTSMulti(t *testing.T) {
//TODO search for messages by FTS
t.SkipNow() //TODO search for messages by FTS
}
//TODO more search/list/filter message tests

View File

@@ -0,0 +1,3 @@
package test
//TODO test requestlog

View File

@@ -119,8 +119,10 @@ func StartSimpleWebserver(t *testing.T) (*logic.Application, string, func()) {
apc := google.NewDummy()
jobRetry := jobs.NewDeliveryRetryJob(app)
app.Init(conf, ginengine, nc, apc, []logic.Job{jobRetry})
app.Init(conf, ginengine, nc, apc, []logic.Job{
jobs.NewDeliveryRetryJob(app),
jobs.NewRequestLogCollectorJob(app),
})
router.Init(ginengine)