mirror of
https://github.com/micromdm/micromdm/
synced 2026-08-06 09:16:24 +08:00
organize essential APIs into platform, workflow and pkg folders (#337)
Add more logic to the way code is organized. /pkg -- library code not directly connected to micromdm /mdm -- packages meant for the services devices interract with. The MDM protocol. /dep -- DEP API and related packages. /platform -- Core APIs the server provides. Commands API, Devices API, queue, pubsub etc. /workflow -- Packages/API that build on top of platform. Today that's the webhook package. Depending on what ends up here, the workflow folder might become its own repository.
This commit is contained in:
3
platform/command/testdata/DeviceInformation.plist
vendored
Executable file
3
platform/command/testdata/DeviceInformation.plist
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0"><dict><key>Command</key><dict><key>Queries</key><array><string>foo</string><string>bar</string></array><key>RequestType</key><string>DeviceInformation</string></dict><key>CommandUUID</key><string>7564fecc-f1b5-4d2d-af17-986fdd68a252</string></dict></plist>
|
||||
3
platform/command/testdata/DeviceInformation_empty_queries.plist
vendored
Executable file
3
platform/command/testdata/DeviceInformation_empty_queries.plist
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0"><dict><key>Command</key><dict><key>RequestType</key><string>DeviceInformation</string></dict><key>CommandUUID</key><string>1ad24ed8-0405-47e5-a230-6966207b6e14</string></dict></plist>
|
||||
3
platform/command/testdata/InstallProfile.plist
vendored
Executable file
3
platform/command/testdata/InstallProfile.plist
vendored
Executable file
@@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0"><dict><key>Command</key><dict><key>Payload</key><data>Zm9vYmFyYmF6</data><key>RequestType</key><string>InstallProfile</string></dict><key>CommandUUID</key><string>7e761ec5-9e20-42d1-9072-3d5a611e3ac5</string></dict></plist>
|
||||
28
platform/command/testdata/Settings_hostname_devicename.plist
vendored
Normal file
28
platform/command/testdata/Settings_hostname_devicename.plist
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>Command</key>
|
||||
<dict>
|
||||
<key>RequestType</key>
|
||||
<string>Settings</string>
|
||||
<key>Settings</key>
|
||||
<array>
|
||||
<dict>
|
||||
<key>DeviceName</key>
|
||||
<string>foo</string>
|
||||
<key>Item</key>
|
||||
<string>DeviceName</string>
|
||||
</dict>
|
||||
<dict>
|
||||
<key>HostName</key>
|
||||
<string>foo-bar</string>
|
||||
<key>Item</key>
|
||||
<string>HostName</string>
|
||||
</dict>
|
||||
</array>
|
||||
</dict>
|
||||
<key>CommandUUID</key>
|
||||
<string>19a68ea7-eb45-4ced-a7e6-5aa0b0eb71bc</string>
|
||||
</dict>
|
||||
</plist>
|
||||
Reference in New Issue
Block a user