Commit Graph

5 Commits

Author SHA1 Message Date
Dalton Hubble
300291780e tests: Fix marshal/unmarhal errors for Groups without metadata
* Expand the use of testfakes to decrease test fixture duplication
* Add test coverage for numbers and booleans in Group metadata
2016-04-05 17:14:38 -07:00
Dalton Hubble
e88e249129 tests: Add storage/testfakes to de-duplicate fakes
* Multiple packages have a need to test with fake storage
components such as FixedStore and EmptyStore
2016-03-29 15:40:31 -07:00
Dalton Hubble
e0bfb3947b bootcfg/api,server: Refactor Group and Profile selection into server
* Add gRPC SelectGroup and SelectProfile service endpoints
* HTTP and gRPC servers should both allow labels to be resolved to the
matching Group or Profile. Move logic to bootcfg core server.
* Add gRPC wrapper selectServer to avoid cluttering core server with
response types which are currently only useful for gRPC
2016-03-28 17:10:59 -07:00
Dalton Hubble
0d148581b9 bootcfg/api: Switch from api types to storagepb types
* Remove api.Store and use storagepb.Store instead
* Remove api.Spec and use storagepb.Profile instead
* Switch from api.Group to storagepb.Group
* Move api.Group to config for YAML config decoding only
2016-03-10 18:32:57 -08:00
Dalton Hubble
e990320dae api,config,sign: Organize bootcfg packages together 2016-03-04 14:00:46 -08:00