Files
services/tests/proto/tests.proto
Janos Dobronszki 6e8d7f4248 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
2020-10-15 15:09:59 +02:00

27 lines
534 B
Protocol Buffer

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 {}