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
Bug 1994117: delete hardcodes and orphaned code #9870
Conversation
@maudem: This pull request references Bugzilla bug 1994117, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
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.
Thanks @maudem. There are some additional things we need to check for and remove for all of these, including:
- Any orphaned CSS styles
- Any orphaned models in k8s-models.ts
- Any orphaned YAML templates in yaml-templates.ts
- Any orphaned feature flags (e.g.,
FLAGS.CHARGEBACK
) - Any orphaned table sorts or filters (table.tsx, table-filters.ts)
- Any orphaned tests for these components
All of service catalog should be removed, which includes some additional resources.
instantiate-template.tsx should NOT be removed.
@@ -1,387 +0,0 @@ | |||
import * as React from 'react'; |
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.
This file should NOT be removed. This is a feature we want to keep in console.
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.
@spadgett this file was included in the hardcode list and in bugzilla. Was there another list I should have looked at for the files I needed to remove?
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.
I think it was just incorrectly marked as one to remove.
@@ -1,19 +1,13 @@ | |||
import * as React from 'react'; |
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.
This entire file should be removed as well. Service catalog includes
Service Brokers
Service Classes
Service Instances
Service Bindings
Be careful about service bindings since there is another kind of service binding that is used in the dev console that should not be removed. Only the service catalog bindings should be removed.
We also need to remove the protractor tests for service catalog and any models as well as the custom table filters, YAML templates, and feature flags.
@@ -270,28 +269,6 @@ const AppContents: React.FC<{}> = () => { | |||
} | |||
/> | |||
|
|||
<LazyRoute | |||
path="/catalog/instantiate-template" |
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.
instantiate-template should stay.
@@ -1,682 +0,0 @@ | |||
import * as React from 'react'; |
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 remove any associated models, YAML templates, and feature flags (CHARGEBACK
, CAN_LIST_CHARGEBACK_REPORTS
) for chargeback.
@@ -17,7 +17,6 @@ import { | |||
import { K8sResourceKind, referenceForModel } from '../module/k8s'; |
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.
This entire file should be removed.
@@ -1,114 +0,0 @@ | |||
import * as React from 'react'; |
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 remove any associated models.
@@ -1,164 +0,0 @@ | |||
import * as React from 'react'; |
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 remove any associated models.
@@ -1,20 +1,7 @@ | |||
import * as React from 'react'; |
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.
This entire file should be removed.
/bugzilla refresh |
@maudem: This pull request references Bugzilla bug 1994117, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/bugzilla refresh |
@maudem: This pull request references Bugzilla bug 1994117, which is invalid:
Comment In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
b75feef
to
1f3c694
Compare
1ce8ccc
to
0c75c20
Compare
1340776
to
af8c8c5
Compare
1ce8ccc
to
b22cb1c
Compare
7054346
to
2eaeac0
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: maudem The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/retest |
@maudem: The
Use
In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
c5465ec
to
fad439f
Compare
/retest |
1 similar comment
/retest |
/retest-required |
2 similar comments
/retest-required |
/retest-required |
/hold e2e test pass blocked by https://bugzilla.redhat.com/2022452 |
/retest-required |
delete references to cluster service broker in yaml-template delete alert-manager and associated code delete chargeback.tsx and associated code delete cluster-service-class.tsx, instantiate-template.tsx, and associated code delete prometheus.jsx and associated code delete service-instance.tsx and associated code Bring back instantiate-template.tsx Revert "delete files for Service Brokers" This reverts commit 9f40bd78cb0fdaac10e8d6aadc188818c6633d23. bring back instantiate-template delete files for Service Brokers delete Service Brokers in yaml-templates Revert "delete Service Brokers in yaml-templates" This reverts commit 36bcbb7b31b6947aa4a5f84ce62cebb0286c89e9. remove broker management file delete references to cluster service broker model in resource pages and lazy routes for provisioned services find last remaining links and references to cluster service brokers, provisioned services, and broker mgt delete unused models delete custom styling and lazyroutes for alert manager delete alert manager tests and such delete more code relater to cluster service classes delete custom service instance styles update translations Update public.json
fad439f
to
81a74c1
Compare
/retest-required |
@maudem: The following test failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here. |
Issues go stale after 90d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle stale |
@maudem: PR needs rebase. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Stale issues rot after 30d of inactivity. Mark the issue as fresh by commenting If this issue is safe to close now please do so with /lifecycle rotten |
Rotten issues close after 30d of inactivity. Reopen the issue by commenting /close |
@openshift-bot: Closed this PR. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
@maudem: This pull request references Bugzilla bug 1994117. The bug has been updated to no longer refer to the pull request using the external bug tracker. All external bug links have been closed. The bug has been moved to the NEW state. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
delete: