diff options
author | Eric Multanen <eric.w.multanen@intel.com> | 2020-04-23 12:46:35 -0700 |
---|---|---|
committer | Eric Multanen <eric.w.multanen@intel.com> | 2020-04-30 16:55:52 -0700 |
commit | ea7b430a700a12cbde9e78acb3a993ad4257b12c (patch) | |
tree | 6345485d6440b3600a191360659df9036f0b5a09 /src/orchestrator/api/controllerhandler_test.go | |
parent | 4100bfb764c40e2a788d28691b0f891e2ae86b74 (diff) |
Add gRPC framework to orchestrator
Adds proto and generated go files for a healtcheck,
contextupdate and installapp rpc services. Adds framework
for orchestrator as an rpc client to connect
to configured controllers.
Issue-ID: MULTICLOUD-1019
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: Ie66865789fe2146258c91e168cfb8d5933905814
Diffstat (limited to 'src/orchestrator/api/controllerhandler_test.go')
-rw-r--r-- | src/orchestrator/api/controllerhandler_test.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/orchestrator/api/controllerhandler_test.go b/src/orchestrator/api/controllerhandler_test.go index a2f93ea7..b88fc1e7 100644 --- a/src/orchestrator/api/controllerhandler_test.go +++ b/src/orchestrator/api/controllerhandler_test.go @@ -68,6 +68,10 @@ func (m *mockControllerManager) DeleteController(name string) error { return m.Err } +func (m *mockControllerManager) InitControllers() { + return +} + func TestControllerCreateHandler(t *testing.T) { testCases := []struct { label string |