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

Allow extensions to plugin to topology view #5647

Merged

Conversation

jeff-phillips-18
Copy link
Member

@jeff-phillips-18 jeff-phillips-18 commented Jun 2, 2020

Adding the ability to plugin to the topology view.

Adds plugin capabilities for:

  • Component Factories
  • Data model transforms
  • Create Connectors
  • Watched Resources
  • Remove model conversion, create model objects in transforms
  • Filters

Holding for a future PR:

  • Side Panel content
  • Create items

@openshift-ci-robot openshift-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. component/core Related to console core functionality labels Jun 2, 2020
@openshift-ci-robot openshift-ci-robot added component/dev-console Related to dev-console component/knative Related to knative-plugin component/kubevirt Related to kubevirt-plugin component/sdk Related to console-plugin-sdk component/shared Related to console-shared labels Jun 2, 2020
@@ -101,6 +103,10 @@ export class ExtensionRegistry {
return this.extensions.filter(isOverviewCRD);
}

public getOverviewResourceUtils() {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

registry is deprecated. Please use withExtensions HOC or useExtension hook

@openshift-ci-robot openshift-ci-robot added the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 12, 2020
@openshift-ci-robot openshift-ci-robot removed the needs-rebase Indicates a PR cannot be merged because it has merge conflicts with HEAD. label Jun 17, 2020
@jeff-phillips-18 jeff-phillips-18 changed the title [WIP] Allow extensions to plugin to topology view Allow extensions to plugin to topology view Jun 17, 2020
@openshift-ci-robot openshift-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Jun 17, 2020
@jeff-phillips-18 jeff-phillips-18 force-pushed the plugin-topology branch 4 times, most recently from ef2143a to 2eaa2f3 Compare June 22, 2020 12:23
@christianvogt
Copy link
Contributor

Hit a blank screen when I loaded Jai's serverless test ns:
image

I think he uses a setup script:
image

@jeff-phillips-18
Copy link
Member Author

jeff-phillips-18 commented Jun 23, 2020

Hit a blank screen when I loaded Jai's serverless test ns:

Fixed, thanks.

Move plugin resource utils to its own extension type, cleanup resourceUtils
Use plugins for data model transforms
Add plugin for creation of connectors
Remove conversion of transform data to model, Update to use DataModelProvider
Use extensions for filtering and getting display filters
@christianvogt
Copy link
Contributor

/lgtm

@openshift-ci-robot openshift-ci-robot added the lgtm Indicates that a PR is ready to be merged. label Jun 23, 2020
@openshift-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: christianvogt, jeff-phillips-18

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@openshift-ci-robot openshift-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jun 23, 2020
@openshift-merge-robot openshift-merge-robot merged commit a8138cb into openshift:master Jun 24, 2020
@spadgett spadgett added this to the v4.6 milestone Jun 24, 2020
@jeff-phillips-18 jeff-phillips-18 deleted the plugin-topology branch December 2, 2020 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. component/core Related to console core functionality component/dev-console Related to dev-console component/knative Related to knative-plugin component/kubevirt Related to kubevirt-plugin component/sdk Related to console-plugin-sdk component/shared Related to console-shared lgtm Indicates that a PR is ready to be merged.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants