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
Added UI screens for Resiliency probes #4154
Conversation
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
…robes-frontend Signed-off-by: Saranya-jena <saranya.jena@harness.io>
>): GqlAPIQueryResponse<GetExperimentRunResponse, GetExperimentRunRequest> { | ||
const { data, loading, ...rest } = useQuery<GetExperimentRunResponse, GetExperimentRunRequest>( | ||
gql` | ||
query getExperimentRun($identifiers: IdentifiersRequest!, $experimentRunID: String, $notifyID: String) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We are taking projectID
but not replacing identifiers
with the same
name | ||
type | ||
infrastructureType | ||
kubernetesHTTPProperties { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add attempt
and evaluationTimeout
for all probes, only CMD probe has attempt
in this implementation
username | ||
} | ||
httpProperties { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to kubernetesHTTPProperties
labelSelector | ||
operation | ||
} | ||
cmdProperties { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please change this to kubernetesCMDProperties
margin={{ right: 'xsmall' }} | ||
/> | ||
<Text font={{ variation: FontVariation.H6 }} color={Color.WHITE}> | ||
NOT STARTED |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please take from strings
</Text> | ||
<Layout.Vertical spacing={'small'}> | ||
<Text font={{ variation: FontVariation.FORM_LABEL }} color={Color.WHITE}> | ||
{getString('selectChaosInfrastructureType')} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please comment this string too
} | ||
} | ||
|
||
export function getIcon(type: ProbeType): IconName { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we add the icons for K8S and PROM too if they are published in harnessio!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will need more discussion on adding it to OSS, this is for immediate solution.
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Signed-off-by: Saranya-jena <saranya.jena@harness.io>
Proposed changes
Summarize your changes here to communicate with the maintainers and make sure to put the link of that issue
Types of changes
What types of changes does your code introduce to Litmus? Put an
x
in the boxes that applyChecklist
Put an
x
in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.Dependency
Special notes for your reviewer: