Skip to content

Commit 96329c2

Browse files
committed
Remove unused AgentAppService
1 parent d433802 commit 96329c2

File tree

1 file changed

+0
-40
lines changed

1 file changed

+0
-40
lines changed

proto/viam/app/agent/v1/agent.proto

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -4,54 +4,14 @@ package viam.app.agent.v1;
44

55
import "google/protobuf/duration.proto";
66
import "google/protobuf/struct.proto";
7-
import "tagger/v1/tagger.proto";
87

98
option go_package = "go.viam.com/api/app/agent/v1";
109

11-
// AgentService is used by viam-agent to retrieve update info for subsystems.
12-
service AgentAppService {
13-
// GetAgentConfig is for retrieving config in App.
14-
rpc GetAgentConfig(GetAgentConfigRequest) returns (GetAgentConfigResponse);
15-
16-
// UpdateAgentConfig is for editing config in App.
17-
rpc UpdateAgentConfig(UpdateAgentConfigRequest) returns (UpdateAgentConfigResponse);
18-
}
19-
2010
service AgentDeviceService {
2111
// DeviceAgentConfig is for retrieving config by the on-device agent.
2212
rpc DeviceAgentConfig(DeviceAgentConfigRequest) returns (DeviceAgentConfigResponse);
2313
}
2414

25-
// App side
26-
message GetAgentConfigRequest {
27-
string id = 1;
28-
}
29-
30-
message GetAgentConfigResponse {
31-
AppAgentConfig agent_config = 1;
32-
}
33-
34-
message UpdateAgentConfigRequest {
35-
string id = 1;
36-
AppAgentConfig agent_config = 2;
37-
}
38-
39-
message UpdateAgentConfigResponse {
40-
AppAgentConfig agent_config = 1;
41-
}
42-
43-
message AppAgentConfig {
44-
map<string, AppSubsystemConfig> subsystem_configs = 1 [(tagger.v1.tags) = "bson:\"subsystem_configs\" json:\"subsystem_configs\""];
45-
}
46-
47-
message AppSubsystemConfig {
48-
string release_channel = 1 [(tagger.v1.tags) = "bson:\"release_channel\" json:\"release_channel\""];
49-
string pin_version = 2 [(tagger.v1.tags) = "bson:\"pin_version\" json:\"pin_version\""];
50-
string pin_url = 3 [(tagger.v1.tags) = "bson:\"pin_url\" json:\"pin_url\""];
51-
bool disable_subsystem = 4 [(tagger.v1.tags) = "bson:\"disable_subsystem\" json:\"disable_subsystem\""];
52-
google.protobuf.Struct attributes = 5 [(tagger.v1.tags) = "bson:\"attributes\" json:\"attributes\""];
53-
}
54-
5515
// Device side
5616
message DeviceAgentConfigRequest {
5717
// robot partID

0 commit comments

Comments
 (0)