Blog changes + tests (#4)

* Blog changes + tests

* Fix build

* Fix

* Add back step

* Fix logger

* Fix test

* Typo

* Better test

* Changes to tests

* Update micro

* Fixing all them things

* Fixing even more things :))

* Bump micro

* Fix posts and tags by following micro changes

* Trying to pin workflow to correct micro version

* huh

* Bump go micro

* Add etcd replace

* Changing a bunch of things

* Denormalize to fix bug

* Fixes
This commit is contained in:
Janos Dobronszki
2020-10-15 15:09:59 +02:00
committed by GitHub
parent 4eb8479f9f
commit 6e8d7f4248
30 changed files with 1203 additions and 1449 deletions

26
tests/proto/tests.proto Normal file
View File

@@ -0,0 +1,26 @@
syntax = "proto3";
package go.micro.service.tests;
service Tests {
// enables registering an endpoint for callback to run tests
rpc Register(RegisterRequest) returns (RegisterResponse) {};
}
message Test {
// name of the test
string name = 1;
// service to call back
string service = 2;
// endpoint to call back
string endpoint = 3;
// how often to run the test in seconds
int64 interval = 4;
// TODO: data to include in the callback
}
message RegisterRequest {
repeated Test tests = 1;
}
message RegisterResponse {}