Unverified Commit 23e2a9d7 authored by Massimiliano Pippi's avatar Massimiliano Pippi Committed by GitHub

Add gRPC interface to CLI settings (#521)

* define proto messages and service

* run protoc on settings interface, regenerate code

* add service implementation and tests

* remove test leftovers
parent d4741767
......@@ -6,6 +6,7 @@ tasks:
cmds:
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=plugins=grpc,paths=source_relative:rpc ./rpc/commands/*.proto'
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=plugins=grpc,paths=source_relative:rpc ./rpc/monitor/*.proto'
- '{{ default "protoc" .PROTOC_BINARY }} --proto_path=rpc --go_out=plugins=grpc,paths=source_relative:rpc ./rpc/settings/*.proto'
build:
desc: Build the project
......
......@@ -115,6 +115,7 @@ func TestLoadSketchFolderSymlink(t *testing.T) {
symlinkSketchPath := filepath.Join("testdata", t.Name())
srcSketchPath := t.Name() + "Src"
os.Symlink(srcSketchPath, symlinkSketchPath)
defer os.Remove(symlinkSketchPath)
mainFilePath := filepath.Join(symlinkSketchPath, t.Name()+".ino")
s, err := builder.SketchLoad(symlinkSketchPath, "")
require.Nil(t, err)
......
......@@ -30,6 +30,7 @@ import (
"github.com/arduino/arduino-cli/commands/daemon"
srv_commands "github.com/arduino/arduino-cli/rpc/commands"
srv_monitor "github.com/arduino/arduino-cli/rpc/monitor"
srv_settings "github.com/arduino/arduino-cli/rpc/settings"
"github.com/sirupsen/logrus"
"github.com/spf13/cobra"
"github.com/spf13/viper"
......@@ -73,6 +74,9 @@ func runDaemonCommand(cmd *cobra.Command, args []string) {
// register the monitors service
srv_monitor.RegisterMonitorServer(s, &daemon.MonitorService{})
// register the settings service
srv_settings.RegisterSettingsServer(s, &daemon.SettingsService{})
if !daemonize {
// When parent process ends terminate also the daemon
go func() {
......
// This file is part of arduino-cli.
//
// Copyright 2019 ARDUINO SA (http://www.arduino.cc/)
//
// This software is released under the GNU General Public License version 3,
// which covers the main part of arduino-cli.
// The terms of this license can be found at:
// https://www.gnu.org/licenses/gpl-3.0.en.html
//
// You can be released from the requirements of the above licenses by purchasing
// a commercial license. Buying such a license is mandatory if you want to
// modify or otherwise use the software for commercial activities involving the
// Arduino software without disclosing the source code of your own applications.
// To purchase a commercial license, send an email to license@arduino.cc.
package daemon
import (
"context"
"encoding/json"
"errors"
"fmt"
rpc "github.com/arduino/arduino-cli/rpc/settings"
"github.com/spf13/viper"
)
// SettingsService implements the `Settings` service
type SettingsService struct{}
// GetAll returns a message with a string field containing all the settings
// currently in use, marshalled in JSON format.
func (s *SettingsService) GetAll(ctx context.Context, req *rpc.GetAllRequest) (*rpc.RawData, error) {
b, err := json.Marshal(viper.AllSettings())
if err == nil {
return &rpc.RawData{
JsonData: string(b),
}, nil
}
return nil, err
}
// Merge applies multiple settings values at once.
func (s *SettingsService) Merge(ctx context.Context, req *rpc.RawData) (*rpc.MergeResponse, error) {
var toMerge map[string]interface{}
if err := json.Unmarshal([]byte(req.GetJsonData()), &toMerge); err != nil {
return nil, err
}
if err := viper.MergeConfigMap(toMerge); err != nil {
return nil, err
}
return &rpc.MergeResponse{}, nil
}
// GetValue returns a settings value given its key. If the key is not present
// an error will be returned, so that we distinguish empty settings from missing
// ones.
func (s *SettingsService) GetValue(ctx context.Context, req *rpc.GetValueRequest) (*rpc.Value, error) {
key := req.GetKey()
value := &rpc.Value{}
fmt.Println(viper.AllKeys())
if !viper.InConfig(key) {
return nil, errors.New("key not found in settings")
}
b, err := json.Marshal(viper.Get(key))
if err == nil {
value.Key = key
value.JsonData = string(b)
}
return value, err
}
// SetValue updates or set a value for a certain key.
func (s *SettingsService) SetValue(ctx context.Context, val *rpc.Value) (*rpc.SetValueResponse, error) {
key := val.GetKey()
var value interface{}
err := json.Unmarshal([]byte(val.GetJsonData()), &value)
if err == nil {
viper.Set(key, value)
}
return &rpc.SetValueResponse{}, err
}
// This file is part of arduino-cli.
//
// Copyright 2019 ARDUINO SA (http://www.arduino.cc/)
//
// This software is released under the GNU General Public License version 3,
// which covers the main part of arduino-cli.
// The terms of this license can be found at:
// https://www.gnu.org/licenses/gpl-3.0.en.html
//
// You can be released from the requirements of the above licenses by purchasing
// a commercial license. Buying such a license is mandatory if you want to
// modify or otherwise use the software for commercial activities involving the
// Arduino software without disclosing the source code of your own applications.
// To purchase a commercial license, send an email to license@arduino.cc.
package daemon
import (
"context"
"encoding/json"
"fmt"
"testing"
"github.com/spf13/viper"
"github.com/arduino/arduino-cli/configuration"
rpc "github.com/arduino/arduino-cli/rpc/settings"
"github.com/stretchr/testify/require"
)
var svc = SettingsService{}
func init() {
configuration.Init("testdata")
}
func reset() {
viper.Reset()
configuration.Init("testdata")
}
func TestGetAll(t *testing.T) {
resp, err := svc.GetAll(context.Background(), &rpc.GetAllRequest{})
require.Nil(t, err)
content, err := json.Marshal(viper.AllSettings())
require.Nil(t, err)
require.Equal(t, string(content), resp.GetJsonData())
}
func TestMerge(t *testing.T) {
bulkSettings := `{"foo": "bar", "daemon":{"port":"420"}}`
_, err := svc.Merge(context.Background(), &rpc.RawData{JsonData: bulkSettings})
require.Nil(t, err)
fmt.Println(viper.AllSettings())
require.Equal(t, "420", viper.GetString("daemon.port"))
require.Equal(t, "bar", viper.GetString("foo"))
reset()
}
func TestGetValue(t *testing.T) {
key := &rpc.GetValueRequest{Key: "daemon"}
resp, err := svc.GetValue(context.Background(), key)
require.Nil(t, err)
require.Equal(t, `{"port":"50051"}`, resp.GetJsonData())
}
func TestGetValueNotFound(t *testing.T) {
key := &rpc.GetValueRequest{Key: "DOESNTEXIST"}
_, err := svc.GetValue(context.Background(), key)
require.NotNil(t, err)
require.Equal(t, `key not found in settings`, err.Error())
}
func TestSetValue(t *testing.T) {
val := &rpc.Value{
Key: "foo",
JsonData: `"bar"`,
}
_, err := svc.SetValue(context.Background(), val)
require.Nil(t, err)
require.Equal(t, "bar", viper.GetString("foo"))
}
board_manager:
additional_urls:
- http://foobar.com
- http://example.com
daemon:
port: "50051"
directories:
data: /home/massi/.arduino15
downloads: /home/massi/.arduino15/staging
logging:
file: ""
format: text
level: info
......@@ -682,46 +682,46 @@ func init() {
func init() { proto.RegisterFile("commands/board.proto", fileDescriptor_0882eeddaa6507ab) }
var fileDescriptor_0882eeddaa6507ab = []byte{
// 649 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x6e, 0x13, 0x3d,
0x10, 0xd5, 0x7e, 0x6d, 0xf3, 0x25, 0x93, 0xa4, 0xa0, 0x55, 0x81, 0xa8, 0x5c, 0xd0, 0x5a, 0x14,
0x55, 0x42, 0x4d, 0x24, 0xb8, 0xe0, 0x82, 0x1f, 0xa9, 0x05, 0x21, 0x15, 0x05, 0x28, 0x56, 0x41,
0x08, 0x09, 0x05, 0xc7, 0xeb, 0x26, 0x56, 0x36, 0xeb, 0x8d, 0xed, 0xf4, 0x15, 0x78, 0x18, 0x6e,
0x79, 0x02, 0x9e, 0x0c, 0xff, 0x2e, 0x5b, 0x89, 0x50, 0x09, 0x7a, 0x15, 0xcf, 0xc9, 0xf1, 0xf8,
0xcc, 0xcc, 0x99, 0x85, 0x2d, 0x2a, 0xe6, 0x73, 0x52, 0x64, 0x6a, 0x30, 0x16, 0x44, 0x66, 0xfd,
0x52, 0x0a, 0x2d, 0xd2, 0x5b, 0x94, 0xf6, 0x4d, 0xb4, 0xe4, 0x85, 0xe8, 0xd3, 0x9c, 0xf7, 0x23,
0x69, 0xfb, 0x46, 0x45, 0xb7, 0x07, 0x51, 0x78, 0x3e, 0xca, 0xe0, 0xda, 0x91, 0xbd, 0xfe, 0x82,
0x69, 0xc2, 0x73, 0x85, 0xd9, 0x22, 0x7d, 0x0a, 0x4d, 0x5e, 0x28, 0x4d, 0x0a, 0xca, 0x7a, 0xc9,
0x4e, 0xb2, 0xdf, 0x7e, 0xb0, 0xdb, 0x5f, 0x91, 0xb5, 0x7f, 0x1c, 0x88, 0xb8, 0xba, 0x92, 0xa6,
0xb0, 0x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xde, 0x96, 0xcf, 0xa0, 0xe1, 0xa6, 0x17, 0x97, 0xf5, 0xde, 0x4a, 0xad, 0x55, 0x89, 0xc7,
0x9a, 0xcd, 0x71, 0xb8, 0x85, 0x16, 0x61, 0x52, 0xf6, 0x8f, 0xc3, 0x3c, 0xbf, 0x02, 0x83, 0x59,
0x0f, 0x79, 0x8b, 0x10, 0x39, 0x51, 0xa6, 0xae, 0x35, 0xe7, 0x21, 0x07, 0x1d, 0x1a, 0x04, 0xe1,
0xf0, 0x75, 0xab, 0x9e, 0x34, 0x1d, 0xff, 0x55, 0x46, 0xf2, 0x57, 0x65, 0x3c, 0xaa, 0x8d, 0xd0,
0xfe, 0xf1, 0xdb, 0x15, 0x34, 0xd8, 0xcb, 0x77, 0x47, 0x6f, 0xe2, 0x27, 0xd4, 0x9e, 0x8f, 0x0e,
0x3e, 0xdd, 0x9f, 0x70, 0x3d, 0x5d, 0x8e, 0xed, 0x0b, 0x83, 0xf0, 0x62, 0xfc, 0x3d, 0x30, 0x2f,
0x0f, 0x64, 0x49, 0x07, 0xf1, 0xf5, 0x71, 0xc3, 0x75, 0xff, 0xe1, 0xcf, 0x00, 0x00, 0x00, 0xff,
0xff, 0x88, 0xae, 0x33, 0x62, 0x4f, 0x06, 0x00, 0x00,
// 656 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x54, 0xdd, 0x6e, 0x13, 0x3b,
0x10, 0xd6, 0x36, 0x69, 0x4e, 0x32, 0x49, 0x7a, 0x8e, 0xac, 0x9e, 0x73, 0x56, 0xe5, 0x82, 0x74,
0x45, 0x51, 0x24, 0xd4, 0x44, 0x2a, 0x17, 0x5c, 0xf0, 0x23, 0xb5, 0x54, 0x48, 0x45, 0x01, 0x8a,
0x55, 0x10, 0x42, 0x42, 0x8b, 0xe3, 0x75, 0x13, 0x2b, 0x9b, 0xf5, 0xc6, 0x76, 0xfa, 0x0a, 0x3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4, 0xf0, 0xe3, 0x83, 0x19, 0xd7, 0xf3, 0xf5, 0xd4, 0x54,
0x18, 0xfb, 0x8a, 0xe1, 0x7b, 0x48, 0x73, 0x3e, 0x96, 0x25, 0x1d, 0x87, 0xea, 0xd3, 0x96, 0x9d,
0xfe, 0xc3, 0x1f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x88, 0xae, 0x33, 0x62, 0x4f, 0x06, 0x00, 0x00,
}
This diff is collapsed.
......@@ -194,22 +194,22 @@ func init() {
func init() { proto.RegisterFile("commands/common.proto", fileDescriptor_0b273be58978a133) }
var fileDescriptor_0b273be58978a133 = []byte{
// 259 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x5c, 0x90, 0xcf, 0x4a, 0xc4, 0x30,
0x18, 0xc4, 0xe9, 0x76, 0x57, 0xb7, 0x1f, 0x22, 0x4b, 0x40, 0x0c, 0xa2, 0x22, 0x3d, 0x09, 0xb2,
0xed, 0xc1, 0x37, 0x10, 0x2f, 0xde, 0xa4, 0x7a, 0xda, 0x8b, 0xa4, 0x49, 0xac, 0xc1, 0x34, 0x29,
0x49, 0x8a, 0xe0, 0x7b, 0xf8, 0xbe, 0x7e, 0x0d, 0x8d, 0x7f, 0xf6, 0x94, 0xc9, 0xcc, 0xc7, 0x30,
0xfc, 0xe0, 0x84, 0xdb, 0xbe, 0x67, 0x46, 0xf8, 0x7a, 0x12, 0xd6, 0x54, 0x83, 0xb3, 0xc1, 0x92,
0x53, 0xce, 0x2b, 0xe6, 0xc4, 0xa8, 0x8c, 0xad, 0xb8, 0x56, 0x55, 0xba, 0x2a, 0xcf, 0x60, 0xfd,
0x60, 0x7c, 0x60, 0x86, 0x4b, 0x72, 0x0c, 0x0b, 0x25, 0x68, 0x76, 0x95, 0x5d, 0xaf, 0x1a, 0x54,
0xe5, 0x57, 0x06, 0x9b, 0x7b, 0xfb, 0x61, 0xb4, 0x65, 0xe2, 0xd1, 0xd9, 0xce, 0x49, 0xef, 0xc9,
0x06, 0xf2, 0xd1, 0xe9, 0x78, 0x55, 0x34, 0x93, 0x24, 0x04, 0x96, 0xaf, 0x4a, 0x4b, 0xba, 0x88,
0x56, 0xd4, 0xe4, 0x02, 0x20, 0xd8, 0xc0, 0xf4, 0x8b, 0x57, 0x9f, 0x92, 0xe6, 0x98, 0xe4, 0x4d,
0x11, 0x9d, 0x27, 0x34, 0xc8, 0x25, 0x80, 0x98, 0x8b, 0xa5, 0xa0, 0xcb, 0x18, 0xff, 0x71, 0xc8,
0x39, 0x14, 0xb8, 0x70, 0xd0, 0x32, 0x60, 0xbc, 0xc2, 0x78, 0xdd, 0xfc, 0x1a, 0xe5, 0x0e, 0x8e,
0x9e, 0x99, 0x7f, 0xff, 0x99, 0x84, 0x03, 0x0c, 0xeb, 0xe5, 0xbc, 0x29, 0x6a, 0x42, 0xe1, 0xb0,
0xc7, 0x8c, 0x75, 0x69, 0x57, 0xfa, 0xfe, 0xef, 0xce, 0xf7, 0xba, 0xef, 0xb6, 0xbb, 0x9b, 0x4e,
0x85, 0xb7, 0xb1, 0x9d, 0x10, 0xd5, 0x33, 0xb2, 0xf4, 0x6e, 0x11, 0x5d, 0xed, 0x06, 0x5e, 0x27,
0x7c, 0xed, 0x41, 0xc4, 0x7b, 0xfb, 0x1d, 0x00, 0x00, 0xff, 0xff, 0x77, 0x28, 0x70, 0xdd, 0x77,
0x01, 0x00, 0x00,
// 263 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xcd, 0x4a, 0xc4, 0x30,
0x14, 0x85, 0xe9, 0xcf, 0xe8, 0xf4, 0x22, 0x32, 0x04, 0xc4, 0x20, 0x2a, 0xa5, 0xab, 0x82, 0x4c,
0xbb, 0xf0, 0x0d, 0xc4, 0x8d, 0x3b, 0xa9, 0xae, 0x66, 0x23, 0x99, 0x24, 0xd6,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0x9f, 0x11, 0xb5, 0x0b, 0xb2, 0xf8, 0x6e, 0xb9, 0x56, 0xad,
0x1d, 0x79, 0x1b, 0xf1, 0xed, 0x8f, 0x02, 0xde, 0xdb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77,
0x28, 0x70, 0xdd, 0x77, 0x01, 0x00, 0x00,
}
......@@ -218,30 +218,30 @@ func init() {
func init() { proto.RegisterFile("commands/compile.proto", fileDescriptor_86bc582849c76c3d) }
var fileDescriptor_86bc582849c76c3d = []byte{
// 388 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x92, 0x5f, 0x6b, 0xdb, 0x30,
0x14, 0xc5, 0xc9, 0x7f, 0xfb, 0x26, 0xcb, 0x40, 0x6c, 0x99, 0x08, 0xdb, 0xc8, 0xf2, 0x30, 0x02,
0x23, 0x36, 0x6c, 0xcf, 0x7b, 0x59, 0x60, 0x50, 0xfa, 0x12, 0xdc, 0xb7, 0xbe, 0x14, 0x5b, 0x56,
0x63, 0xb5, 0xb1, 0xe4, 0x48, 0x72, 0xd2, 0x6f, 0xd9, 0xaf, 0x54, 0xf9, 0x3a, 0x4e, 0x42, 0xa0,
0x4f, 0xd6, 0xfd, 0x9d, 0xa3, 0x23, 0x59, 0xf7, 0xc2, 0x84, 0xa9, 0x3c, 0x8f, 0x65, 0x6a, 0x42,
0xb7, 0x28, 0xc4, 0x96, 0x07, 0x85, 0x56, 0x56, 0x91, 0x2f, 0x8c, 0x05, 0xb1, 0x4e, 0x4b, 0x21,
0x55, 0xc0, 0xb6, 0x22, 0x68, 0x6c, 0xd3, 0xcf, 0x97, 0x1b, 0x72, 0x25, 0x6b, 0xff, 0xfc, 0xb5,
0x03, 0xb0, 0xaa, 0x13, 0x22, 0xbe, 0x23, 0x7f, 0xc1, 0x13, 0xd2, 0xd8, 0x58, 0x32, 0x4e, 0x5b,
0xb3, 0xd6, 0x62, 0x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0xa6, 0x20, 0xdf,
0x00, 0x54, 0x69, 0x1f, 0x8c, 0xd5, 0x3c, 0xce, 0xb1, 0xa7, 0xa3, 0xc8, 0x77, 0xe4, 0x0e, 0x41,
0x25, 0x73, 0xad, 0x1b, 0xb9, 0x5d, 0xcb, 0x8e, 0xd4, 0xf2, 0xbf, 0xe5, 0xfd, 0xaf, 0x8d, 0xb0,
0x59, 0x99, 0x54, 0x6d, 0x0f, 0x8f, 0x63, 0xd0, 0x7c, 0x97, 0x6e, 0x1c, 0x42, 0x5d, 0xb0, 0xb0,
0x19, 0x89, 0xa4, 0x8f, 0x43, 0xf5, 0xe7, 0x2d, 0x00, 0x00, 0xff, 0xff, 0x14, 0x81, 0xb3, 0x02,
0x9e, 0x02, 0x00, 0x00,
// 392 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x8f, 0xd3, 0x30,
0x10, 0x85, 0x95, 0xed, 0xb6, 0x9b, 0x4c, 0x97, 0x45, 0xb2, 0x60, 0xb1, 0x2a, 0x40, 0xa1, 0x07,
0x14, 0x09, 0x35, 0x91, 0xe0, 0xcc, 0x85, 0x4a, 0x48, 0x88, 0x4b, 0x15, 0x6e, 0x5c, 0x50, 0xe2,
0x0c, 0x8d, 0x21, 0xb1, 0x5d, 0xdb, 0x69, 0xf9, 0x97, 0xfc, 0x25, 0x94, 0x49, 0xd3, 0x56, 0x95,
0x38, 0xc5, 0xf3, 0xbd, 0xe7, 0x67, 0xc7, 0x33, 0xf0, 0x28, 0x74, 0xdb, 0x16, 0xaa, 0x72, 0x99,
0xd0, 0xad, 0x91, 0x0d, 0xa6, 0xc6, 0x6a, 0xaf, 0xd9, 0x0b, 0x21, 0xd2, 0xc2, 0x56, 0x9d, 0x54,
0x3a, 0x15, 0x8d, 0x4c, 0x47, 0xdb, 0xe2, 0xf9, 0xe5, 0x86, 0x56, 0xab, 0xc1, 0xbf, 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, 0xe4, 0x4f, 0x86, 0xb7, 0x3b, 0x93, 0xfe, 0xbd, 0x7f,
0xe9, 0xd2, 0xf1, 0x87, 0x38, 0x48, 0xa6, 0x39, 0xad, 0x97, 0x5f, 0x61, 0x7e, 0x6a, 0xa8, 0x33,
0xec, 0x15, 0x80, 0xee, 0xfc, 0x0f, 0xe7, 0x2d, 0x16, 0x2d, 0xf5, 0xf4, 0x3e, 0x8f, 0x74, 0xe7,
0xbf, 0x11, 0xe8, 0x65, 0xb4, 0x76, 0x94, 0x6f, 0x06, 0x19, 0xad, 0x1d, 0xe4, 0x4f, 0xab, 0xef,
0xef, 0xb6, 0xd2, 0xd7, 0x5d, 0xd9, 0xb7, 0x3d, 0x3b, 0x8e, 0xc1, 0xf8, 0x5d, 0x89, 0x46, 0x66,
0xd6, 0x88, 0x6c, 0x1c, 0x89, 0x72, 0x46, 0x43, 0xf5, 0xe1, 0x5f, 0x00, 0x00, 0x00, 0xff, 0xff,
0x14, 0x81, 0xb3, 0x02, 0x9e, 0x02, 0x00, 0x00,
}
......@@ -770,45 +770,45 @@ func init() {
func init() { proto.RegisterFile("commands/core.proto", fileDescriptor_ed02318f567db566) }
var fileDescriptor_ed02318f567db566 = []byte{
// 625 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xd4, 0x56, 0xdf, 0x6a, 0xd4, 0x4e,
0x14, 0x26, 0xfd, 0xb3, 0x4d, 0x4f, 0xff, 0x4f, 0xdb, 0xdf, 0x2f, 0x88, 0x54, 0x1b, 0x28, 0x58,
0xa4, 0x59, 0x50, 0xf0, 0xce, 0x0b, 0x4b, 0x2b, 0xac, 0x54, 0xbb, 0x44, 0xab, 0x20, 0x4a, 0x98,
0x4d, 0xa6, 0xdb, 0xd0, 0x64, 0x26, 0x9d, 0x99, 0x58, 0x7c, 0x11, 0x1f, 0x40, 0xbc, 0xf0, 0x21,
0xf4, 0x8d, 0x7c, 0x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x68, 0x57, 0x08, 0x00,
0x00,
// 628 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xdd, 0x6a, 0x14, 0x31,
0x14, 0x66, 0xb6, 0xed, 0x76, 0x7b, 0xba, 0xfd, 0x4b, 0x5b, 0x1d, 0x44, 0x6a, 0x3b, 0x50, 0x68,
0x91, 0xee, 0x82, 0x82, 0x77, 0x5e, 0x58, 0x5a, 0x61, 0xa5, 0xda, 0x65, 0xb4, 0x0a, 0xa2, 0x2c,
0xd9, 0x99, 0x74, 0x1b, 0x9a, 0x49, 0xd2, 0x24, 0x63, 0xe9, 0x8b, 0xf8, 0x00, 0xe2, 0x85, 0x0f,
0xa1, 0x6f, 0xe4, 0x43, 0xc8, 0x64, 0x92, 0xd9, 0x2d, 0x75, 0x45, 0xa4, 0x17, 0xeb, 0xd5, 0xe6,
0x7c, 0x73, 0xce, 0x97, 0xef, 0x3b, 0xc9, 0x09, 0x0b, 0xab, 0x89, 0xc8, 0x32, 0xcc, 0x53, 0xdd,
0x4e, 0x84, 0x22, 0x2d, 0xa9, 0x84, 0x11, 0xe8, 0x6e, 0x92, 0xb4, 0xb0, 0x4a, 0x73, 0xca, 0x45,
0x2b, 0x61, 0xb4, 0xe5, 0x73, 0xee, 0xad, 0x8f, 0x64, 0x67, 0x99, 0xe0, 0x65, 0x7e, 0xf4, 0x3d,
0x00, 0xd4, 0x65, 0xd8, 0x9c, 0x0a, 0x95, 0x75, 0xb8, 0x36, 0x98, 0xb1, 0x98, 0x5c, 0xa0, 0xa7,
0xd0, 0xa0, 0x45, 0xc4, 0x13, 0x12, 0x06, 0x9b, 0xc1, 0xce, 0xfc, 0xa3, 0xad, 0xd6, 0x18, 0xe6,
0x56, 0xc7, 0x25, 0xc6, 0x55, 0x09, 0xda, 0x85, 0x65, 0xe9, 0x48, 0x7b, 0x12, 0x27, 0xe7, 0x78,
0x40, 0xc2, 0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 0xf5, 0x7d, 0x81, 0x55, 0xaa, 0xc3, 0x86, 0x35, 0xbf, 0x31, 0xd6, 0xbc,
0x4d, 0x8b, 0x5d, 0x76, 0xd4, 0x86, 0x19, 0xbb, 0x2a, 0x44, 0xf2, 0x42, 0x64, 0x69, 0xd6, 0xae,
0x0b, 0xec, 0xf4, 0xa2, 0xcf, 0x9d, 0x53, 0xbb, 0xde, 0xdf, 0x7b, 0xff, 0x70, 0x40, 0xcd, 0x59,
0xde, 0x2f, 0x18, 0xdb, 0x6e, 0x07, 0xff, 0xbb, 0x97, 0x30, 0xda, 0x56, 0x32, 0x69, 0xfb, 0xdd,
0xfa, 0x75, 0xfb, 0x87, 0xe0, 0xf1, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x09, 0x05, 0xe5, 0x68,
0x57, 0x08, 0x00, 0x00,
}
This diff is collapsed.
......@@ -162,23 +162,24 @@ func init() {
func init() { proto.RegisterFile("commands/upload.proto", fileDescriptor_cd642cc079f8acdb) }
var fileDescriptor_cd642cc079f8acdb = []byte{
// 288 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x90, 0x3d, 0x4b, 0x34, 0x31,
0x14, 0x85, 0xd9, 0x7d, 0xf7, 0xdd, 0x8f, 0xbb, 0x56, 0x01, 0x35, 0x08, 0xa2, 0x6e, 0x25, 0xc8,
0x66, 0x40, 0x6b, 0x1b, 0x0b, 0x41, 0x2b, 0x19, 0xb1, 0xb1, 0x59, 0x32, 0x99, 0x8c, 0x13, 0x9c,
0x49, 0xb2, 0x49, 0x46, 0xf0, 0x0f, 0xfb, 0x3b, 0xcc, 0xc7, 0x44, 0x2b, 0xab, 0xdc, 0x3c, 0xe7,
0x9c, 0x84, 0x7b, 0xe0, 0x90, 0xa9, 0xbe, 0xa7, 0xb2, 0xb6, 0xc5, 0xa0, 0x3b, 0x45, 0x6b, 0xa2,
0x8d, 0x72, 0x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, 0xc8, 0x4d, 0x55, 0xf3, 0x58,
0xf5, 0xcd, 0x77, 0x00, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xf8, 0xc5, 0x33, 0xb3, 0x01, 0x00, 0x00,
// 291 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x90, 0x4f, 0x4b, 0xc4, 0x30,
0x10, 0xc5, 0xe9, 0xba, 0xee, 0x9f, 0x59, 0x4f, 0x01, 0x35, 0x08, 0xe2, 0xba, 0xa7, 0x05, 0xd9,
0x14, 0xf4, 0xec, 0xc5, 0x83, 0xa0, 0x27, 0xa9, 0x78, 0xf1, 0x52, 0xd2, 0x34, 0xb5, 0xc1, 0x36,
0xc9, 0x26, 0xe9, 0x82, 0x5f, 0xd8, 0xcf, 0x21, 0x49, 0x1a, 0x3d, 0x79, 0xca, 0x64, 0x7e, 0xef,
0xcd, 0x30, 0x0f, 0x4e, 0x99, 0xea, 0x7b, 0x2a, 0x6b, 0x9b, 0x0f, 0xba, 0x53, 0xb4, 0x26, 0xda,
0x28, 0xa7, 0xd0, 0x39, 0x63, 0x84, 0x9a, 0x7a, 0x10, 0x52, 0x11, 0xd6, 0x09, 0x92, 0x54, 0x17,
0x7f, 0x7a, 0x5f, 0x28, 0x19, 0xf5, 0x9b, 0xef, 0x0c, 0x96, 0x6f, 0x61, 0x40, 0xc1, 0xf7, 0xe8,
0x1e, 0x16, 0x42, 0x5a, 0x47, 0x25, 0xe3, 0x38, 0x5b, 0x67, 0xdb, 0xd5, 0xed, 0x35, 0xf9, 0x67,
0x20, 0x79, 0x1a, 0x85, 0xc5, 0xaf, 0x05, 0x21, 0x98, 0x36, 0xfb, 0x4a, 0xe2, 0xc9, 0x3a, 0xdb,
0x2e, 0x8b, 0x50, 0xa3, 0x2b, 0x58, 0xd9, 0x4f, 0xee, 0x58, 0x5b, 0x6a, 0xea, 0x5a, 0x7c, 0x14,
0x10, 0xc4, 0xd6, 0x0b, 0x75, 0xad, 0x37, 0x69, 0x65, 0x1c, 0x9e, 0x46, 0x93, 0xaf, 0x11, 0x86,
0xf9, 0x81, 0x9b, 0x4a, 0x59, 0x8e, 0x8f, 0xd7, 0xd9, 0x76, 0x51, 0xa4, 0x2f, 0x3a, 0x83, 0xd9,
0x81, 0x1b, 0xd1, 0x7c, 0xe1, 0x59, 0x00, 0xe3, 0xcf, 0xaf, 0x11, 0xbd, 0xf7, 0x96, 0x8d, 0xe8,
0x38, 0x9e, 0xc7, 0x35, 0xb1, 0xf5, 0x28, 0x3a, 0xbe, 0x79, 0x06, 0x48, 0x77, 0x5a, 0x8d, 0x2e,
0x01, 0xd4, 0xe0, 0x4a, 0xeb, 0x0c, 0xa7, 0x7d, 0x38, 0xf5, 0xa4, 0x58, 0xaa, 0xc1, 0xbd, 0x86,
0x86, 0xc7, 0xdc, 0x98, 0x84, 0x27, 0x11, 0x73, 0x63, 0x22, 0x7e, 0xd8, 0xbd, 0xdf, 0x7c, 0x08,
0xd7, 0x0e, 0x95, 0x4f, 0x23, 0x1f, 0xd3, 0x49, 0xef, 0x8e, 0x75, 0x22, 0x37, 0x9a, 0xe5, 0x29,
0xa9, 0x6a, 0x16, 0xa2, 0xbe, 0xfb, 0x09, 0x00, 0x00, 0xff, 0xff, 0xfc, 0xf8, 0xc5, 0x33, 0xb3,
0x01, 0x00, 0x00,
}
......@@ -241,28 +241,29 @@ func init() {
func init() { proto.RegisterFile("monitor/monitor.proto", fileDescriptor_94d5950496a7550d) }
var fileDescriptor_94d5950496a7550d = []byte{
// 336 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x8c, 0x92, 0xc1, 0x4e, 0x02, 0x31,
0x10, 0x86, 0x59, 0x25, 0x10, 0x46, 0x30, 0xd8, 0x28, 0x12, 0xe2, 0xc1, 0x6c, 0x62, 0x44, 0xa3,
0x5d, 0x82, 0x4f,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4d, 0xbd, 0xc5, 0x6d,
0x67, 0xf1, 0x90, 0x2e, 0xd2, 0xa2, 0xcb, 0xb4, 0xe8, 0xd0, 0xa5, 0x15, 0xff, 0x02, 0xc2, 0x26,
0xc0, 0xb7, 0x30, 0x01, 0x28, 0x0d, 0x6f, 0xe3, 0xfb, 0xeb, 0x87, 0x7a, 0x21, 0x3c, 0x85, 0xbd,
0xb5, 0x48, 0xe7, 0x86, 0x10, 0x1f, 0xc2, 0x97, 0x9f, 0xea, 0x22, 0x82, 0x6e, 0x06, 0x65, 0x7f,
0x29, 0x79, 0x81, 0xda, 0x0a, 0x43, 0xda, 0xff, 0x79, 0x5b, 0xff, 0x5a, 0xad, 0xb3, 0x0d, 0x27,
0xe7, 0x26, 0x2c, 0xb4, 0x83, 0x4e, 0xd0, 0xbb, 0x78, 0x3a, 0x4f, 0x25, 0x3e, 0x67, 0x63, 0xca,
0xf5, 0x2c, 0xf2, 0xe4, 0xf2, 0xbd, 0xcc, 0x15, 0x22, 0x6b, 0xf8, 0xf2, 0xef, 0x1a, 0x97, 0x5c,
0x14, 0x57, 0x9f, 0x01, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x6c, 0x5e, 0x00, 0x77, 0x02, 0x00, 0x00,
// 339 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x4e, 0xf2, 0x30,
0x14, 0xc7, 0xb7, 0xef, 0x23, 0x10, 0x8e, 0x60, 0xb0, 0x51, 0x24, 0xc4, 0x0b, 0xb2, 0xc4, 0x38,
0x8d, 0x76, 0x04, 0x9f, 0x40, 0xd0, 0x04, 0x13, 0x89, 0x49, 0xe1, 0xca, 0xbb, 0xd2, 0x95, 0x59,
0x33, 0xda, 0x5a, 0xba, 0x0b, 0x6e, 0x7d, 0x3e, 0x1f, 0xca, 0x58, 0x4a, 0x14, 0xd4, 0x84, 0xab,
0xa6, 0xd9, 0x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0x3b, 0x72, 0x7f, 0xf3, 0xd0, 0x08,
0xa2, 0x33, 0x38, 0xd8, 0x52, 0xba, 0xd0, 0x08, 0x79, 0x09, 0x9f, 0x79, 0x6a, 0x2b, 0x05, 0xbd,
0x02, 0x2a, 0x7e, 0x53, 0xf4, 0x02, 0xf5, 0x0d, 0x06, 0xc5, 0x7f, 0x65, 0xdb, 0xfe, 0x5b, 0xed,
0xf3, 0x1d, 0x2b, 0x17, 0x3a, 0x0a, 0xe2, 0xb0, 0x1b, 0xf6, 0x2f, 0x9f, 0x2e, 0x32, 0x61, 0x9f,
0x8b, 0x29, 0x66, 0x6a, 0x9e, 0x78, 0x72, 0x7d, 0x5e, 0xb1, 0x5c, 0x24, 0x46, 0xb3, 0xf5, 0xeb,
0x9a, 0x96, 0x9d, 0x8a, 0xeb, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x6c, 0x5e, 0x00, 0x77,
0x02, 0x00, 0x00,
}
// Reference imports to suppress errors if they are not otherwise used.
......
This diff is collapsed.
// This file is part of arduino-cli.
//
// Copyright 2019 ARDUINO SA (http://www.arduino.cc/)
//
// This software is released under the GNU General Public License version 3,
// which covers the main part of arduino-cli.
// The terms of this license can be found at:
// https://www.gnu.org/licenses/gpl-3.0.en.html
//
// You can be released from the requirements of the above licenses by purchasing
// a commercial license. Buying such a license is mandatory if you want to
// modify or otherwise use the software for commercial activities involving the
// Arduino software without disclosing the source code of your own applications.
// To purchase a commercial license, send an email to license@arduino.cc.
syntax = "proto3";
package cc.arduino.cli.settings;
option go_package = "github.com/arduino/arduino-cli/rpc/settings";
service Settings {
rpc GetAll(GetAllRequest) returns (RawData);
rpc Merge(RawData) returns (MergeResponse);
rpc GetValue(GetValueRequest) returns (Value);
rpc SetValue(Value) returns (SetValueResponse);
}
message RawData {
string jsonData = 1;
}
message Value {
string key = 1;
string jsonData = 2;
}
message GetAllRequest {}
message GetValueRequest { string key = 1; }
message MergeResponse {}
message SetValueResponse {}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment