Skip to content

Commit

Permalink
Merge pull request #36 from Kuadrant/policy-topology-view
Browse files Browse the repository at this point in the history
initial inclusion of `react-policy-topology`
  • Loading branch information
david-martin authored Aug 29, 2024
2 parents d9637ef + 9d9c222 commit 8ecfa5a
Show file tree
Hide file tree
Showing 10 changed files with 47,708 additions and 20,722 deletions.
4 changes: 4 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"presets": ["@babel/preset-env", "@babel/preset-react"]
}

32 changes: 12 additions & 20 deletions console-extensions.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,48 +3,40 @@
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/ns/:ns/rhcl/dashboard",
"path": "/k8s/ns/:ns/kuadrant/dashboard",
"component": { "$codeRef": "KuadrantDashboardPage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/all-namespaces/rhcl/dashboard",
"path": "/k8s/all-namespaces/kuadrant/dashboard",
"component": { "$codeRef": "KuadrantDashboardPage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/ns/:ns/rhcl/policies",
"path": "/k8s/ns/:ns/kuadrant/policies",
"component": { "$codeRef": "KuadrantDashboardPage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/all-namespaces/rhcl/policies",
"path": "/k8s/all-namespaces/kuadrant/policies",
"component": { "$codeRef": "KuadrantDashboardPage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/ns/:ns/rhcl/policy-topology",
"component": { "$codeRef": "KuadrantDashboardPage" }
}
},
{
"type": "console.page/route",
"properties": {
"exact": true,
"path": "/k8s/all-namespaces/rhcl/policy-topology",
"component": { "$codeRef": "KuadrantDashboardPage" }
"path": "/kuadrant/policy-topology",
"component": { "$codeRef": "PolicyTopologyPage" }
}
},
{
Expand All @@ -60,7 +52,7 @@
"properties": {
"id": "rhcl-dashboard-admin",
"name": "%plugin__console-plugin-template~Dashboard%",
"href": "/k8s/all-namespaces/rhcl/dashboard",
"href": "/k8s/all-namespaces/kuadrant/dashboard",
"perspective": "admin",
"section": "kuadrant-section-admin"
}
Expand All @@ -70,7 +62,7 @@
"properties": {
"id": "rhcl-policies-admin",
"name": "%plugin__console-plugin-template~Policies%",
"href": "/k8s/all-namespaces/rhcl/policies",
"href": "/k8s/all-namespaces/kuadrant/policies",
"perspective": "admin",
"section": "kuadrant-section-admin"
}
Expand All @@ -80,7 +72,7 @@
"properties": {
"id": "rhcl-policy-topology-admin",
"name": "%plugin__console-plugin-template~Policy Topology%",
"href": "/k8s/all-namespaces/rhcl/policy-topology",
"href": "/kuadrant/policy-topology",
"perspective": "admin",
"section": "kuadrant-section-admin",
"badge": "dev"
Expand All @@ -99,7 +91,7 @@
"properties": {
"id": "rhcl-dashboard-dev",
"name": "%plugin__console-plugin-template~Dashboard%",
"href": "/k8s/all-namespaces/rhcl/dashboard",
"href": "/k8s/all-namespaces/kuadrant/dashboard",
"perspective": "dev",
"section": "kuadrant-section-dev"
}
Expand All @@ -109,7 +101,7 @@
"properties": {
"id": "rhcl-policies-dev",
"name": "%plugin__console-plugin-template~Policies%",
"href": "/k8s/all-namespaces/rhcl/policies",
"href": "/k8s/all-namespaces/kuadrant/policies",
"perspective": "dev",
"section": "kuadrant-section-dev"
}
Expand All @@ -119,7 +111,7 @@
"properties": {
"id": "rhcl-policy-topology-dev",
"name": "%plugin__console-plugin-template~Policy Topology%",
"href": "/k8s/all-namespaces/rhcl/policy-topology",
"href": "/kuadrant/policy-topology",
"perspective": "dev",
"section": "kuadrant-section-dev",
"badge": "dev"
Expand Down
4 changes: 3 additions & 1 deletion locales/en/plugin__console-plugin-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,7 @@
"Name": "Name",
"Namespace": "Namespace",
"Address": "Address",
"Dashboard": "Dashboard"
"Dashboard": "Dashboard",
"Policies": "Policies",
"Policy Topology": "Policy Topology"
}
Loading

0 comments on commit 8ecfa5a

Please sign in to comment.