* added pagination for QueryWorkflowRuns
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* filtering workflowRuns based on workflowRunIDs
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* changed the API for getWorkflowRuns in frontend
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* added pagination for frontend and refactored code to accomodate the changes
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* Added Sorting and Filtering
Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
* sorting added from backend api call
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* filtering removed from frontend and used backend APIs to filter data
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* typed execution data in backend and sent common metadata from execution data in workflowruns hence reducing the data size in frontend; sorting based on workflowrun phase done in backend
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* changing resiliency score to null in case of running workflows
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* WIP: filtering and sorting done, pagination remaining
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* pagination completed in database
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* reverted ID -> String changes
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* changed the sortStage
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* Added condition to check no workflows
Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
* Pagination bug fix (#1)
* bug fix trails #1
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* reverting local dev changes
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* fixed the workflow subscription bugs...EVERYTHING FINALLY WORKS
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* removed comments from config
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* resolved review comments: translations, formatting and removing binary file
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* fixed some bugs and added Execution data to types.go
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
* go fmt project
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
Co-authored-by: SarthakJain26 <sarthak@chaosnative.com>
* 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>