Skip to content

Commit aaad499

Browse files
committed
Remove deprecated gRPC Monitor service
1 parent 39d9b69 commit aaad499

23 files changed

+55
-1113
lines changed

Diff for: Taskfile.yml

-2
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,13 @@ tasks:
167167
desc: Compile protobuf definitions
168168
cmds:
169169
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/commands/v1/*.proto'
170-
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/monitor/v1/*.proto'
171170
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/settings/v1/*.proto'
172171
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=./rpc --go_opt=paths=source_relative --go-grpc_out=./rpc --go-grpc_opt=paths=source_relative ./rpc/cc/arduino/cli/debug/v1/*.proto'
173172

174173
protoc:docs:
175174
desc: Generate docs for protobuf definitions
176175
cmds:
177176
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,commands.md --proto_path=rpc ./rpc/cc/arduino/cli/commands/v1/*.proto'
178-
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,monitor.md --proto_path=rpc ./rpc/cc/arduino/cli/monitor/v1/*.proto'
179177
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,settings.md --proto_path=rpc ./rpc/cc/arduino/cli/settings/v1/*.proto'
180178
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,debug.md --proto_path=rpc ./rpc/cc/arduino/cli/debug/v1/*.proto'
181179

Diff for: arduino/monitors/null.go

-70
This file was deleted.

Diff for: arduino/monitors/serial.go

-65
This file was deleted.

Diff for: arduino/monitors/types.go

-25
This file was deleted.

Diff for: cli/daemon/daemon.go

-4
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ import (
3333
"github.com/arduino/arduino-cli/metrics"
3434
srv_commands "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/commands/v1"
3535
srv_debug "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/debug/v1"
36-
srv_monitor "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/monitor/v1"
3736
srv_settings "github.com/arduino/arduino-cli/rpc/cc/arduino/cli/settings/v1"
3837
"github.com/segmentio/stats/v4"
3938
"github.com/sirupsen/logrus"
@@ -89,9 +88,6 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
8988
VersionString: globals.VersionInfo.VersionString,
9089
})
9190

92-
// Register the monitors service
93-
srv_monitor.RegisterMonitorServiceServer(s, &daemon.MonitorService{})
94-
9591
// Register the settings service
9692
srv_settings.RegisterSettingsServiceServer(s, &daemon.SettingsService{})
9793

Diff for: commands/daemon/monitor.go

-194
This file was deleted.

0 commit comments

Comments
 (0)