Skip to content

Commit ab65c75

Browse files
authored
Merge branch 'master' into branch1
2 parents c8b7184 + 0c4d175 commit ab65c75

File tree

82 files changed

+23044
-991
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

82 files changed

+23044
-991
lines changed

.github/workflows/push.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ jobs:
6363
# echo export DEX_SERVER="litmusportal-dex-server" >> env-vars
6464
6565
- name: Uploading envs
66-
uses: actions/upload-artifact@v2
66+
uses: actions/upload-artifact@v4
6767
with:
6868
name: env_artifact
6969
path: chaoscenter/env-vars
@@ -78,7 +78,7 @@ jobs:
7878
uses: actions/checkout@v4
7979

8080
- name: Downloading image artficate
81-
uses: actions/download-artifact@v2
81+
uses: actions/download-artifact@v4
8282
with:
8383
name: env_artifact
8484
path: chaoscenter
@@ -116,7 +116,7 @@ jobs:
116116
uses: actions/checkout@v4
117117

118118
- name: Downloading image artficate
119-
uses: actions/download-artifact@v2
119+
uses: actions/download-artifact@v4
120120
with:
121121
name: env_artifact
122122
path: chaoscenter
@@ -154,7 +154,7 @@ jobs:
154154
uses: actions/checkout@v4
155155

156156
- name: Downloading image artficate
157-
uses: actions/download-artifact@v2
157+
uses: actions/download-artifact@v4
158158
with:
159159
name: env_artifact
160160
path: chaoscenter
@@ -192,7 +192,7 @@ jobs:
192192
uses: actions/checkout@v4
193193

194194
- name: Downloading image artficate
195-
uses: actions/download-artifact@v2
195+
uses: actions/download-artifact@v4
196196
with:
197197
name: env_artifact
198198
path: chaoscenter
@@ -243,7 +243,7 @@ jobs:
243243
uses: actions/checkout@v4
244244

245245
- name: Downloading image artficate
246-
uses: actions/download-artifact@v2
246+
uses: actions/download-artifact@v4
247247
with:
248248
name: env_artifact
249249
path: chaoscenter
@@ -279,4 +279,4 @@ jobs:
279279
source env-vars
280280
FRONTEND_IMAGE=${{ matrix.frontend.image_name }}
281281
timestamp=`date "+%s"`
282-
make push-frontend
282+
make push-frontend

ADOPTERS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The companies listed here conform to [CNCF's definition of end-users](https://gi
2929
|[Flipkart](https://www.flipkart.com/)|Chaos Engineering at Flipkart|[Our Story](https://github.com/litmuschaos/litmus/issues/2191#issuecomment-1966904935)|
3030
|[Talend](https://www.talend.com/)|Chaos Engineering for our pipelines and weekly checks|[Our Story](https://github.com/litmuschaos/litmus/issues/2191#issuecomment-2005254600)|
3131
|[Delivery Hero](https://www.deliveryhero.com/)|Enhancing Resiliency of Our Services|[Our Story](https://github.com/litmuschaos/litmus/issues/2191#issuecomment-1997465958)|
32-
32+
|[Wingie Enuygun Company](https://www.wingie.com/)|Chaos Engineering for an Online Travel and Finance Platform|[Our Story](https://github.com/litmuschaos/litmus/issues/2191#issuecomment-2331265698)|
3333

3434
### Cloud-Native Vendors
3535

README.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ Fill out the [LitmusChaos Meetings invite form](https://forms.gle/xYZyZ2gTWMqz7x
129129

130130
Community Blogs:
131131

132-
- Daniyal Rayn: [Do I need Chaos Engineering on my environment? Trust me you need it!](https://maveric-systems.com/blog/do-i-need-chaos-engineering-on-my-environment-trust-me-you-need-it/)
133132
- LiveWyer: [LitmusChaos Showcase: Chaos Experiments in a Helm Chart Test Suite](https://livewyer.io/blog/2021/03/22/litmuschaos-showcase-chaos-experiments-in-a-helm-chart-test-suite/)
134133
- Jessica Cherry: [Test Kubernetes cluster failures and experiments in your terminal](https://opensource.com/article/21/6/kubernetes-litmus-chaos)
135134
- Yang Chuansheng(KubeSphere): [KubeSphere 部署 Litmus 至 Kubernetes 开启混沌实验](https://kubesphere.io/zh/blogs/litmus-kubesphere/)
@@ -138,8 +137,6 @@ Community Blogs:
138137
- Akram Riahi(WeScale):[Chaos Engineering : Litmus sous tous les angles](https://blog.wescale.fr/2021/03/11/chaos-engineering-litmus-sous-tous-les-angles/)
139138
- Prashanto Priyanshu(LensKart):[Lenskart’s approach to Chaos Engineering-Part 2](https://blog.lenskart.com/lenskarts-approach-to-chaos-engineering-part-2-6290e4f3a74e)
140139
- DevsDay.ru(Russian):[LitmusChaos at Kubecon EU '21](https://devsday.ru/blog/details/40746)
141-
- Ryan Pei(Armory): [LitmusChaos in your Spinnaker Pipeline](https://www.armory.io/blog/litmuschaos-in-your-spinnaker-pipeline/)
142-
- David Gildeh(Zebrium): [Using Autonomous Monitoring with Litmus Chaos Engine on Kubernetes](https://www.zebrium.com/blog/using-autonomous-monitoring-with-litmus-chaos-engine-on-kubernetes)
143140

144141

145142
## Adopters

chaoscenter/authentication/api/handlers/rest/project_handler.go

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,12 @@ func CreateProject(service services.ApplicationService) gin.HandlerFunc {
325325
initialLogin, err := CheckInitialLogin(service, userRequest.UserID)
326326
if err != nil {
327327
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
328-
} else if initialLogin {
328+
return
329+
}
330+
331+
if initialLogin {
329332
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
333+
return
330334
}
331335

332336
// checking if project name is empty
@@ -456,8 +460,12 @@ func SendInvitation(service services.ApplicationService) gin.HandlerFunc {
456460
initialLogin, err := CheckInitialLogin(service, c.MustGet("uid").(string))
457461
if err != nil {
458462
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
459-
} else if initialLogin {
463+
return
464+
}
465+
466+
if initialLogin {
460467
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
468+
return
461469
}
462470

463471
// Validating member role
@@ -558,8 +566,12 @@ func AcceptInvitation(service services.ApplicationService) gin.HandlerFunc {
558566
initialLogin, err := CheckInitialLogin(service, c.MustGet("uid").(string))
559567
if err != nil {
560568
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
561-
} else if initialLogin {
569+
return
570+
}
571+
572+
if initialLogin {
562573
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
574+
return
563575
}
564576

565577
err = validations.RbacValidator(c.MustGet("uid").(string), member.ProjectID,
@@ -614,8 +626,12 @@ func DeclineInvitation(service services.ApplicationService) gin.HandlerFunc {
614626
initialLogin, err := CheckInitialLogin(service, c.MustGet("uid").(string))
615627
if err != nil {
616628
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
617-
} else if initialLogin {
629+
return
630+
}
631+
632+
if initialLogin {
618633
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
634+
return
619635
}
620636

621637
err = validations.RbacValidator(c.MustGet("uid").(string), member.ProjectID,
@@ -684,8 +700,12 @@ func LeaveProject(service services.ApplicationService) gin.HandlerFunc {
684700
initialLogin, err := CheckInitialLogin(service, c.MustGet("uid").(string))
685701
if err != nil {
686702
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
687-
} else if initialLogin {
703+
return
704+
}
705+
706+
if initialLogin {
688707
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
708+
return
689709
}
690710

691711
err = validations.RbacValidator(c.MustGet("uid").(string), member.ProjectID,
@@ -744,8 +764,12 @@ func RemoveInvitation(service services.ApplicationService) gin.HandlerFunc {
744764
initialLogin, err := CheckInitialLogin(service, c.MustGet("uid").(string))
745765
if err != nil {
746766
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
747-
} else if initialLogin {
767+
return
768+
}
769+
770+
if initialLogin {
748771
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
772+
return
749773
}
750774

751775
err = validations.RbacValidator(c.MustGet("uid").(string), member.ProjectID,
@@ -824,8 +848,12 @@ func UpdateProjectName(service services.ApplicationService) gin.HandlerFunc {
824848
initialLogin, err := CheckInitialLogin(service, c.MustGet("uid").(string))
825849
if err != nil {
826850
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
827-
} else if initialLogin {
851+
return
852+
}
853+
854+
if initialLogin {
828855
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
856+
return
829857
}
830858

831859
err = validations.RbacValidator(c.MustGet("uid").(string),

chaoscenter/authentication/api/handlers/rest/user_handlers.go

Lines changed: 26 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -136,13 +136,18 @@ func UpdateUser(service services.ApplicationService) gin.HandlerFunc {
136136
initialLogin, err := CheckInitialLogin(service, uid)
137137
if err != nil {
138138
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
139-
} else if initialLogin {
139+
return
140+
}
141+
142+
if initialLogin {
140143
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
144+
return
141145
}
142146

143147
err = service.UpdateUser(&userRequest)
144148
if err != nil {
145149
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
150+
return
146151
}
147152
c.JSON(http.StatusOK, gin.H{"message": "User details updated successfully"})
148153
}
@@ -554,8 +559,12 @@ func ResetPassword(service services.ApplicationService) gin.HandlerFunc {
554559
initialLogin, err := CheckInitialLogin(service, uid)
555560
if err != nil {
556561
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
557-
} else if initialLogin {
562+
return
563+
}
564+
565+
if initialLogin {
558566
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
567+
return
559568
}
560569

561570
if userPasswordRequest.NewPassword != "" {
@@ -610,8 +619,12 @@ func UpdateUserState(service services.ApplicationService) gin.HandlerFunc {
610619
initialLogin, err := CheckInitialLogin(service, adminUser.ID)
611620
if err != nil {
612621
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
613-
} else if initialLogin {
622+
return
623+
}
624+
625+
if initialLogin {
614626
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
627+
return
615628
}
616629

617630
if entities.Role(userRole) != entities.RoleAdmin {
@@ -689,8 +702,12 @@ func CreateApiToken(service services.ApplicationService) gin.HandlerFunc {
689702
initialLogin, err := CheckInitialLogin(service, apiTokenRequest.UserID)
690703
if err != nil {
691704
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
692-
} else if initialLogin {
705+
return
706+
}
707+
708+
if initialLogin {
693709
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
710+
return
694711
}
695712

696713
// Checking if user exists
@@ -785,8 +802,12 @@ func DeleteApiToken(service services.ApplicationService) gin.HandlerFunc {
785802
initialLogin, err := CheckInitialLogin(service, deleteApiTokenRequest.UserID)
786803
if err != nil {
787804
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrServerError))
788-
} else if initialLogin {
805+
return
806+
}
807+
808+
if initialLogin {
789809
c.JSON(utils.ErrorStatusCodes[utils.ErrServerError], presenter.CreateErrorResponse(utils.ErrPasswordNotUpdated))
810+
return
790811
}
791812

792813
token := deleteApiTokenRequest.Token

chaoscenter/authentication/go.mod

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ require (
1212
github.com/sirupsen/logrus v1.9.3
1313
github.com/stretchr/testify v1.9.0
1414
github.com/swaggo/swag v1.16.3
15-
go.mongodb.org/mongo-driver v1.16.1
15+
go.mongodb.org/mongo-driver v1.17.0
1616
golang.org/x/crypto v0.26.0
17-
golang.org/x/oauth2 v0.20.0
18-
google.golang.org/grpc v1.65.0
17+
golang.org/x/oauth2 v0.21.0
18+
google.golang.org/grpc v1.66.2
1919
google.golang.org/protobuf v1.34.2
2020
)
2121

@@ -56,14 +56,14 @@ require (
5656
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
5757
github.com/xdg-go/scram v1.1.2 // indirect
5858
github.com/xdg-go/stringprep v1.0.4 // indirect
59-
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect
59+
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
6060
golang.org/x/arch v0.8.0 // indirect
61-
golang.org/x/net v0.25.0 // indirect
61+
golang.org/x/net v0.26.0 // indirect
6262
golang.org/x/sync v0.8.0 // indirect
6363
golang.org/x/sys v0.23.0 // indirect
6464
golang.org/x/text v0.17.0 // indirect
6565
golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect
66-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 // indirect
66+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 // indirect
6767
gopkg.in/square/go-jose.v2 v2.6.0 // indirect
6868
gopkg.in/yaml.v3 v3.0.1 // indirect
6969
)

chaoscenter/authentication/go.sum

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -116,11 +116,11 @@ github.com/xdg-go/scram v1.1.2 h1:FHX5I5B4i4hKRVRBCFRxq1iQRej7WO3hhBuJf+UUySY=
116116
github.com/xdg-go/scram v1.1.2/go.mod h1:RT/sEzTbU5y00aCK8UOx6R7YryM0iF1N2MOmC3kKLN4=
117117
github.com/xdg-go/stringprep v1.0.4 h1:XLI/Ng3O1Atzq0oBs3TWm+5ZVgkq2aqdlvP9JtoZ6c8=
118118
github.com/xdg-go/stringprep v1.0.4/go.mod h1:mPGuuIYwz7CmR2bT9j4GbQqutWS1zV24gijq1dTyGkM=
119-
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d h1:splanxYIlg+5LfHAM6xpdFEAYOk8iySO56hMFq6uLyA=
120-
github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d/go.mod h1:rHwXgn7JulP+udvsHwJoVG1YGAP6VLg4y9I5dyZdqmA=
119+
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 h1:ilQV1hzziu+LLM3zUTJ0trRztfwgjqKnBWNtSRkbmwM=
120+
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78/go.mod h1:aL8wCCfTfSfmXjznFBSZNN13rSJjlIOI1fUNAtF7rmI=
121121
github.com/yuin/goldmark v1.4.13/go.mod h1:6yULJ656Px+3vBD8DxQVa3kxgyrAnzto9xy5taEt/CY=
122-
go.mongodb.org/mongo-driver v1.16.1 h1:rIVLL3q0IHM39dvE+z2ulZLp9ENZKThVfuvN/IiN4l8=
123-
go.mongodb.org/mongo-driver v1.16.1/go.mod h1:oB6AhJQvFQL4LEHyXi6aJzQJtBiTQHiAd83l0GdFaiw=
122+
go.mongodb.org/mongo-driver v1.17.0 h1:Hp4q2MCjvY19ViwimTs00wHi7G4yzxh4/2+nTx8r40k=
123+
go.mongodb.org/mongo-driver v1.17.0/go.mod h1:wwWm/+BuOddhcq3n68LKRmgk2wXzmF6s0SFOa0GINL4=
124124
golang.org/x/arch v0.0.0-20210923205945-b76863e36670/go.mod h1:5om86z9Hs0C8fWVUuoMHwpExlXzs5Tkyp9hOrfG7pp8=
125125
golang.org/x/arch v0.8.0 h1:3wRIsP3pM4yUptoR96otTUOXI367OS0+c9eeRi9doIc=
126126
golang.org/x/arch v0.8.0/go.mod h1:FEVrYAQjsQXMVJ1nsMoVVXPZg6p2JE2mx8psSWTDQys=
@@ -139,11 +139,11 @@ golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLL
139139
golang.org/x/net v0.0.0-20200505041828-1ed23360d12c/go.mod h1:qpuaurCH72eLCgpAm/N6yyVIVM9cpaDIP3A8BGJEC5A=
140140
golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg=
141141
golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c=
142-
golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=
143-
golang.org/x/net v0.25.0/go.mod h1:JkAGAh7GEvH74S6FOH42FLoXpXbE/aqXSrIQjXgsiwM=
142+
golang.org/x/net v0.26.0 h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=
143+
golang.org/x/net v0.26.0/go.mod h1:5YKkiSynbBIh3p6iOc/vibscux0x38BZDkn8sCUPxHE=
144144
golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod h1:gOpvHmFTYa4IltrdGE7lF6nIHvwfUNPOp7c8zoXwtLw=
145-
golang.org/x/oauth2 v0.20.0 h1:4mQdhULixXKP1rwYBW0vAijoXnkTG0BLCDRzfe1idMo=
146-
golang.org/x/oauth2 v0.20.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
145+
golang.org/x/oauth2 v0.21.0 h1:tsimM75w1tF/uws5rbeHzIWxEqElMehnc+iW793zsZs=
146+
golang.org/x/oauth2 v0.21.0/go.mod h1:XYTD2NtWslqkgxebSiOHnXEap4TF09sJSc7H1sXbhtI=
147147
golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
148148
golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
149149
golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM=
@@ -176,10 +176,10 @@ golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxb
176176
golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
177177
golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0=
178178
google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4=
179-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157 h1:Zy9XzmMEflZ/MAaA7vNcoebnRAld7FsPW1EeBB7V0m8=
180-
google.golang.org/genproto/googleapis/rpc v0.0.0-20240528184218-531527333157/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
181-
google.golang.org/grpc v1.65.0 h1:bs/cUb4lp1G5iImFFd3u5ixQzweKizoZJAwBNLR42lc=
182-
google.golang.org/grpc v1.65.0/go.mod h1:WgYC2ypjlB0EiQi6wdKixMqukr6lBc0Vo+oOgjrM5ZQ=
179+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117 h1:1GBuWVLM/KMVUv1t1En5Gs+gFZCNd360GGb4sSxtrhU=
180+
google.golang.org/genproto/googleapis/rpc v0.0.0-20240604185151-ef581f913117/go.mod h1:EfXuqaE1J41VCDicxHzUDm+8rk+7ZdXzHV0IhO/I6s0=
181+
google.golang.org/grpc v1.66.2 h1:3QdXkuq3Bkh7w+ywLdLvM56cmGvQHUMZpiCzt6Rqaoo=
182+
google.golang.org/grpc v1.66.2/go.mod h1:s3/l6xSSCURdVfAnL+TqCNMyTDAGN6+lZeVxnZR128Y=
183183
google.golang.org/protobuf v1.34.2 h1:6xV6lTsCfpGD21XK49h7MhtcApnLqkfYgPcdHftf6hg=
184184
google.golang.org/protobuf v1.34.2/go.mod h1:qYOHts0dSfpeUzUFpOMr/WGzszTmLH+DiWniOlNbLDw=
185185
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=

chaoscenter/authentication/pkg/utils/configs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ var (
3737
ApiTokenCollection = "api-token"
3838
UsernameField = "username"
3939
ExpiresAtField = "expires_at"
40-
PasswordEncryptionCost = 15
40+
PasswordEncryptionCost = 8
4141
DefaultLitmusGqlGrpcEndpoint = "localhost"
4242
DefaultLitmusGqlGrpcPort = ":8000"
4343
//DefaultLitmusGqlGrpcPortHttps = ":8001" // enable when in use

chaoscenter/graphql/definitions/shared/chaos_experiment.graphqls

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -715,7 +715,7 @@ type GetExperimentStatsResponse {
715715
totalExpCategorizedByResiliencyScore: [ResilienceScoreCategory]!
716716
}
717717

718-
extend type Query {
718+
type Query {
719719

720720

721721
"""
@@ -737,7 +737,7 @@ extend type Query {
737737
getExperimentStats(projectID: ID!): GetExperimentStatsResponse!
738738
}
739739

740-
extend type Mutation {
740+
type Mutation {
741741
"""
742742
Creates a new experiment and applies its manifest
743743
"""

chaoscenter/graphql/definitions/shared/chaos_infrastructure.graphqls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -705,7 +705,7 @@ extend type Mutation {
705705
kubeNamespace(request: KubeNamespaceData!): String!
706706
}
707707

708-
extend type Subscription {
708+
type Subscription {
709709
# INFRA OPERATIONS
710710
"""
711711
Listens infra events from the graphql server

0 commit comments

Comments
 (0)