* added mongo interface; created addtional file for switching between the collections and one for all db CRUD operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* modified usermanagement and projects with the new mongo structure; made logging and errors and comments consistent
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for workflow db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for myHub db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for gitops db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* minor changes for gitops db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for cluster db operations
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added the changes for analytics db operations and added comments to the operations.go file
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* calling the initialize function and instantiating the mongo client
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* import order fixed
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>