Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when subscriber can not get argo pod logs, make pod log message intuitive #4926

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
21 changes: 21 additions & 0 deletions chaoscenter/graphql/definitions/shared/chaos_experiment.graphqls
Original file line number Diff line number Diff line change
Expand Up @@ -326,6 +326,27 @@ 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 @@ -16,6 +16,7 @@ extend type Query {
Query to get experiment run stats
"""
getExperimentRunStats(projectID: ID!): GetExperimentRunStatsResponse!
getExperimentRunPhase(request: ExperimentRunPhaseRequest!): ExperimentRun!
}

extend type Mutation {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,10 @@ input PodLogRequest {
"""
infraID: ID!
"""

"""
projectID: ID!
"""
ID of a experiment run
"""
experimentRunID: ID!
Expand Down
17 changes: 17 additions & 0 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
Loading