Граф коммитов

37 Коммитов

Автор SHA1 Сообщение Дата
Brandon Myers 26701ffa15
Fixup alert and worker for SSO feedback events 2018-04-30 12:43:59 -05:00
Brandon Myers 3e2e95ab63
Improve unit test suite to connect to resources once 2018-02-20 18:30:53 -06:00
Phrozyn 45339a26e1
adding back in the default naming convention - accidentally removed it 2018-01-25 18:29:12 -06:00
Phrozyn 86f8090331
reverting unit_test_suite.py for now 2018-01-25 18:27:45 -06:00
Phrozyn 6def309480
Initial draft of setting index configurations to be explicit per index. Getting ready for 6.x 2018-01-25 17:03:25 -06:00
Yash Mehrotra 90d7e3b6d3
Remove free-form 'Contributor:' text from code. Fixes #407 2017-12-23 02:14:53 +05:30
Brandon Myers 8ef7c4fd71
Merge remote-tracking branch 'origin' into add_events_class 2017-10-10 13:15:51 -05:00
Brandon Myers 593262da45
Switch tests to using save object to isolate event fields 2017-09-28 15:30:12 -05:00
Brandon Myers 06a6942f8f
Move unit test flag output to conftest 2017-09-28 14:23:15 -05:00
A Smith 1eb572ea2f Merge pull request #470 from mozilla/add_alert_tests_verify_rabbitmq
Add alert tests verify rabbitmq
2017-09-11 19:06:20 -05:00
Brandon Myers 7e17a91ea3
Remove es_client.close from teardown in tests 2017-09-08 18:29:11 -05:00
Brandon Myers f619132c23
Add checks for notify_mozdefbot and ircchannel in alert unit tests 2017-09-08 17:53:59 -05:00
Brandon Myers e252eff6a6
Add rabbitmq support to unit tests 2017-09-08 16:40:24 -05:00
Brandon Myers bb6abca379
Add mozdefhostname to default test event 2017-08-24 13:49:58 -04:00
Brandon Myers 326712ed52
Merge remote-tracking branch 'origin/master' into add_receivedtimestamp_tests 2017-08-23 16:13:05 -04:00
Brandon Myers 1d54c60a4c
Add receivedtimestamp to test events 2017-08-23 15:56:45 -04:00
Michal Purzynski 6c10f22190 Small fixups 2017-08-22 12:50:38 -07:00
Michal Purzynski e523a40c9a Add a new helper lambda to unit tests. Create timestamp based on now with some fields modified. 2017-08-21 16:10:24 -07:00
Brandon Myers 7260ab4cc3
Add default template to index creation in tests 2017-08-04 16:53:07 -05:00
Brandon Myers 2721bdc2cb
Add ability for docker-compose to start containers 2017-08-04 14:30:11 -05:00
Brandon Myers ad64804e32
Add travisci to project and stabalize tests 2017-07-05 16:37:41 -05:00
Brandon Myers 1b140271f8
Add pytest option to delete indexes before tests 2017-06-15 15:07:40 -05:00
Brandon Myers 9e734175e7
Add SNS SQS mq worker 2017-06-15 15:07:30 -05:00
Brandon Myers 0b3b9a841c
Update alerts alias name
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:05 -05:00
Brandon Myers 9887be37cd
Update specs to create dynamic event-previous index
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:05:05 -05:00
Brandon Myers 0b8d5b33af
Add alias for alerts index
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:36 -05:00
Brandon Myers ccebf7344d
Add unit test support for query should param
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:33 -05:00
Brandon Myers 0b5efec854
Update alert test case with master
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:22 -05:00
Brandon Myers 731da67eba
Fix timestamp related issues in tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:22 -05:00
Brandon Myers 44b5e8aa4a
Fix unit test suite current timestamp
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:03:22 -05:00
Brandon Myers c41c31c181
Fix up alert unit tests
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:02:11 -05:00
Brandon Myers d517fb1ad3
Improve some alert unit tests to better format
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:02:11 -05:00
Brandon Myers 63608e3bf6
Restrict unit test access from running on mozilla
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:02:10 -05:00
Brandon Myers 76174add7d
Update mq directory with search class
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:02:01 -05:00
Brandon Myers 7ccf36f75c
Update alert specs for new event format
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:24 -05:00
Brandon Myers 5631e494de
Add unit tests for some rest routes
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:23 -05:00
Brandon Myers 93d717dd95
Improve elasticsearch client and query models
Signed-off-by: Brandon Myers <bmyers@mozilla.com>
2017-06-15 15:01:17 -05:00