Commit graph

411 commits

Author SHA1 Message Date
b630fe2f2b
Fix Taskfile.yml to enable CGO for running with -race flag 2021-07-06 15:43:36 +02:00
c0c7dd349a
Update generated protobufs due to new generator version 2021-07-06 15:43:10 +02:00
f3c842de0b
Update dependencies
- replace gopacket with fork until patch is merged
2021-07-06 15:42:46 +02:00
bcfae35785
Add a DNS cache to make DNS mock behave more 'naturally' 2021-07-05 19:16:10 +02:00
41585abeef
Add a name generator 2021-07-05 19:15:27 +02:00
02560254a9
Update dependencies and pin versions 2021-07-05 19:15:00 +02:00
6fe2370844
Fix probable race conditions 2021-07-05 19:14:14 +02:00
64a02cacde
Fix linter issues 2021-06-21 19:54:14 +02:00
3098c09953
Update dependencies 2021-06-21 19:36:17 +02:00
1636bfc2cd
Add new go:build tags 2021-06-21 19:30:33 +02:00
10ef3a9104
Change deps to mod download instead of mod tidy 2021-05-24 16:04:18 +02:00
1fb42ae68c
Add sudo tag
ignore tests that require sudo during development time to speed up workflow
2021-05-24 13:17:00 +02:00
886ee47a52
Replace app context handling with signal.NotifyContext 2021-05-21 10:53:37 +02:00
62d89d37b5
Add HTTP health handler 2021-05-11 20:28:13 +02:00
499895fc71
Cleanup
- add more tests for orchestrator
- move some common code to netutils package
- unify and improve IP parsing
2021-05-10 07:48:09 +02:00
e2c30b0c3c
Update to multierr 1.7 and update usages 2021-05-07 11:53:14 +02:00
f639e03f99
Add orchestrator tests 2021-05-06 22:09:09 +02:00
7dcd480523
Test endpoint 2021-05-06 21:34:20 +02:00
8a285e1142
Cleanup
- allow checks to be read from STDIN
- reduce log level to debug for a lot of logs
2021-05-06 12:31:55 +02:00
6ec6561a93
Add check command to imctl 2021-05-05 22:09:36 +02:00
23d0dfc39d
Complete HTTP endpoint health checks
- allow basic validation rules and basic HTTP methods
- add some basic checks to config
2021-05-05 20:33:27 +02:00
4a403a54a4
Ignore generated files in linter 2021-05-05 15:33:15 +02:00
780b36133c
Cleanup tests 2021-05-04 16:54:30 +02:00
51e0a80531
Disable funlen linter for tests 2021-05-04 16:52:42 +02:00
b7510920e2
Extend grammar to support raw strings 2021-05-04 08:17:00 +02:00
76c15d0770
Extend grammar to support check rules 2021-05-03 16:03:09 +02:00
2b56eeb0dd
Add middleware to automatically interpret context errors 2021-05-03 14:35:19 +02:00
1b8245f2bf
Rework checker 2021-05-03 13:11:24 +02:00
bb5d87fdf0
Extend editorconfig to enforce import style 2021-05-03 13:00:55 +02:00
2220c17be3
Rework checker API
- migrate gRPC API to official health check
- add HTTP endpoint implementation for checker
- add some gRPC middlewares
2021-05-03 08:27:14 +02:00
806ba20f8a
Remove unnecessary proto import 2021-05-03 08:16:22 +02:00
fbba072e76
Update auto-generated code and server implementation 2021-05-02 17:57:03 +02:00
8e6a931fd7
Move to grpc default health service definition 2021-05-02 17:34:29 +02:00
12da983bfc
Extend grammar to support modules 2021-05-02 12:31:31 +02:00
8eb0bdbb54
Fix grammar issue 2021-04-30 15:47:43 +02:00
c366e7ba50
Fix grammar for floats and arrows 2021-04-29 19:56:12 +02:00
7c7ae50c16
Add tests for http mock handler 2021-04-29 18:04:38 +02:00
1f1896322a
disable funlen linter for tests 2021-04-29 15:05:56 +02:00
34db54a267
Add tests for router behavior 2021-04-28 18:29:25 +02:00
5a61184f4d
Add tests for request filter 2021-04-28 17:48:48 +02:00
9d4bd8d873
Refactored http_mock to use new routing rule grammar
- removed old regex router
- refactored tests to use new simplified routing rules
- updated configs
- make router behavior and filters way easier to test
2021-04-28 17:03:04 +02:00
490dacaefb
Fix caller offset in logger 2021-04-28 17:03:04 +02:00
9f53b01e49
Restructure config and setup of handlers
- move initialization and dependency resolving to registration of protocol handlers
- replace file opening in HTTP mock with fs.FS - depends on having a FS that returns an io.ReadSeeker - could be worked around in the future
- update config for new routing rules to see how they look like in production
- extend grammar tests
2021-04-28 17:03:04 +02:00
45a6d11d5b
Extend grammar and test suite 2021-04-28 17:03:04 +02:00
8d77dd0669
Declare build dependencies 2021-04-28 17:03:04 +02:00
27c01a1918
Add basic grammar 2021-04-28 17:02:54 +02:00
dc59524d24
Return ConsumerKey when recording is started 2021-04-28 11:31:25 +02:00
e6fc96aa14 Get rid of reflect.DeepEqual
- add security scanners
- extend test suite
2021-04-24 14:52:34 +00:00
5ad18c44e3 Remove obsolete tls interceptor 2021-04-23 09:55:06 +00:00
778d1fb49c Add tests for regex router
- apply linter findings
- make regex router testable
- add convenience methods
- add in memory listener
2021-04-23 09:55:06 +00:00