Commit Graph

2005 Commits

Author SHA1 Message Date
Sayan Mondal 348e710b34
type(bugfix): Fixed Sidebar icon darkening + Shifted Usage Table Loader to Center (#2923)
* Fixed Sidebar icon darkening + Shifted Usage Table Loader to Conter

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Added Pagination Query

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Renaming Usage + Updating Browse Workflow to Runs

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-22 13:09:14 +05:30
VEDANT SHROTRIA 3fc404c8e4
Updating the supported platforms list (#2924)
* Updated the supported platforms list.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>

* Updated the supported platforms list.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-06-22 11:55:23 +05:30
Amit Kumar Das ff4e56277f
chore(litmus-portal): Added overall usage and project stats page (#2921)
* Added global stats cards

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Moved inline styles to styles file

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Making Litmus Cards Reusable and Modular

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Added project details query and basic table

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Adding Header for table

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Adding Search for table

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Fixed search functionality

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Added tarnslation for main page + Usage Cards

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Added projects table and refactoring

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* 🔨 Changed Active SVG stroke and Fixed DeepScan 🔧

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Addsort functionality

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Minor fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

Co-authored-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-22 09:11:46 +05:30
Soumya Ghosh Dastidar fca61d2e55
updated owner sort to username field (#2918)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-21 14:33:12 +05:30
Arkajyoti Mukherjee 61603036ed
Adding the various states of experiments in workflow runs (#2914)
* added other experiment states, truncated all percentages to 2 decimal and decoupled workflow metrics with execution data

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* added stopped experiments to analytics

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* added workflow_id filter support for getWorkflowRuns API

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
2021-06-21 11:03:20 +05:30
Soumya Ghosh Dastidar c575ab0331
added usage query for admin (#2917)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-21 10:20:52 +05:30
Karthik Satchitanand 16aff14d0c
(chore)adoption: add entry for halodoc in adopters.md file (#2916)
Signed-off-by: ksatchit <karthik.s@mayadata.io>
2021-06-21 09:58:20 +05:30
manee2k6 3f6104973b
Created halodoc.md (#2915)
* Create halodoc.md
2021-06-21 09:47:11 +05:30
VEDANT SHROTRIA 78c3429dd8
updated CRDs and versions for CRs. (#2912)
Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-06-21 08:28:23 +05:30
Sayan Mondal 302c7051a0
type(bug): Fixing Radio Button selection issue + Adding data-cy for Smoke Test + Fixing Loader Alignment (#2910)
* Minor Changes for Smoke Test and Loader Alignment
* Fixing Radio Button selection issue

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>

* Added minor checks

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

Co-authored-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-18 13:30:14 +05:30
Uma Mukkara 456985ccfc
Update Uma's information in the MAINTAINERS file (#2908) 2021-06-18 10:33:06 +05:30
Rajdeep Bhattacharya 6c659f8cf4
Added lenskart to the adaptors.md (#2909)
* Added lenskart to the adaptors.md

* Update ADOPTERS.md

Co-authored-by: Karthik Satchitanand <karthik.s@mayadata.io>
2021-06-18 10:32:13 +05:30
Rajdeep Bhattacharya 2e3f93ae82
Created lenskart.md (#2907)
* Created lenskart.md

* Minor updates to text

Co-authored-by: Karthik Satchitanand <karthik.s@mayadata.io>
2021-06-18 10:28:40 +05:30
Soumya Ghosh Dastidar 2757bdefe1
Added error log for time discrepancy between workflow and engine resource (#2905)
* added error log for time discrepancy between workflow and engine resource

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-18 09:39:50 +05:30
Amit Kumar Das a0143c38cf
type(ux): Added error texts and fixed the probes table (#2904)
* Added error texts and error handling
* Minor refactoring

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-17 15:04:53 +05:30
Arkajyoti Mukherjee 94fd8b0643
changed project_id from String to ID (#2903)
Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>
2021-06-17 13:51:19 +05:30
Arkajyoti Mukherjee 89994b15b7
WorkflowRun stats in workflow details page for analytics (#2898)
* Workflow stats completed as an analytics query

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Updated few comments

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* modified logic for failed experiments

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* fix for weekly data in workflow stats

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* minor change

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* formatting change

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

Co-authored-by: SarthakJain26 <sarthak@chaosnative.com>
2021-06-17 11:45:14 +05:30
VEDANT SHROTRIA 348b9cc59b
Fixed the build issue for event-tracker. (#2901)
Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-06-16 02:17:19 +05:30
Shubham Chaudhary 2c541dfe25
feat(1.13.6): adding manifests for litmus-1.13.6 (#2895)
Signed-off-by: shubhamchaudhary <shubham@chaosnative.com>
2021-06-15 23:14:48 +05:30
VEDANT SHROTRIA 64a8b12b2b
Updated the Control plane to version 2.0.0-Beta8. (#2899)
* updated the Control plane to version 2.0.0-Beta8.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>

* updated operator, runner and exporter to v1.13.5.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>

* Update README.md

Co-authored-by: Raj Babu Das <mail.rajdas@gmail.com>
2021-06-15 22:02:07 +05:30
Soumya Ghosh Dastidar 4aec97ed27
Added fail check for stopped engine with no experiments (#2897)
* added fail check for stopped engine with no exps

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>

* goimports

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-15 18:16:22 +05:30
Ishan Gupta c4bfe5faf3
minor fixes for analytics (#2894)
Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-06-15 06:58:35 +00:00
Raj Babu Das fe709ecadd
Removing Argo server deployment from the agent list (#2893)
* Removin Argo server deployment from the agent list

Signed-off-by: Raj Das <raj@chaosnative.com>

* Removing Argo server env from the okteto manifest

Signed-off-by: Raj Das <raj@chaosnative.com>

* removing argoserver from agent-config

Signed-off-by: Raj Das <raj@chaosnative.com>
2021-06-15 09:42:56 +05:30
Saranya Jena 673a368454
Analytics graphs (#2892)
* Added radial chart in analytics

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Added backend API for schedule stats

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Prepended result and rounded of values for monthly data

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Added documentation, filtering for weekly and hourly workflow schedule data

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Graph WIP, query added, data format typed and formatting fixed

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>

* Added frontend integration for schedule stats graph

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Backend - Schedule stats bug fixed and Run stats included in the same query

Signed-off-by: arkajyotiMukherjee <arko@chaosnative.com>

* Added frontend integration for run stats graph

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* resolved merge conflicts

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* fixed the import error in backend

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* deleted unused file

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Changed the variables' names

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

* Added interfaces from litmus-ui

Signed-off-by: Saranya-jena <saranya@chaosnative.com>

Co-authored-by: Vansh Bhatia <vansh@chaosnative.com>
Co-authored-by: arkajyotiMukherjee <arko@chaosnative.com>
2021-06-14 23:02:00 +05:30
Ishan Gupta 3ef78a10e3
(analytics): Frontend updates for Application dashboard and data source CRUD v2 (#2890)
* Updating frontend for analytics/monitoring app. dashboard CRUD-v2
* removing dev setup changes, updated dashboard links and added portal-dashboards.
* Fixing deep-scan issues.
* Minor fix
* fix package-lock
* fixing package-lock using lts of node & npm via nvm

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-06-14 14:23:58 +05:30
Ishan Gupta ac79879512
(analytics): Backend updates for Application dashboard CRUD v2 (#2889)
* Updating backend for analytics/monitoring app. dashboard CRUD-v2

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Updating agent RBAC for pods, services and nodes.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Fixing codacy issues.

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* minor typo fix along with condition

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>

* Fixed codacy issue

Signed-off-by: ishangupta-ds <ishan@chaosnative.com>
2021-06-14 13:40:14 +05:30
VEDANT SHROTRIA 454347e15c
Added Minor Fix for Resilience Score Calculation Logic and Namespaced mode agent registration. (#2885)
* Resilience Score Fix added.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>

* Fixed the namespace getting overridden issue in namespaced mode for external agents.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-06-14 11:38:28 +05:30
Vansh Bhatia a5aef8c798
Overview tab(Analytics) v2 (#2887)
* Overview Tab analytics, Header + sidebar UI updates

Signed-off-by: Vansh Bhatia <vansh@chaosnative.com>
2021-06-14 11:25:23 +05:30
Amit Kumar Das 245f333448
type(ux): Removed templates tab and minor change in jobCleanUpPolicy (#2886)
* Updated MyHub UI and minor change in jobCleanUpPolicy and removed templates tab
* Removed files related to templates
* Minor styles fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-14 10:01:00 +05:30
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
Sayan Mondal 98129e963a
Updated Litmus-UI and added minor UI fixes (#2883)
* Updated Litmus-UI and added minor UI fixes
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-11 16:24:10 +05:30
Sarthak Jain ac00e474f3
List workflow optimization (#2882)
* Optimized ListWorkflow query in backend and frontend along with minor style changes

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* generated go.sum

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Added filter to filter out removed workflows

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>

* Added condition to check empty workflows

Signed-off-by: SarthakJain26 <sarthak@chaosnative.com>
2021-06-11 13:42:12 +05:30
Amit Kumar Das 0a7e623356
chore(litmus-portal): Added sync and terminate workflow feature and minor ux fixes (#2878)
* Added sync and terminate workflow and checks for upload manifest

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Fixed the delete schedule/workflow mutation

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Added minor UX fixes

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>

* Minor styles fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-10 23:23:05 +05:30
Prithvi Raj c3720aee5c
Update README.md (#2879) 2021-06-10 20:06:39 +05:30
Sayan Mondal 555e651c89
type(bugfix): Fixed Loader to Center + Added alert on Editor not being saved and trying to proceed 🐛 (#2872)
* Fixed Loader to Center + Added alert on Editor not being saved and trying to proceed
* Updating status colors and package lock
* Formatted Code
* Fetched latest and formatted

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-10 12:39:56 +05:30
Amit Kumar Das c0d001df3f
Minor fix for pre-defined workflows (#2876)
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-10 06:12:27 +00:00
Amit Kumar Das 81ce01f0df
Added filter for workflow runs and minor fix (#2874)
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-09 22:22:14 +05:30
Raj Babu Das d554176487
remove circleci badge from readme (#2873)
Signed-off-by: Raj Das <raj@chaosnative.com>
2021-06-09 20:21:27 +05:30
Amit Kumar Das e414ea38cc
type(ux): Added myhub selection for pre-defined workflows (#2868)
* Added myhub selection for pre-defined workflows
* Removed commented code
* Minor change
* Fixed deepscan issue

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-09 17:19:20 +05:30
Raj Babu Das ecc865f690
Adding API for sync and delete workflow (#2869)
* Adding workflow delete and sync option

Signed-off-by: Raj Das <raj@chaosnative.com>

* gofmt and gomod

Signed-off-by: Raj Das <raj@chaosnative.com>

* gofmt and gomod

Signed-off-by: Raj Das <raj@chaosnative.com>

* converting log to logrus

Signed-off-by: Raj Das <raj@chaosnative.com>

* converting log to logrus

Signed-off-by: Raj Das <raj@chaosnative.com>

* Adding isRemoved filter to getWorkflowRun Query

Signed-off-by: Raj Das <raj@chaosnative.com>

* minor change

Signed-off-by: Raj Das <raj@chaosnative.com>

* minor change

Signed-off-by: Raj Das <raj@chaosnative.com>

* minor change

Signed-off-by: Raj Das <raj@chaosnative.com>
2021-06-09 16:24:58 +05:30
Amit Kumar Das 89f29a2a74
type(ux): Added delete option in experiment table, fixed agent select radio buttons and minor ux changes (#2862)
* Added delete option in exp table, fixed select agent radio buttons and minor ux change
* Minor Radio Group Fix
* Minor CSS change

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-09 12:48:48 +05:30
Udit Gaurav ed36c9c16a
Chore(multiarch): Build multiarch images for litmus portal components (#2858)
* Chore(multiarch): Build multiarch images for litmus portal components

Signed-off-by: uditgaurav <udit@chaosnative.com>

* Simplify Buildx command in push.yml and make PLATFORM tunable

Signed-off-by: uditgaurav <udit@chaosnative.com>

* Add go env in Dockerfile

Signed-off-by: uditgaurav <udit@chaosnative.com>

* Add README guide for the building portal images

* Add README guide for the building portal images

Signed-off-by: uditgaurav <udit@chaosnative.com>
2021-06-08 18:21:23 +05:30
Raj Babu Das b31d90de19
Adding support for workflow_delete and workflow_sync and restructuring directory of subscriber (#2866)
* Adding support for workflow_delete and workflow_sync and resturing directory structure

Signed-off-by: Raj Das <raj@chaosnative.com>

* Adding support for workflow_delete and workflow_sync and resturing directory structure

Signed-off-by: Raj Das <raj@chaosnative.com>

* Adding support for workflow_delete and workflow_sync and resturing directory structure

Signed-off-by: Raj Das <raj@chaosnative.com>

* go imports

Signed-off-by: Raj Das <raj@chaosnative.com>
2021-06-07 19:06:45 +05:30
Soumya Ghosh Dastidar 8730c7808a
Added chaos schedule support to portal backend (#2865)
* added chaos schedule support to backend

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>

* refactor

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-07 16:08:26 +05:30
Sayan Mondal d60fc52aa5
Fixing editor save issue when nothing is changes + Removing Kubernetes Conformance Test Header (#2864)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-07 13:41:04 +05:30
Arkajyoti Mukherjee aa5fe68456
Enhancement: Moving pagination, sorting and filtering of workflow runs table to the backend (#2829)
* 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>
2021-06-07 11:05:45 +05:30
Amit Kumar Das c77e5d24fe
Added podGC on revert-chaos (#2849)
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-06-03 17:45:21 +05:30
Sayan Mondal a12d5ce067
Fixing Save template editor and fixing Finish button CSS + Vertically aligning Save alert (#2859)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-03 17:26:27 +05:30
Soumya Ghosh Dastidar f47ad82485
Backend Enhancements for Portal (#2861)
* added standalone chaosengine support and enhancements

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-06-03 17:21:44 +05:30
VEDANT SHROTRIA 045377e130
Added data-cy ids for tests and minor bug fix (#2843)
* Added test-identifier
* Added data-cy ids and minor bug fix.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-06-02 18:03:27 +05:30