Skip to content

Commit

Permalink
feat: update log message and graphql schema
Browse files Browse the repository at this point in the history
  • Loading branch information
kwx4957 committed Dec 13, 2024
1 parent 5acf352 commit 428deef
Show file tree
Hide file tree
Showing 8 changed files with 60 additions and 309 deletions.
21 changes: 0 additions & 21 deletions chaoscenter/graphql/definitions/shared/chaos_experiment.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -326,27 +326,6 @@ type Weightages {
weightage: Int!
}


input ExperimentRunPhaseRequest {
projectID: ID!

"""
ID of the infra infra in which the experiment is running
"""
infraID: InfraIdentity!

"""
ID of the experiment run which is to be queried
"""
experimentRunID: String!

"""
notifyID is required to give an ack for non cron experiment execution
"""
notifyID: String
}


"""
Defines the details of a experiment run
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ extend type Query {
"""
Returns experiment run based on experiment run ID
"""
getExperimentRun(projectID: ID!, experimentRunID: ID, notifyID: ID): ExperimentRun!
getExperimentRun(projectID: ID!, experimentRunID: ID, notifyID: ID, infraID: InfraIdentity): ExperimentRun!

"""
Returns the list of experiment run based on various filter parameters
Expand All @@ -16,7 +16,6 @@ extend type Query {
Query to get experiment run stats
"""
getExperimentRunStats(projectID: ID!): GetExperimentRunStatsResponse!
getExperimentRunPhase(request: ExperimentRunPhaseRequest!): ExperimentRun!
}

extend type Mutation {
Expand Down
45 changes: 22 additions & 23 deletions chaoscenter/graphql/server/graph/chaos_experiment_run.resolvers.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 428deef

Please sign in to comment.