Skip to content

Commit 866f313

Browse files
committed
Remove deprecated gRPC Monitor service
1 parent 7afdc38 commit 866f313

File tree

20 files changed

+11
-1132
lines changed

20 files changed

+11
-1132
lines changed

Taskfile.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -198,15 +198,13 @@ tasks:
198198
desc: Compile protobuf definitions
199199
cmds:
200200
- '{{ 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'
201-
- '{{ 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'
202201
- '{{ 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'
203202
- '{{ 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'
204203

205204
protoc:docs:
206205
desc: Generate docs for protobuf definitions
207206
cmds:
208207
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,commands.md --proto_path=rpc ./rpc/cc/arduino/cli/commands/v1/*.proto'
209-
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,monitor.md --proto_path=rpc ./rpc/cc/arduino/cli/monitor/v1/*.proto'
210208
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,settings.md --proto_path=rpc ./rpc/cc/arduino/cli/settings/v1/*.proto'
211209
- '{{ default "protoc" .PROTOC_BINARY }} --doc_out=./docs/rpc --doc_opt=markdown,debug.md --proto_path=rpc ./rpc/cc/arduino/cli/debug/v1/*.proto'
212210

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/i18n"
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/arduino/go-paths-helper"
3938
"github.com/sirupsen/logrus"
@@ -106,9 +105,6 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
106105
VersionString: globals.VersionInfo.VersionString,
107106
})
108107

109-
// Register the monitors service
110-
srv_monitor.RegisterMonitorServiceServer(s, &daemon.MonitorService{})
111-
112108
// Register the settings service
113109
srv_settings.RegisterSettingsServiceServer(s, &daemon.SettingsService{})
114110

commands/daemon/monitor.go

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

0 commit comments

Comments
 (0)