Skip to content

Commit 428deef

Browse files
committed
feat: update log message and graphql schema
1 parent 5acf352 commit 428deef

File tree

8 files changed

+60
-309
lines changed

8 files changed

+60
-309
lines changed

chaoscenter/graphql/definitions/shared/chaos_experiment.graphqls

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -326,27 +326,6 @@ type Weightages {
326326
weightage: Int!
327327
}
328328

329-
330-
input ExperimentRunPhaseRequest {
331-
projectID: ID!
332-
333-
"""
334-
ID of the infra infra in which the experiment is running
335-
"""
336-
infraID: InfraIdentity!
337-
338-
"""
339-
ID of the experiment run which is to be queried
340-
"""
341-
experimentRunID: String!
342-
343-
"""
344-
notifyID is required to give an ack for non cron experiment execution
345-
"""
346-
notifyID: String
347-
}
348-
349-
350329
"""
351330
Defines the details of a experiment run
352331
"""

chaoscenter/graphql/definitions/shared/chaos_experiment_run.graphqls

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ extend type Query {
22
"""
33
Returns experiment run based on experiment run ID
44
"""
5-
getExperimentRun(projectID: ID!, experimentRunID: ID, notifyID: ID): ExperimentRun!
5+
getExperimentRun(projectID: ID!, experimentRunID: ID, notifyID: ID, infraID: InfraIdentity): ExperimentRun!
66

77
"""
88
Returns the list of experiment run based on various filter parameters
@@ -16,7 +16,6 @@ extend type Query {
1616
Query to get experiment run stats
1717
"""
1818
getExperimentRunStats(projectID: ID!): GetExperimentRunStatsResponse!
19-
getExperimentRunPhase(request: ExperimentRunPhaseRequest!): ExperimentRun!
2019
}
2120

2221
extend type Mutation {

chaoscenter/graphql/server/graph/chaos_experiment_run.resolvers.go

Lines changed: 22 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)