From ea7b430a700a12cbde9e78acb3a993ad4257b12c Mon Sep 17 00:00:00 2001 From: Eric Multanen Date: Thu, 23 Apr 2020 12:46:35 -0700 Subject: 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 Change-Id: Ie66865789fe2146258c91e168cfb8d5933905814 --- src/orchestrator/api/controllerhandler_test.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/orchestrator/api') 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 -- cgit 1.2.3-korg