Add appcontext state, status and resource status 91/110791/8
authorEric Multanen <eric.w.multanen@intel.com>
Fri, 7 Aug 2020 19:04:15 +0000 (12:04 -0700)
committerEric Multanen <eric.w.multanen@intel.com>
Wed, 12 Aug 2020 02:30:59 +0000 (19:30 -0700)
commit709d6d17a3b2f8bc9d46034295bd7c5a7fb76107
treec028ad152f5cf50e4991ba1388561b2c83f1fca8
parente7061c31f693f0ee60040a67baaa3935c64786cb
Add appcontext state, status and resource status

Add support in the AppContext for managing an AppContext
(composite app level) status value.
Also adds support for tracking rsync status at the resource
level.
A mechanism for tracking history at the controlling resource
level (i.e. DeploymentGroupIntnt or Cluster) is added, in part,
so that all AppContexts associated can be deleted when
the resource is eventually deleted.

Issue-ID: MULTICLOUD-1042
Change-Id: I3d0a9a97ea45ca11f9f873104476e4b67521e56a
Signed-off-by: Eric Multanen <eric.w.multanen@intel.com>
19 files changed:
kud/tests/gctxt.sh [new file with mode: 0755]
src/clm/pkg/cluster/cluster.go
src/ncm/internal/ovncontroller/ovncontroller.go
src/ncm/pkg/networkintents/network.go
src/ncm/pkg/networkintents/providernet.go
src/ncm/pkg/scheduler/scheduler.go
src/orchestrator/pkg/appcontext/appcontext.go
src/orchestrator/pkg/appcontext/appcontext_test.go
src/orchestrator/pkg/module/deployment_intent_groups.go
src/orchestrator/pkg/module/instantiation.go
src/orchestrator/pkg/module/instantiation_appcontext_helper.go
src/orchestrator/pkg/resourcestatus/resourcestatus.go [new file with mode: 0644]
src/orchestrator/pkg/rtcontext/rtcontext.go
src/orchestrator/pkg/state/state_helper.go
src/orchestrator/pkg/state/types.go
src/rsync/go.mod
src/rsync/pkg/context/context.go
src/rsync/pkg/grpc/installappserver/installappserver.go
src/rsync/pkg/status/status.go