13 Commits

Author SHA1 Message Date
Victor Vrantchan
4b285af74e send mdm responses to pubsub (#254)
Wraps mdm.Responses into pubsub events and sends them downstream
This PR does not yet implement the full mdm.Response as an event, only the metadata.

The device db adds a subscription to mdm responses and updates the LastCheckin key.

Closes #251
2017-10-21 16:17:37 -04:00
Victor Vrantchan
20689679ae move pubsub inmem to subpackage (#210)
Split types from implementation to support multiple pubsub types in the near future.
2017-06-14 01:23:58 -04:00
Victor Vrantchan
c4855b20f1 handle converting zero value for time/unix epoch (#185) 2017-05-29 22:43:32 -04:00
Jesse Peterson
8b36409f20 Don't update LastCheckin timestamp for non-Checkin events (like DEP) (#164) 2017-05-24 11:18:02 -07:00
Jesse Peterson
284f368353 Blueprint profile integration (#163)
* Integrate Profiles into Blueprints
* Listen for events and deploy blueprints for new enrollments
* Track enrolled status of (re-)enrolling devices and re-issue the Check-In Event under a different topic
* Added references to #149 and #110 for direction/conceptual background
* Closes #149 (largely implemented here)
2017-05-21 22:12:42 -07:00
loyaltyarm
ea5dab77bd marshal additional device fields (#132) 2017-03-31 02:28:18 -04:00
Victor Vrantchan
fcfd7c0bfb only create a UUID on initial enrollment (#125)
Closes #124

The UUID enforces uniqueness in the db. If a device is already
re-enrolling, don't create a new record.
2017-03-24 23:11:24 -04:00
Victor Vrantchan
5c66bfdbcf add list devices api (#114) 2017-03-24 22:40:14 -04:00
Victor Vrantchan
9669878d40 save device indexes in a separate bucket
This change makes it easier to range over the device bucket.
Also added some necessary tests for this package.
2017-03-19 19:03:31 -04:00
Victor Vrantchan
2839a40aca rewrite imports 2017-03-19 16:44:52 -04:00
Victor Vrantchan
0c443352f4 add basic hanling for the connect endpoint 2017-03-19 16:55:10 +00:00
Victor Vrantchan
ac46c3c56b add depsync package 2017-03-18 15:06:58 -04:00
Victor Vrantchan
28219fcec2 first commit in new package 2017-02-07 09:08:28 -05:00