aboutsummaryrefslogtreecommitdiffstats
path: root/src/rsync/go.mod
AgeCommit message (Collapse)AuthorFilesLines
2020-09-22Fix missing operator-sdk dependency goautonegIgor D.C1-10/+25
goautoneg used to be available from bitbucket.org/ww/goautoneg but not anymore. operator-sdk has been importing it from github.com/munnerz/goautoneg for some time now but since we were using operator-sdk v0.9.0, it was still pointing at the old (now deleted) repository. This patch bumps operator-sdk to v0.19.0 (which doesn't use goautoneg from bitbucket), controller-runtime to v0.5.11, helm to v2.16.12 and all k8s.io dependencies to v0.16.9 (consistent with the k8s v1.16.9 we use). Code changes have been made to make all modules compatible with the new dependencies. All src go.sums have been cleaned (deleted and re-built). Issue-ID: MULTICLOUD-1143 Change-Id: I89fc39e9595b4a6a38dd90028b161bcecd3ef349 Signed-off-by: Igor D.C <igor.duarte.cardoso@intel.com>
2020-09-09Changes to add state and retry logic to rsyncManjunath Ranganathaiah1-0/+1
- Adds retry watcher and related functionality. - Adds code to update, get the status from appcontext. - Adds logic to handle state transition during terminate. Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I2ed76efd9d8b6f40fec547bbe8b7d8a86f69ce07
2020-08-28Update go.mod for rsyncRajamohan Raj1-6/+2
Issue-ID: MULTICLOUD-1196 Signed-off-by: Rajamohan Raj <rajamohan.raj@intel.com> Change-Id: Ib5b59d025151f53d64d089a649a5b25f572d2c60
2020-08-11Add appcontext state, status and resource statusEric Multanen1-2/+1
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-08-07Rsync change behaviour on error handlingRitu Sood1-1/+2
If error in any resource stop processing and end all goroutines. Also return gRpc call after starting the goroutine. Adds retry checks also Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I1189e02f0c0426181fdc995a0c4816ceaa64ec7d
2020-07-10Update RsyncRitu Sood1-9/+26
Changed Rsync to use ordered install. Changed to use cli-runtime instead of go-client. Based on code from repo https://github.com/johandry/klient Issue-ID: MULTICLOUD-1005 Signed-off-by: Ritu Sood <ritu.sood@intel.com> Change-Id: I4c2537cb74bd4d24a409cc1f0b7f9ee0875a4e39
2020-07-08Add watch functionality for Status CRRitu Sood1-5/+0
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
2020-06-24Instantiation and termination of a given context implementation.Manjunath Ranganathaiah1-5/+7
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I60e11aaad97b60efc24a02866dc0e580507e5296
2020-06-03Move cluster management into its own microserviceEric Multanen1-2/+5
Split out the cluster provider and cluster APIs and packages into a separate microservice to align with the architecture. Issue-ID: MULTICLOUD-1029 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I08f357b5a488004a2389b72a178ae33e101d1540
2020-06-02Add UninstallApp call to grpcManjunath Ranganathaiah1-0/+3
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I90c8ff0d548690ea19d325612d1bcd3e5049dc36
2020-05-28fixup rsync go.mod fileEric Multanen1-1/+1
Issue-ID: MULTICLOUD-1005 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I5dd7f9d0ef1862acaf3d987381a5970de488707e
2020-05-28Update go.mod files of services to use local codeEric Multanen1-2/+3
Change go.mod files to replace usage of services in this repo with local code instead of upstream builds. Fix a couple resulting issues. Issue-ID: MULTICLOUD-1077 Signed-off-by: Eric Multanen <eric.w.multanen@intel.com> Change-Id: I597c7bf98beac3fcee9e37699966cbe839335bf2
2020-05-21InstallApp Grpc proto and server for rsyncManjunath Ranganathaiah1-2/+17
Add the InstallApp GRPC proto file server code to the resource synchronizer. Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I8e586f1b878009fd4df53ef48aae6deded0f64ea
2020-05-04Directory structure, build and dockerfile for resource sync microserviceManjunath Ranganathaiah1-0/+5
Issue-ID: MULTICLOUD-1005 Signed-off-by: Manjunath Ranganathaiah <manjunath.ranganathaiah@intel.com> Change-Id: I22cbb8512d4ce0d5b9ce6d20a1b99e3e570db405