Add terminate support to orchestrator and ncm 08/109808/6
authorEric Multanen <eric.w.multanen@intel.com>
Thu, 2 Jul 2020 22:34:13 +0000 (15:34 -0700)
committerEric Multanen <eric.w.multanen@intel.com>
Wed, 8 Jul 2020 21:17:06 +0000 (14:17 -0700)
commit0af31b5e508faa227a36e687346e7905a7a10ed6
tree3a1f0e7565f8ce699f094167009cc68db7e16ad8
parente06b947b03c3fcce2c954feb68890a519c7740c3
Add terminate support to orchestrator and ncm

Complete the basic terminate support for the
orchestrator and ncm services.

1. When terminate REST API is invoked on a deployment
   intent group, call the uninstall grpc api to rsync
   and then remove the app context.

2. When terminate REST API is invoked on a cluster,
   add the uninstall grpc api call to rsync to remove
   the network resources from the clusters.

Issue-ID: MULTICLOUD-1040
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
Change-Id: I181e891a8c7c973970af061f9ff07d80c3bb64f9
kud/tests/README-composite-vfw.txt
kud/tests/vfw-test.sh
src/clm/api/clusterhandler_test.go
src/clm/pkg/cluster/cluster.go
src/ncm/go.mod
src/ncm/internal/grpc/rsyncclient.go [deleted file]
src/ncm/pkg/scheduler/scheduler.go
src/orchestrator/pkg/grpc/installappclient/client.go
src/orchestrator/pkg/module/deployment_intent_groups.go
src/orchestrator/pkg/module/instantiation.go
src/orchestrator/pkg/module/instantiation_scheduler_helper.go