Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Certificates statements #24

Merged
merged 25 commits into from Oct 7, 2016
Merged

Certificates statements #24

merged 25 commits into from Oct 7, 2016

Conversation

mosen
Copy link
Contributor

@mosen mosen commented Oct 7, 2016

The certificates datastore still uses this statement module that i built in order to construct SQL queries. I'm including it now so micromdm does not explode, and we can look at the state of SQL building later.

mosen and others added 25 commits October 6, 2016 14:51
Handle command failures more gracefully than continuously retrying. Failures are not logged
Add table for certificates.

(cherry picked from commit 9f580a6)
…ction of the logger instance into each datastore because groob is a doodoo head :)

Move NewDatastore methods into unit tests
Reinstate NewDB test
Create certificates package including a Certificate type and a datastore.
Began working on a method ackCertificateList in the connect service.
Boilerplate for management service test.
Renamed some tables in certificates migration, hopefully nobody notices.
Applications response handler should be omitted from this branch.

(cherry picked from commit 8bc2fc7)
…orm of the certificate data.

Change statments to reflect table change from certificates to devices_certificates
Add the CertificateList request type to the connect service's Acknowledge method
Add certificates datastore to the management service, and add endpoints and request/responses for retrieving certificates by device uuid to the management endpoujnt.
Kludge. commits regarding app service will be amended.
(cherry picked from commit c723c80)
(cherry picked from commit 66d5036)
(cherry picked from commit b6d4dca)
(cherry picked from commit 06bc231)
Rebase develop onto master

(cherry picked from commit 775484d)
…cate list on a per device basis. This is because neither the common name nor the data could be used as a unique constraint in the certificates table.

Few small changes to imports/style.

(cherry picked from commit e0a63e1)
…a response.

(cherry picked from commit 99e1ea1)
…g the certificates management endpoint from listing certs.

Certificate listing is working without a base64 encoded representation of each certificate.

(cherry picked from commit 685dfef)
Add simple test for commands index
Add commands index endpoint

(cherry picked from commit 4e2a2a2)
(cherry picked from commit ae71b8f)
…tches a response can be retrieved by the connect service.

Added Find() method to command service

(cherry picked from commit ebceb28)
# Conflicts:
#	connect/service.go
# Conflicts:
#	connect/service.go
#	main.go
#	management/service.go
#	management/transport.go
…installed_certificate_list PR #14

Make push endpoint conform to Errorer interface.
Wrap error return in management service.
Add missing certsDB in main.go, should have been part of installed_certificate_list PR #14
These are necessary to support the current revision of the installed_certificates package.
@mosen mosen merged commit 66dc2be into micromdm:master Oct 7, 2016
@mosen mosen deleted the certificates_statements branch October 7, 2016 01:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant