Skip to content

Commit e6f3137

Browse files
committed
Remove deprecated gRPC Monitor service
1 parent 0d2207a commit e6f3137

File tree

22 files changed

+26
-1088
lines changed

22 files changed

+26
-1088
lines changed

Taskfile.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,15 +191,13 @@ tasks:
191191
desc: Compile protobuf definitions
192192
cmds:
193193
- '{{ 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'
194-
- '{{ 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'
195194
- '{{ 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'
196195
- '{{ 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'
197196

198197
protoc:docs:
199198
desc: Generate docs for protobuf definitions
200199
cmds:
201200
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,commands.md --proto_path=rpc ./rpc/cc/arduino/cli/commands/v1/*.proto'
202-
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,monitor.md --proto_path=rpc ./rpc/cc/arduino/cli/monitor/v1/*.proto'
203201
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,settings.md --proto_path=rpc ./rpc/cc/arduino/cli/settings/v1/*.proto'
204202
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,debug.md --proto_path=rpc ./rpc/cc/arduino/cli/debug/v1/*.proto'
205203

arduino/monitors/null.go

Lines changed: 0 additions & 70 deletions
This file was deleted.

arduino/monitors/serial.go

Lines changed: 0 additions & 65 deletions
This file was deleted.

arduino/monitors/types.go

Lines changed: 0 additions & 25 deletions
This file was deleted.

cli/daemon/daemon.go

Lines changed: 0 additions & 4 deletions
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"
@@ -91,9 +90,6 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
9190
VersionString: globals.VersionInfo.VersionString,
9291
})
9392

94-
// Register the monitors service
95-
srv_monitor.RegisterMonitorServiceServer(s, &daemon.MonitorService{})
96-
9793
// Register the settings service
9894
srv_settings.RegisterSettingsServiceServer(s, &daemon.SettingsService{})
9995

commands/daemon/monitor.go

Lines changed: 0 additions & 194 deletions
This file was deleted.

0 commit comments

Comments
 (0)