changed the plugin name to newrelic-dashboard

Signed-off-by: mufaddal motiwala <mufaddalmm.52@gmail.com>
This commit is contained in:
mufaddal motiwala
2021-12-08 22:31:39 +05:30
parent 575e8ad0c7
commit 7dfa9564a9
29 changed files with 7 additions and 33 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
"@backstage/plugin-kafka": "^0.2.21",
"@backstage/plugin-kubernetes": "^0.4.22",
"@backstage/plugin-lighthouse": "^0.2.30",
"@backstage/plugin-new-relic-dashboard": "^0.1.0",
"@backstage/plugin-newrelic-dashboard": "^0.1.0",
"@backstage/plugin-newrelic": "^0.3.9",
"@backstage/plugin-org": "^0.3.28",
"@backstage/plugin-pagerduty": "0.3.18",
@@ -128,7 +128,7 @@ import {
isNewRelicDashboardAvailable,
EntityNewRelicDashboard,
EntityPageNewRelicDashboard,
} from '@backstage/plugin-new-relic-dashboard';
} from '@backstage/plugin-newrelic-dashboard';
import React, { ReactNode, useMemo, useState } from 'react';
@@ -385,8 +385,8 @@ const serviceEntityPage = (
<EntityLayout.Route
if={isNewRelicDashboardAvailable}
path="/gitlab"
title="Gitlab"
path="/newrelic-dashboard"
title="New Relic Dashboard"
>
<EntityNewRelicDashboard />
</EntityLayout.Route>
@@ -451,11 +451,12 @@ const websiteEntityPage = (
</EntityLayout.Route>
<EntityLayout.Route
if={isNewRelicDashboardAvailable}
path="/new-relic-dashboard"
path="/newrelic-dashboard"
title="New Relic Dashboard"
>
<EntityNewRelicDashboard />
</EntityLayout.Route>
<EntityLayout.Route path="/kubernetes" title="Kubernetes">
<EntityKubernetesContent />
</EntityLayout.Route>
-27
View File
@@ -1,27 +0,0 @@
/*
* Copyright 2021 The Backstage Authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
import React from 'react';
import { createDevApp } from '@backstage/dev-utils';
import { newRelicDashboardPlugin, NewRelicDashboardPage } from '../src/plugin';
createDevApp()
.registerPlugin(newRelicDashboardPlugin)
.addPage({
element: <NewRelicDashboardPage />,
title: 'Root Page',
path: '/new-relic-dashboard',
})
.render();
@@ -1,5 +1,5 @@
{
"name": "@backstage/plugin-new-relic-dashboard",
"name": "@backstage/plugin-newrelic-dashboard",
"version": "0.1.0",
"main": "src/index.ts",
"types": "src/index.ts",