-
Notifications
You must be signed in to change notification settings - Fork 390
upcoming: [DI-28227] - Integrating Firewall-nodebalancers to ACLP-Alerting #13089
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
upcoming: [DI-28227] - Integrating Firewall-nodebalancers to ACLP-Alerting #13089
Conversation
|
Track this pr - #13088, update current pr after link pr is merged. |
| <CloudPulseServiceSelect isDisabled name="serviceType" /> | ||
| <CloudPulseServiceSelect isDisabled={true} name="serviceType" /> |
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.
just passing isDisabled doesn't work?
| ? alertDetails.rule_criteria.rules[0]?.label.includes('Node Balancer') | ||
| ? 'nodebalancer' | ||
| : 'linode' |
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.
| ? alertDetails.rule_criteria.rules[0]?.label.includes('Node Balancer') | |
| ? 'nodebalancer' | |
| : 'linode' | |
| ? alertDetails.rule_criteria.rules[0]?.label.includes(entityLabelMap['nodebalancer']) | |
| ? 'nodebalancer' | |
| : 'linode' |
lets use the constant
| // Filter firewall metrics based on entity type | ||
| if (serviceType === 'firewall' && entityType) { | ||
| const entityLabel = entityLabelMap[entityType]; | ||
| filteredData = data.filter((metric) => |
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.
| filteredData = data.filter((metric) => | |
| filteredData = data.filter(({label}) => |
venkymano-akamai
left a comment
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.
Approving, pending some comments
dwiley-akamai
left a comment
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.
Verification steps ✅
Code review ✅
Approved pending resolution of previous comments & the merge conflict
Cloud Manager UI test results🔺 1 failing test on test run #9 ↗︎
Details
TroubleshootingUse this command to re-run the failing tests: pnpm cy:run -s "cypress/e2e/core/linodes/clone-linode.spec.ts" |
|||||||||||||||||
|
Merging as there are enough approvals and failures are unrelated. |
Description 📝
Integrating Firewall nodebalancers to ACLP-Alerting
Changes 🔄
List any change(s) relevant to the reviewer.
Scope 🚢
Upon production release, changes in this PR will be visible to:
Target release date 🗓️
26th Nov
Preview 📷
Firewall-Entity-Scope.mp4
Firewall-Account-Scope.mp4
Firewall-Edit-Flow.mp4
How to test 🧪
Prerequisites
(How to setup test environment)
Prerequisites
Choose the Mock environment, Legacy MSW Handlers
(How to setup test environment)
Create alert flow
Show Details flow
Firewall - nodebalanceralert in Alerts list.Edit alert flow
Firewall - nodebalanceralert in Alerts list.Reproduction steps
(How to reproduce the issue, if applicable)
Verification steps
(How to verify changes)
Author Checklists
As an Author, to speed up the review process, I considered 🤔
👀 Doing a self review
❔ Our contribution guidelines
🤏 Splitting feature into small PRs
➕ Adding a changeset
🧪 Providing/improving test coverage
🔐 Removing all sensitive information from the code and PR description
🚩 Using a feature flag to protect the release
👣 Providing comprehensive reproduction steps
📑 Providing or updating our documentation
🕛 Scheduling a pair reviewing session
📱 Providing mobile support
♿ Providing accessibility support
As an Author, before moving this PR from Draft to Open, I confirmed ✅