Remove profile integration (#180)

RemoveProfile event and structure
This commit is contained in:
Ankur Goel
2017-05-29 03:21:40 +05:30
committed by Victor Vrantchan
parent 495dd8bdf9
commit c06bee78bf
4 changed files with 103 additions and 62 deletions

8
Gopkg.lock generated
View File

@@ -50,10 +50,10 @@
version = "v0.4"
[[projects]]
branch = "master"
branch = "revert-275-go-context-stdlib"
name = "github.com/golang/protobuf"
packages = ["proto"]
revision = "9f174c986221c608fb5143bd623b6076a71feae3"
revision = "154c03a3a9331d88d991096c1c3023aafafecf64"
[[projects]]
name = "github.com/gorilla/context"
@@ -95,7 +95,7 @@
branch = "master"
name = "github.com/micromdm/mdm"
packages = ["."]
revision = "255824c8b22417622b1fee883b5508dec9587b34"
revision = "90769a42e9940a8cdc99c33840e6a4bbc192917d"
[[projects]]
name = "github.com/micromdm/scep"
@@ -142,6 +142,6 @@
[solve-meta]
analyzer-name = "dep"
analyzer-version = 1
inputs-digest = "9502148927d630aed51089b18e46395f56995ed144a986d44a960379d1bff4b8"
inputs-digest = "5b77abba24cd41ee8041e87f39d656f92bbff87b25fc92f299a48400f6385d3f"
solver-name = "gps-cdcl"
solver-version = 1

View File

@@ -77,6 +77,10 @@ func MarshalEvent(e *Event) ([]byte, error) {
payload.Command.InstallProfile = &commandproto.InstallProfile{
Payload: e.Payload.Command.InstallProfile.Payload,
}
case "RemoveProfile":
payload.Command.RemoveProfile = &commandproto.RemoveProfile{
Identifier: e.Payload.Command.RemoveProfile.Identifier,
}
case "InstallApplication":
cmd := e.Payload.Command.InstallApplication
payload.Command.InstallApplication = &commandproto.InstallApplication{
@@ -159,6 +163,10 @@ func UnmarshalEvent(data []byte, e *Event) error {
e.Payload.Command.InstallProfile = mdm.InstallProfile{
Payload: pb.Payload.Command.InstallProfile.Payload,
}
case "RemoveProfile":
e.Payload.Command.RemoveProfile = mdm.RemoveProfile{
Identifier: pb.Payload.Command.RemoveProfile.Identifier,
}
case "InstallApplication":
cmd := pb.Payload.Command.GetInstallApplication()
e.Payload.Command.InstallApplication = mdm.InstallApplication{

View File

@@ -1,12 +1,11 @@
// Code generated by protoc-gen-go.
// source: command.proto
// DO NOT EDIT!
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: command/internal/commandproto/command.proto
/*
Package commandproto is a generated protocol buffer package.
It is generated from these files:
command.proto
command/internal/commandproto/command.proto
It has these top-level messages:
Event
@@ -19,6 +18,7 @@ It has these top-level messages:
AutoSetupAdminAccounts
DeviceInformation
InstallProfile
RemoveProfile
InstallApplication
*/
package commandproto
@@ -110,6 +110,7 @@ type Command struct {
AccountConfiguration *AccountConfiguration `protobuf:"bytes,5,opt,name=account_configuration,json=accountConfiguration" json:"account_configuration,omitempty"`
ScheduleOsUpdate *ScheduleOSUpdate `protobuf:"bytes,6,opt,name=schedule_os_update,json=scheduleOsUpdate" json:"schedule_os_update,omitempty"`
ScheduleOsUpdateScan *ScheduleOSUpdateScan `protobuf:"bytes,7,opt,name=schedule_os_update_scan,json=scheduleOsUpdateScan" json:"schedule_os_update_scan,omitempty"`
RemoveProfile *RemoveProfile `protobuf:"bytes,8,opt,name=remove_profile,json=removeProfile" json:"remove_profile,omitempty"`
}
func (m *Command) Reset() { *m = Command{} }
@@ -166,6 +167,13 @@ func (m *Command) GetScheduleOsUpdateScan() *ScheduleOSUpdateScan {
return nil
}
func (m *Command) GetRemoveProfile() *RemoveProfile {
if m != nil {
return m.RemoveProfile
}
return nil
}
type ScheduleOSUpdate struct {
Updates []*OSUpdate `protobuf:"bytes,1,rep,name=updates" json:"updates,omitempty"`
}
@@ -326,6 +334,22 @@ func (m *InstallProfile) GetPayload() []byte {
return nil
}
type RemoveProfile struct {
Identifier string `protobuf:"bytes,1,opt,name=identifier" json:"identifier,omitempty"`
}
func (m *RemoveProfile) Reset() { *m = RemoveProfile{} }
func (m *RemoveProfile) String() string { return proto.CompactTextString(m) }
func (*RemoveProfile) ProtoMessage() {}
func (*RemoveProfile) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (m *RemoveProfile) GetIdentifier() string {
if m != nil {
return m.Identifier
}
return ""
}
type InstallApplication struct {
ItunesStoreId int64 `protobuf:"varint,1,opt,name=itunes_store_id,json=itunesStoreId" json:"itunes_store_id,omitempty"`
Identifier string `protobuf:"bytes,2,opt,name=identifier" json:"identifier,omitempty"`
@@ -338,7 +362,7 @@ type InstallApplication struct {
func (m *InstallApplication) Reset() { *m = InstallApplication{} }
func (m *InstallApplication) String() string { return proto.CompactTextString(m) }
func (*InstallApplication) ProtoMessage() {}
func (*InstallApplication) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{10} }
func (*InstallApplication) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{11} }
func (m *InstallApplication) GetItunesStoreId() int64 {
if m != nil {
@@ -393,62 +417,66 @@ func init() {
proto.RegisterType((*AutoSetupAdminAccounts)(nil), "commandproto.AutoSetupAdminAccounts")
proto.RegisterType((*DeviceInformation)(nil), "commandproto.DeviceInformation")
proto.RegisterType((*InstallProfile)(nil), "commandproto.InstallProfile")
proto.RegisterType((*RemoveProfile)(nil), "commandproto.RemoveProfile")
proto.RegisterType((*InstallApplication)(nil), "commandproto.InstallApplication")
}
func init() { proto.RegisterFile("command.proto", fileDescriptor0) }
func init() { proto.RegisterFile("command/internal/commandproto/command.proto", fileDescriptor0) }
var fileDescriptor0 = []byte{
// 813 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0x74, 0x94, 0x5b, 0x6f, 0x1b, 0x45,
0x14, 0xc7, 0x65, 0x3b, 0x89, 0xed, 0xe3, 0xdc, 0x3a, 0x38, 0xe9, 0x22, 0xa0, 0x31, 0x1b, 0x40,
0x29, 0x82, 0x80, 0x8a, 0xc4, 0x7b, 0xd4, 0x16, 0x11, 0x41, 0xdb, 0x30, 0xc6, 0x20, 0x1e, 0xd0,
0x68, 0xd8, 0x19, 0xdb, 0xa3, 0xee, 0xce, 0x6c, 0xe7, 0x52, 0xe4,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3, 0x3f, 0x0e, 0xfc, 0xa8, 0x7c, 0xf3, 0x7f,
0x00, 0x00, 0x00, 0xff, 0xff, 0x1b, 0x5a, 0x6f, 0x19, 0xfb, 0x06, 0x00, 0x00,
// 861 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x94, 0xdd, 0x72, 0x1b, 0x35,
0x14, 0xc7, 0xc7, 0x76, 0x12, 0xdb, 0xc7, 0xb1, 0x93, 0x0a, 0x27, 0x35, 0x53, 0x68, 0xcc, 0x06,
0x98, 0x94, 0x8f, 0x84, 0x29, 0x33, 0xdc, 0x87, 0xb6, 0x0c, 0x19, 0x68, 0x1b, 0x64, 0x0c, 0xc3,
0x05, 0xa3, 0x11, 0x2b, 0xd9, 0xd6, 0x74, 0x57, 0xda, 0xea, 0x23, 0x8c, 0x2f, 0xb8, 0xe2, 0x09,
0x78, 0x00, 0xde, 0x8c, 0x87, 0x61, 0x56, 0x5a, 0x39, 0x5e, 0xdb, 0xbd, 0xf3, 0xf9, 0x9f, 0xbf,
0x7e, 0x3a, 0xd6, 0x39, 0x7b, 0xe0, 0xf3, 0x54, 0xe5, 0x39, 0x95, 0xec, 0x4a, 0x48, 0xcb, 0xb5,
0xa4, 0xd9, 0x55, 0x25, 0x14, 0x5a, 0x59, 0x15, 0x83, 0x4b, 0x1f, 0xa1, 0xc3, 0xf5, 0x5c, 0xf2,
0x17, 0xec, 0xbf, 0xb8, 0xe3, 0xd2, 0xa2, 0x01, 0x34, 0x05, 0x1b, 0x35, 0xc6, 0x8d, 0x8b, 0x2e,
0x6e, 0x0a, 0x86, 0x10, 0xec, 0x59, 0x91, 0xf3, 0x51, 0x73, 0xdc, 0xb8, 0x68, 0x61, 0xff, 0x1b,
0x5d, 0x41, 0xbb, 0xa0, 0xcb, 0x4c, 0x51, 0x36, 0x6a, 0x8d, 0x1b, 0x17, 0xbd, 0xa7, 0x27, 0x97,
0xeb, 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1, 0x63, 0x00, 0xc1, 0xb8, 0xb4,
0x62, 0x26, 0xb8, 0x8e, 0x43, 0x79, 0xaf, 0x24, 0x7f, 0x37, 0x01, 0x6d, 0x2f, 0x1e, 0xf4, 0x29,
0x1c, 0x09, 0xeb, 0x24, 0x37, 0xc4, 0x58, 0xa5, 0x39, 0xa9, 0x96, 0x7a, 0x0b, 0xf7, 0x83, 0x3c,
0x29, 0xd5, 0x1b, 0xb6, 0x81, 0x6f, 0x6e, 0xe2, 0xcb, 0xcd, 0x9d, 0x53, 0x29, 0x66, 0xe5, 0xea,
0x76, 0x3a, 0xf3, 0xcf, 0xd4, 0xc5, 0xbd, 0xa8, 0x4d, 0x75, 0x86, 0x9e, 0xc0, 0x71, 0x4e, 0x25,
0x9d, 0xf3, 0x9c, 0x4b, 0x4b, 0x66, 0x19, 0x9d, 0x1b, 0xff, 0x5e, 0x2d, 0x7c, 0x74, 0xaf, 0x7f,
0x57, 0xca, 0xe5, 0x27, 0x26, 0x95, 0x25, 0x41, 0x66, 0x7e, 0xe1, 0x75, 0x30, 0x48, 0x65, 0x5f,
0x06, 0x05, 0x7d, 0x03, 0x0f, 0xd3, 0x05, 0x95, 0x73, 0x4e, 0xd6, 0x90, 0xc6, 0xc6, 0x3d, 0xd6,
0xc5, 0x27, 0x21, 0xfd, 0x72, 0x95, 0x9d, 0x94, 0xc9, 0x3f, 0x0e, 0xfc, 0x6c, 0x7d, 0xfd, 0x7f,
0x00, 0x00, 0x00, 0xff, 0xff, 0x7f, 0xe5, 0x91, 0x05, 0x8e, 0x07, 0x00, 0x00,
}

View File

@@ -22,6 +22,7 @@ message Command {
AccountConfiguration account_configuration = 5;
ScheduleOSUpdate schedule_os_update = 6;
ScheduleOSUpdateScan schedule_os_update_scan = 7;
RemoveProfile remove_profile = 8;
}
message ScheduleOSUpdate {
@@ -58,6 +59,10 @@ message InstallProfile {
bytes payload = 1;
}
message RemoveProfile {
string identifier = 1;
}
message InstallApplication {
int64 itunes_store_id = 1;