Commit Graph

1411 Commits

Author SHA1 Message Date
Amit Kumar Das 51ac9bd8ee
Updated graphql schema and added filter in browse workflow section (#2062)
- Updated graphql schema with cluster_name and cluster_type in frontend
- Added filter functionality in the browse workflow section

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-09-14 10:36:18 +05:30
Soumya Ghosh Dastidar 7c1dd4365f
Directory re-structure for Self-Deployer and Workflow-Agent (#2046)
* Updated DIR structure for Seld-Deployer and WF-Agent

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-14 08:18:25 +05:30
Soumya Ghosh Dastidar fbcde6fc18
Fixed Workflow Status (#2061)
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-14 07:45:56 +05:30
Raj Babu Das 8183511f9c
Adding cluster_name and cluster_type to getScheduleWorkflows API (#2058)
Adding cluster_name and cluster_type to getScheduleWorkflows API



Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-13 22:58:48 +05:30
Raj Babu Das 895ebfa118
Adding cluster type in getworkflowrun api (#2015)
Adding cluster type in getworkflowrun API response

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-13 20:55:17 +05:30
Ishan Gupta 1199ab3d94
chore(litmus-portal): Home Page Stats for Litmus Portal. (#2053)
This commit removes two outdated test cases from the cypress test suite of PassedVsFailed component

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-13 20:11:35 +05:30
Arkajyoti Mukherjee 8e7cb5e22e
disabled create workflow for viewers (#2055)
- Disabled creation of workflows for users with viewer permissions
- Changed button to take any React node
Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-13 17:39:47 +05:30
Ishan Gupta d2c014a1b5
chore(litmus-portal): Added browse workflow analytics for litmus-portal. (#2054)
Apdded browse workflow Analytics
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-13 17:38:28 +05:30
Saranya Jena 6cfdac8d21
Bug fixes: displays error on modal for create user and change password (#2051)
- displays error on create-user modal if username entered already exists
- displays error on my-accounts modal if current password entered is wrong
- changed skip to back button
- Name and email is prepopulated in welcome modal
- Password reset is now done in one shot
- Creating workflow will always take you to browse workflows now
- typos fixed

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>
2020-09-13 09:59:00 +05:30
Saranya Jena f970fad0b8
chore:(Litmus Portal) Added functionality to my-accounts tabs, and other bug fixes (#2049)
- Added functionality to My Accounts tab
- Bug fixes for avatar
- CSS fixes
- password modal fixes: displays error on the modal if password change is unsuccessful
- tab fixes: sets to 1st tab when users log out.

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>
2020-09-12 15:39:51 +05:30
Raj Babu Das 279de058f3
changing backend-build machine to large (#2047)
- As both frontend and backend build parallel. We can reduce the VM size of the backend build because frontend build takes more time.
- Adding docker push only for master and release only

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-12 14:28:31 +05:30
Arkajyoti Mukherjee 4d976eb075
fixed userData persisting problem, logout bug fixes and cookie expiration problem (#2045)
- Clearing data on logout was not happening (fixed)
- User was unable to login due to token not being set properly (fixed)
- Persistor was not storing the userData immediately (fixed)

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-12 13:39:43 +05:30
Soumya Ghosh Dastidar daebbf6202
Update Workflow status depending on experiment (#2044)
- Workflow did not fail previously if the experiment failed.
- This PR updates the failure status of Workflow depending on Experiment Status

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-12 13:21:33 +05:30
Amit Kumar Das 29c7f566b5
chore(litmus-portal): Integration of schedule workflow table and updated the stats according to charthub (#2042)
This commit has the following changes:
- Integration of schedule workflow table
- Mutation to delete a scheduled workflow
- Styles change in the login page
- Re-arranging stats according to ChartHub
 
Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-09-12 13:11:59 +05:30
OUM NIVRATHI KALE 9b235731a4
removes the dummy data from templates that were used for experiments (#2033)
This commit removes the dummy data from templates that were used for experiments

Signed-off-by: Oum Nivrathi kale <oum.kale@mayadata.io>
2020-09-12 12:31:24 +05:30
Sayan Mondal 594c2b52a5
Fixed disabling & initial workflow selection (#2038)
- Fixes pre selection of workflow card when returning back from template
- Adds a button toggle er global state
- Doesn't tamper with workflow ID when creating a new schedule
- Adds few colors to themes that were not earlier included
Signed-off-by: Sayan Mondal <sayan.mondal@mayadata.io>
2020-09-12 02:27:32 +05:30
Raj Babu Das fbb5cfca09
Increase the resource size of circleci (#2040)
Increase the resource size of circleci
Build time- 8 mins
Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-12 01:36:56 +05:30
Raj Babu Das 4406f00630
Bug-fix: using copier to copy the weightages struct (#2039)
using copier to copy the weightages struct

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-11 23:38:45 +05:30
Raj Babu Das 7d0f2e3ada
Adding get chaos workflow list (#2034)
Adding get chaos workflow list API

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-11 22:08:41 +05:30
Soumya Ghosh Dastidar 9b1fca599b
Separating frontend and backend build to run parallel (#2036)
- Separating frontend and backend build to run parallel
Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-11 21:44:40 +05:30
Sanjay Nathani ff634536a9
Create user error (#2032)
* create user error fix

Signed-off-by: Sanjay Nathani <sanjay.nathani@mayadata.io>

* update password endpoint

Signed-off-by: Sanjay Nathani <sanjay.nathani@mayadata.io>

* extending token expiry time

Signed-off-by: Sanjay Nathani <sanjay.nathani@mayadata.io>
2020-09-11 20:02:08 +05:30
Arkajyoti Mukherjee 66b21c292b
chore: (litmus-portal) User logout after jwt expiration and Analytics page route (#2035)
- The user now gets logged out after the jwt token gets expired
- created route and data fetching for analytics page
- fixed bug of updating user details

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-11 19:44:06 +05:30
Sanjay Nathani 502a291ae9
updating the user (#2031)
This commit updates the user in the graphql-server DB. Format of the mutations will be like
mutation updateUser{
  updateUser(user: {id: "d51ab410-06fc-414b-a4c7-d0502d8d3c1a", name: "Richard Hill", email: "richard@gmail.com"})
}
Signed-off-by: Sanjay Nathani <sanjay.nathani@mayadata.io>
2020-09-11 13:17:50 +05:30
Arkajyoti Mukherjee 456c67e409
chore: (litmus-portal) Final build bug fixes, refactoring and imporvements (#2029)
- refactored directory structure for frontend
- browse workflow table fixes and header notification fixes
- settings and project selection fixes
- project switching fixes, routing changes for settings and disabling buttons for release
- routes and breadcrumbs fixed
- tab switching improved with redux
Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-10 22:40:31 +05:30
Chandan Kumar c9ce014d5d
Fix the login page translation and theme (#2030)
Signed-off-by: Chandan Kumar <chandan.kumar@mayadata.io>
2020-09-10 19:56:56 +05:30
Arkajyoti Mukherjee 8623ee3518
chore: (litmus-portal) Refactoring and bug fixes (#2027)
This commit has the following changes:
- folder structure change for models and useEffect fixes
- user redux fixed
- graphql documents re-organised

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-10 12:05:56 +05:30
Ishan Gupta c481a57c2e
chore(litmus-portal): Editor update with time-stamp based workflow mapping. (#2021)
Refractor and update Editor as per new designs and add UNIX time-stamp to name as replacement of generateName.

Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-10 10:12:50 +05:30
Ishan Gupta c86dfe90de
Project API integration bug fix. (#2024)
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-10 00:26:45 +05:30
Amit Kumar Das 5fd794a8ad
chore(litmus-portal): Changed the date range picker component and minor fix in search filter (#2022)
- Changed the Date Range Picker
- Minor fix in search filter and minor css fix in settings page

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-09-09 22:14:43 +05:30
Saranya Jena 45f24cba48
chore(Litmus Portal) : Teamming UI screens and other Fixes (#1939)
This commit has the following changes:
- Added loader to welcome modal so that it won't pop up every time the homepage is rendered.
- Added UI screens for Teaming tab
- Refactored code for user management table and added pagination to the tables

Signed-off-by: Saranya-jena <saranya.jena@mayadata.io>
2020-09-09 18:13:10 +05:30
Raj Babu Das dfbe7082ae
Refactoring push script and circleci config (#1980)
- circleci config: Adding release job, separate every docker build into steps to easily debug the failed builds
- push script: Refactoring push script to push release tags

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-09 17:24:59 +05:30
Ishan Gupta b2245d65ef
chore(litmus-portal): Error page updated. (#2012)
Error page refractor and update as per new designs
.
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-09 16:51:05 +05:30
Ishan Gupta ee6e8fa31a
chore (litmus-portal): Header updates for project switching, necessary bug fixes for it and disabling notifications button in header. (#1997)
This commit adds project switching feature from the UI also adds necessary checks required for project selection . Also disables notifications.
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-09 16:44:56 +05:30
Arkajyoti Mukherjee a9a394af95
added fix for workflow data fetching changed workflow_name to workflow_run_id as the unique value (#2016)
added fix for workflow data fetching changed workflow_name to workflow_run_id as the unique value


Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-09 14:14:34 +05:30
VEDANT SHROTRIA 1256b0b6f6
Adding typings in useMutation. (#2014)
Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-09-09 14:05:53 +05:30
Soumya Ghosh Dastidar 04a64f8c8a
Added Basic Authorization for GQL Operations (#1970)
- Created Middleware and Directives to handle authorization for user-specific operations
- Added JWT token in frontend for every gql-operation

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-09 13:24:14 +05:30
Soumya Ghosh Dastidar 41d117f7e4
(auth-server) Moved constants to ENV vars (#1972)
This commit has the following changes:
- Moved auth-server constants to env var
- Updated BetterCI manifest

Signed-off-by: Soumya Ghosh Dastidar <gdsoumya@gmail.com>
2020-09-09 13:05:24 +05:30
Sanjay Nathani 4cc9c6a870
send accept and decline invitation (#1982)
This commit contains the following changes in the API layer:
- User will be able to send an invitation to another user
- User will be able to accept an invitation from another user
- User will be able to decline an invitation from other users
- Get all users at once (will not contain project related details of any user)


Signed-off-by: Sanjay Nathani <sanjay.nathani@mayadata.io>
2020-09-09 12:25:11 +05:30
Sayan Mondal ab4b61df06
chore(litmus-portal): Updated Login validation (#2004)
Updated Login password validation based on response code from the authentication server

Signed-off-by: Sayan Mondal <sayan.mondal@mayadata.io>
2020-09-09 12:20:59 +05:30
OUM NIVRATHI KALE 32a9552ea3
Refactoring for Workflow Scheduling and Bug Fixes (#1864)
This commit has the following changes:
- Custom Stepper Button Disabled for errors in Yaml
- Reliability Score Button fix
- Scheduling bug fixes
- Renaming for Workflow name
- Default value 10 for ReliabilityScore
- Unrequired link are disabled Eg: VerifyCommit Github link
- Yaml Editor Bug fixed (Full-screen component)
- CSS refactoring
- Disabled edit option for scheduling time
- Disabled Demo Launch


Signed-off-by: Oum kale <oum.kale@mayadata.io>
2020-09-09 12:19:36 +05:30
VEDANT SHROTRIA 713af69133
Changed install script to skip cypress installation in Dockerfile. (#2005)
This commit will add flag "CYPRESS_INSTALL_BINARY=0" to skip Cypress installation

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-09-09 11:55:34 +05:30
Raj Babu Das c3369bfb83
Changing MongoDB operation for a unique update of workflow collection (#2010)
Currently, workflow-collection inserts duplicate workflow_run_id. This commit will do a custom upsert operation.

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-09 11:39:40 +05:30
Raj Babu Das 245ec822d4
Adding circle-ci badge in README.md (#2013)
* Adding circle-ci badge

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-09 10:20:55 +05:30
Ishan Gupta 526bcc257e
Updated predefined workflows and parsing for the same. (#2003)
Update chaos workflow manifests in chaos-charts and predefined workflows in litmus-portal with parser update as per updated manifest.
Signed-off-by: ishangupta-ds <ishan.gupta@mayadata.io>
2020-09-09 08:30:19 +05:30
Saswata Mukherjee 85b495541a
chore (litmus-portal): Refactor Settings section to use InputField (#2000)
Refactored all the components inside of the Settings section to use the unified and customisable InputField component. This will ensures consistency in styling as well as input handling and validation methods.

Signed-off-by: Saswata Mukherjee <saswataminsta@yahoo.com>

Co-authored-by: Sayan Mondal <sayan.mondal@mayadata.io>
2020-09-08 18:39:33 +05:30
Raj Babu Das f29c20e2cd
Workflow collection normalization (#1979)
- Normalising workflow-collections and workflow-run collections.
- Changes in getWorkflowruns gql API
- Changes in WorkFlowRunHandler gql API

Signed-off-by: Raj Babu Das <raj.das@mayadata.io>
2020-09-08 10:16:07 +05:30
VEDANT SHROTRIA 04da553830
Added Hover shadow for cards and some important checks for activation of subscriber. (#1976)
- Add Hover shadow for cards
- Add check for activation of subscriber, so that the user won't be allowed to continue before the subscriber is ready.
- Some important refactoring for CSS of Custom buttons. [ Reduces the repetition of CSS ]
- Refactoring of Create Workflow Name Modal on Choose Workflow Screen. [ Uses custom buttons now and some refactoring ]
- Added SnackBar Component to show an alert if subscriber is not ready instead of plane text in bottom of screen.

Signed-off-by: Vedant Shrotria <vedant.shrotria@mayadata.io>
2020-09-08 08:21:15 +05:30
Arkajyoti Mukherjee 7f7cb65980
chore (litmus-portal): Added argo workflow representation using dagre d3 graph (#1975)
- Argo workflow representation using dagre d3
- Subscription fixes
- removed unnecessary re-rendering
- refactoring of few components
- renaming to appropriate names for few components

Signed-off-by: arkajyotiMukherjee <arkajyoti.mukherjee@mayadata.io>
2020-09-07 20:28:33 +05:30
Sanjay Nathani 85a0fede89
feat(litmus-portal): fixing bug in user creation (#1984)
Signed-off-by: Sanjay Nathani <sanjay.nathani@mayadata.io>
2020-09-07 18:43:11 +05:30
Amit Kumar Das 7ff1ec515e
chore (litmus-portal): Blocking the routes when Welcome Modal is open and some minor changes (#1983)
- Blocking the routes when the Welcome Modal is Open
- Validates the parsing of the execution_data
- Minor CSS changes

Signed-off-by: Amit Kumar Das <amitkumar.das@mayadata.io>
2020-09-07 18:32:03 +05:30