Support service types in runtime

This commit is contained in:
Asim Aslam
2019-11-29 11:35:00 +00:00
parent 114bc1e18b
commit c3ed83dfba
12 changed files with 171 additions and 164 deletions

View File

@@ -17,12 +17,8 @@ message Service {
string version = 2;
// git url of the source
string source = 3;
// local path of the source
string path = 4;
// command to execute
repeated string exec = 5;
// service metadata
map<string,string> metadata = 6;
map<string,string> metadata = 4;
}
message CreateOptions {
@@ -42,13 +38,16 @@ message CreateRequest {
message CreateResponse {}
message ReadOptions {
// version of the service
string version = 2;
// service name
string service = 1;
// version of the service
string version = 2;
// type of service
string type = 3;
}
message ReadRequest {
string name = 1;
ReadOptions options = 2;
ReadOptions options = 1;
}
message ReadResponse {