Commit Graph

528 Commits

Author SHA1 Message Date
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
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
Sayan Mondal 1b42462345
🔧 type(bugfix): Fixed Editor for Verify & Commit and Tune Workflow page 🔨 (#2857)
* Added Updated Editor
* Replaced Editor in Verify & Commit Page
* Fixing Editor cursor
* Added validation to Editor

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-06-02 13:15:04 +05:30
Amit Kumar Das c638304960
chore(litmus-portal): Added validation in probes modal and minor fix (#2842)
* Added validation in probes modal and minor fix
* Minor change in directory structure and fixed template graph not rendering issue
* Minor regex change for validating ssh links

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-31 09:34:15 +05:30
VEDANT SHROTRIA cd72a7a40a
Upgraded Images for Chaos-Operator, Runner and Exporter. (#2840)
* Upgraded versions of chaos-operator, runner and exporter.

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

* Added minor changes in actions workflow.

Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-05-27 12:27:30 +05:30
Amit Kumar Das fcdfecf8a1
chore(litmus-portal): Added pre-defined workflows in myhub and minor bug fix (#2837)
* Added pre-defined experiments in myhub and bug fix
* Minor change in query name

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-27 11:21:20 +05:30
Amit Kumar Das 26d5bbb3c3
type(bug-fix): Added kubeobj fix for namespace mode, agent-config fix and isCustomworkflow field for template (#2832)
* Added kubeobj fix for namespace mode, agent-config fix and isCustomworkflow field
* Added authorization for api

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-26 14:28:42 +05:30
Sayan Mondal ddcc7c7589
Fixed ux issue 28, 29 and 36 (#2835)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-25 13:33:08 +05:30
Sayan Mondal 6563d0f435
🔨 Making Graph Visualization Green + Fixing Editor UI (#2833)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-24 15:49:48 +05:30
Amit Kumar Das 0c49869d10
type(ux): Added time-stamp popover and download logs button (#2830)
* Added time pop-over and download logs functionality

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

* Minor translation fix

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-24 13:35:34 +05:30
Sayan Mondal e35c2b6d61
Fixed ux-issue 16, 38 and 39 (#2828)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-24 10:00:57 +05:30
Amit Kumar Das 661a2a3ecd
type(ui-refactor): Added edit MyHub drawer and minor directory restructure (#2827)
* Added edit drawer for myHub
* Added cancel button functionality

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-24 09:57:15 +05:30
Sayan Mondal be94b251bc
type(ux): Adding enable schedule (ux-issue 14) + fixing ux issue 7 and 11 (#2824)
* Adding enable schedule (ux-issue 14) + fixing ux issue 7 and 11
* Updating logic for Disable and Enable schedule
* Removing comments

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-20 17:39:48 +05:30
Amit Kumar Das 16866af9c0
type(ui-refactor): Updated MyHub UI and added connect myhub drawer (#2826)
* Updated the UI of MyHub and added add-hub drawer
* Added data-cy tags for e2e
* Minor css changes

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-20 16:59:21 +05:30
Amit Kumar Das 4abf37b6ed
Updating service account of chaosengine before patching in workflow manifest (#2825)
Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-20 12:11:11 +05:30
Amit Kumar Das 41ecfc33ed
Added unit-test cases for workflow name and custom status (#2819)
* Added test cases for workflow name and custom status
* Minor change
* Added comments

Signed-off-by: Amit Kumar Das <amit@chaosnative.com>
2021-05-19 15:18:56 +05:30
Sayan Mondal 942441eb28
Fixed revert chaos deletion issue for Pre-Defined Workflows (#2822)
Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-19 12:09:44 +05:30
Sayan Mondal 9428a46a7b
type(ux): Fixed UX Issue 3, 4 and 10 🔨 🔨 (#2820)
* Fixed UX Issue 3, 4 and 10
* Fixed minor text issue
* Removing comments

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-19 09:57:43 +05:30
VEDANT SHROTRIA 07d7901055
Added icon-Fix (#2821)
Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-05-18 20:21:15 +05:30
Soumya Ghosh Dastidar 5abf1cfc2b
Updated pod logs to fetch argo and experiment logs independently (#2815)
* updated pod logs to fetch argo and experiment logs independently

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2021-05-18 11:22:38 +05:30
Sayan Mondal 3ccb76f9a7
type(bugfix): 🐛 Fixed revert chaos not working after returning to tune worklfow and adding a new experiment 🐛 (#2814)
* Fixed revert chaos not working after returning to tune worklfow and adding a new experiment
* Removed extra comment

Signed-off-by: Sayan Mondal <sayan@chaosnative.com>
2021-05-18 10:13:54 +05:30
Raj Babu Das 3bd3efe4af
Upgrading to beta7 (#2816)
Signed-off-by: Raj Das <raj@chaosnative.com>
2021-05-17 17:35:09 +05:30
VEDANT SHROTRIA e7283195ea
Added CRD for Event-tracker (#2812)
Signed-off-by: Jonsy13 <vedant.shrotria@chaosnative.com>
2021-05-17 07:32:44 +00:00
Raj Babu Das 8c3d20abbd
upgrading litmusportal manifest to 2.0.0-Beta6 (#2810)
Signed-off-by: Raj Das <raj@chaosnative.com>
2021-05-15 23:54:26 +05:30