Commit Graph

4 Commits

Author SHA1 Message Date
Soumya Ghosh Dastidar 2913b0fcbd
Added endpoint for portal stats (#2891)
* added endpoint for portal stats

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-14 09:39:01 +05:30
Arkajyoti Mukherjee 91fd200783
Created mongo interface and refactored the database operations [This is preparation to create mock interfaces for unit testing] (#2746)
* 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>
2021-05-07 22:57:49 +05:30
Sarthak Jain c0929ba277
Added mutation to update project name (#2719)
* Added mutation to update project name

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
2021-04-20 09:39:50 +05:30
Ishan Gupta de0418fb2c
(Litmus-Portal) GQL server refractor for database and handlers (#2454)
* Adding datasource and dashboard APIs for analytics / monitoring.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Fixed formatting.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* GraphQL server refractor

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Refractor after review.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Minor fixes after review.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Sorted imports.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Reverting frontend changes.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* code analysis fix.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* minor fix

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Changes after review.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>

* Codacy fixes.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2021-02-25 19:53:21 +05:30