Commit graph

109 commits

Author SHA1 Message Date
Peter Kurfer 87e1e21a39
chore(ci): lint files in Agola
All checks were successful
agola/api/Lint The run finished successfully
2022-09-26 15:00:51 +02:00
Peter 190d8e2cc1 Add LICENSE 2022-04-26 17:56:25 +00:00
Peter a65ee4f207
Fix buf lint stage 2022-01-25 20:04:13 +01:00
Peter bc5fad696e Merge commit '580d2995be07ca1dd4839c3e9214ee881b98bb3e' into 45-add-api-to-restart-handlers 2022-01-25 16:25:53 +01:00
Peter 226c480458 Add endpoint API to control running endpoint groups 2022-01-25 16:00:42 +01:00
Peter 505b06f37b Add support for DHCP to audit stream 2022-01-12 15:59:07 +01:00
Peter d742b08c21 Introduce profiling API
- migrate to buf v1 format
- remove obsolete options as they can be added from buf.gen.yaml
2021-11-17 16:42:31 +01:00
Peter e7e9e82667 Introduce DNS-over-HTTPS and HTTP2 support
- add more advanced multiplexing to match on HTTP request properties
- introduce custom DNS client to cover traditional UDP/TCP and HTTPS transport with the same client
- add HTTP2 check module and server functionality where applicable
2021-10-22 06:58:22 +00:00
Peter 6a5ac9b780 Merge branch 'renovate/configure' into 'main'
Configure Renovate

See merge request inetmock/api!1
2021-10-13 08:26:12 +00:00
Renovate Bot d9d3c9f0fb Add renovate.json 2021-10-13 08:11:14 +00:00
Peter 5cad2aa156 Include PPROF handler to improve observability
Closes #33
2021-08-11 07:33:32 +00:00
Peter 3698421974 Remove unnecessary proto import 2021-05-03 08:16:22 +02:00
Peter 74f521c653 Move to grpc default health service definition 2021-05-02 17:34:29 +02:00
Peter f3416157dd Return ConsumerKey when recording is started 2021-04-28 11:31:25 +02:00
Peter 9fe203ce21 Concise StopPCAPFileRecord gRPC method
- fix logging issue in test logger
- adopt change in all components
- update dependencies
2021-03-04 18:19:28 +01:00
Peter 37821520b6 Update Go package in protobuf files 2021-02-22 10:59:40 +01:00
Peter 84b81dc99b Merge commit '231f06b9a1f3cf357627b4913e7a04b69403d010' into update-api-definition 2021-02-22 08:29:47 +01:00
Peter fe0a378cdc
Add buf linting anf fix linter issues 2021-02-21 17:17:43 +01:00
Peter 27cd7f5cb9
Format protobuf code 2021-02-21 10:09:35 +01:00
Peter 24ae0820e8 Rename gRPC PCAP entities 2021-02-19 13:59:14 +01:00
Peter e30a1299eb Complete CLI integration 2021-02-17 15:39:06 +01:00
Peter d01a9dec69 Initial draft of PCAP capturing 2021-02-16 16:50:23 +01:00
Peter 4504b96051 Fix wrong import path in proto 2021-02-15 17:06:50 +01:00
Peter 80fa8f45b9 Merge commit '9a3c410ee8dfe2a380dc1ab36a5778e2c0f7049b' as 'api' 2021-02-15 16:48:06 +01:00
Peter 795f9c0b83
Move existing protos to external repo 2021-02-15 16:47:37 +01:00
Peter 08b8eb82f5 Merge subtree 2021-02-15 08:51:54 +01:00
Peter 67b190d238 Merge commit 'f057ecd724f3b2ff84c69304e34c2ec3006402ac' as 'api' 2021-02-15 08:50:51 +01:00
Peter f8c59ddd48
tmp 2021-02-15 08:50:46 +01:00
Peter 3fc1eaf0df
Setup project and implement first draft of audit file reader 2021-02-15 08:46:19 +01:00
Peter e6959915c6
Restructure and extend protos for easier usage 2021-02-15 08:45:34 +01:00
Peter cdcce2ec26
Initial commit 2021-02-13 18:20:57 +01:00
Peter ca41423aa6 Initial commit 2021-02-13 13:59:29 +00:00
Peter 1618dc317f
Move docs to deploy stage 2021-02-10 22:07:33 +01:00
Peter d70ba748f5 Introduce Lifecycle for every endpoint and manage listeners in the renamed Orchestrator
- merge packages to get a more concise layout because plugins are no more and therefore there's not a lot to be exported
- fix test logger
- rework config parsing to be easier and more transparent
- remove unnecessary APIs because dynamic endpoint handling is rather a won't implement
2021-02-10 20:26:45 +00:00
Peter dd4b191abb Merge branch '10-handler-event-stream' into 'master'
Resolve "Handler Event Stream"

Closes #13 and #10

See merge request inetmock/inetmock!12
2021-01-27 12:53:22 +00:00
Peter 2d97beaf70
Refactor gRPC sink
- rename it to GenericSink
- add tests
- update dependencies
- improve test step to always get a report
- add NoOpSink for tests
2021-01-27 13:31:51 +01:00
Peter 85b0123711
Update container config 2021-01-27 11:29:10 +01:00
Peter 55dfcfabab
Ship default CA with container build 2021-01-27 11:05:06 +01:00
Peter c97207e854
Update builtin CA 2021-01-27 09:28:51 +01:00
Peter 2c02b0c941
Add basic metric sink 2021-01-26 19:00:46 +01:00
Peter cc72595398
Subscribe sinks with a context to automatically remove them when context is canceled 2021-01-26 18:50:53 +01:00
Peter 6d2737b501
Move HTTPS handling to http_mock handler 2021-01-26 18:42:07 +01:00
Peter 63a6516d99
Added audit stream to HTTP proxy 2021-01-26 18:20:52 +01:00
Peter 03f3ae4173
Enable gRPC reflection to support gRPCurl and gRPCui 2021-01-26 18:20:52 +01:00
Peter af0a7a2375
Capture source and destination addresses as byte arrays
- update necessary tests

This removes a lot of complexity because IPv4 and IPv6 addresses can be handled the same way.
To distinguish between them it's enough to take their length into account.
Parsing should be straight forward in any language.
2021-01-26 18:20:51 +01:00
Peter 66f2aab9af
Add commands to list sinks and to read a protocol file to JSON 2021-01-26 18:20:51 +01:00
Peter a76d1d1c04
Cleanup in server app 2021-01-26 18:20:50 +01:00
Peter 0138b57782
Merged CLI and server app init 2021-01-26 18:19:54 +01:00
Peter 37c87adaf3
Apply comments 2021-01-26 18:19:54 +01:00
Peter 38293bb8c4
Remove caching for now 2021-01-26 18:19:54 +01:00