-
Notifications
You must be signed in to change notification settings - Fork 75
/
scheduler.proto
150 lines (118 loc) · 3.77 KB
/
scheduler.proto
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
syntax = "proto3";
package scheduler;
service Scheduler {
rpc getBootstrap (getBootstrapRequest) returns (HttpReply) {}
rpc getTasksById (getTasksByIdRequest) returns (HttpReply) {}
rpc postTaskById (postTaskByIdRequest) returns (HttpReply) {}
rpc workflowsGetGraphs (workflowsGetGraphsRequest) returns (HttpReply) {}
rpc workflowsGetGraphsByName (workflowsGetGraphsByNameRequest) returns (HttpReply) {}
rpc workflowsPutGraphs (workflowsPutGraphsRequest) returns (HttpReply) {}
rpc workflowsDeleteGraphsByName (workflowsDeleteGraphsByNameRequest) returns (HttpReply) {}
rpc workflowsGet (workflowsGetRequest) returns (HttpReply) {}
rpc workflowsPost (workflowsPostRequest) returns (HttpReply) {}
rpc workflowsGetByInstanceId (workflowsGetByInstanceIdRequest) returns (HttpReply) {}
rpc workflowsAction (workflowsActionRequest) returns (HttpReply) {}
rpc workflowsDeleteByInstanceId (workflowsDeleteByInstanceIdRequest) returns (HttpReply) {}
rpc workflowsPutTask (workflowsPutTaskRequest) returns (HttpReply) {}
rpc workflowsGetAllTasks (workflowsGetAllTasksRequest) returns (HttpReply) {}
rpc workflowsGetTasksByName (workflowsGetTasksByNameRequest) returns (HttpReply) {}
rpc workflowsDeleteTasksByName (workflowsDeleteTasksByNameRequest) returns (HttpReply) {}
rpc templatesLibGet (templatesLibGetRequest) returns (HttpReply) {}
rpc templatesLibPut (templatesLibPutRequest) returns (HttpReply) {}
rpc templatesLibDelete (templatesLibDeleteRequest) returns (HttpReply) {}
rpc templatesMetaGet (templatesMetaGetRequest) returns (HttpReply) {}
rpc templatesMetaGetByName (templatesMetaGetByNameRequest) returns (HttpReply) {}
rpc profilesGetLibByName (profilesGetLibByNameRequest) returns (HttpReply) {}
rpc profilesGetMetadata (profilesGetMetadataRequest) returns (HttpReply) {}
rpc profilesGetMetadataByName (profilesGetMetadataByNameRequest) returns (HttpReply) {}
rpc profilesPutLibByName (profilesPutLibByNameRequest) returns (HttpReply) {}
}
message getBootstrapRequest {
repeated string scope = 1;
string ipAddress = 2;
string macAddress = 3;
}
message getTasksByIdRequest {
string identifier = 1;
}
message postTaskByIdRequest {
string identifier = 1;
string config = 2;
}
message workflowsGetGraphsRequest {
}
message workflowsGetGraphsByNameRequest {
string injectableName = 1;
repeated string scope = 2;
}
message workflowsPutGraphsRequest {
string body = 1;
}
message workflowsDeleteGraphsByNameRequest {
string injectableName = 1;
}
message workflowsGetRequest {
string query = 1;
}
message workflowsPostRequest {
string nodeId = 1;
string configuration = 2;
}
message workflowsGetByInstanceIdRequest {
string identifier = 1;
}
message workflowsActionRequest {
string command = 1;
string identifier = 2;
}
message workflowsDeleteByInstanceIdRequest {
string identifier = 1;
}
message workflowsPutTaskRequest {
string body = 1;
}
message workflowsGetAllTasksRequest {
}
message workflowsGetTasksByNameRequest {
string injectableName = 1;
}
message workflowsDeleteTasksByNameRequest {
string injectableName = 1;
}
message HttpReply {
string response = 1;
}
message templatesLibGetRequest {
string name = 1;
string scope = 2;
}
message templatesLibPutRequest {
string name = 1;
string req = 2;
string scope = 3;
}
message templatesMetaGetRequest {
}
message templatesMetaGetByNameRequest {
string name = 1;
string scope = 2;
}
message profilesGetLibByNameRequest {
string name = 1;
string scope = 2;
}
message profilesGetMetadataRequest {
}
message profilesGetMetadataByNameRequest {
string name = 1;
string scope = 3;
}
message profilesPutLibByNameRequest{
string name = 1;
string req = 2;
string scope = 3;
}
message templatesLibDeleteRequest {
string name = 1;
string scope = 2;
}