aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsync/pkg/status/status.go
AgeCommit message (Collapse)AuthorFilesLines
2020-08-11Add appcontext state, status and resource statusEric Multanen1-5/+7
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>
2020-07-16Move status tracking CR to rsyncEric Multanen1-12/+37
Handle creation and deletion of the ResourceBundleState Custom Resource per app/cluster in the rsync microservice instead of adding it to the resources of the composite application in the orchestrator service. Issue-ID: MULTICLOUD-1125 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: Id0c0639ff62e788628e78f972107a7603c27abfb
2020-07-08Adds composite app status update and queryEric Multanen1-17/+100
This patch provides the basic framework for supporting monitoring of composite application resources in clusters. 1. Updates to the monitor files for use with v2. 2. Invokes the Watcher process per cluster/app when the app is instantiated. 3. Adds a ResourceBundleState CR resource to the cluster/app so that monitor will be able to update status to it. 4. Watcher updates appropriate appcontext status object when updates are made in clusters by monitor 5. Update appcontext library to define a status handle and object at the app/cluster level 6. Labels resources with an appropriate tracking label to coordinate with the ResourceBundleState CR Issue-ID: MULTICLOUD-1042 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: If007c1fd86ca7a65bb941d1776cfd2d3afed766b
2020-07-08Add watch functionality for Status CRRitu Sood1-0/+139
Status CR gets updated when there is status update for the resources scheduled by Rsync. On change to status CR the watch in the patch will be triggered and the update can be handled. Issue-ID: MULTICLOUD-1042 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I2a46654dca29c05586dbf1e009bec89b0fa75b67