diff --git a/packages/app/package.json b/packages/app/package.json index 40659d4561..baf0e9628c 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -7,7 +7,7 @@ "@backstage/core": "^0.1.1-alpha.4", "@backstage/plugin-explore": "^0.1.1-alpha.4", "@backstage/plugin-home-page": "^0.1.1-alpha.4", - "@backstage/plugin-inventory": "^0.1.1-alpha.4", + "@backstage/plugin-catalog": "^0.1.1-alpha.4", "@backstage/plugin-lighthouse": "^0.1.1-alpha.4", "@backstage/plugin-scaffolder": "^0.1.1-alpha.4", "@backstage/plugin-tech-radar": "^0.1.1-alpha.4", diff --git a/packages/app/src/components/Root/Root.tsx b/packages/app/src/components/Root/Root.tsx index 6854ce015b..55cba439bd 100644 --- a/packages/app/src/components/Root/Root.tsx +++ b/packages/app/src/components/Root/Root.tsx @@ -85,7 +85,7 @@ const Root: FC<{}> = ({ children }) => ( - + diff --git a/packages/app/src/plugins.ts b/packages/app/src/plugins.ts index 3669f83dba..c8d972bf8d 100644 --- a/packages/app/src/plugins.ts +++ b/packages/app/src/plugins.ts @@ -16,7 +16,7 @@ export { plugin as HomePagePlugin } from '@backstage/plugin-home-page'; export { plugin as WelcomePlugin } from '@backstage/plugin-welcome'; export { plugin as LighthousePlugin } from '@backstage/plugin-lighthouse'; -export { plugin as InventoryPlugin } from '@backstage/plugin-inventory'; +export { plugin as CatalogPlugin } from '@backstage/plugin-catalog'; export { plugin as ScaffolderPlugin } from '@backstage/plugin-scaffolder'; export { plugin as TechRadar } from '@backstage/plugin-tech-radar'; export { plugin as Explore } from '@backstage/plugin-explore'; diff --git a/packages/backend/package.json b/packages/backend/package.json index 36eb09fe8a..10ec8eb6bb 100644 --- a/packages/backend/package.json +++ b/packages/backend/package.json @@ -17,7 +17,7 @@ }, "dependencies": { "@backstage/backend-common": "0.1.1-alpha.4", - "@backstage/plugin-inventory-backend": "0.1.1-alpha.4", + "@backstage/plugin-catalog-backend": "0.1.1-alpha.4", "@backstage/plugin-scaffolder-backend": "0.1.1-alpha.4", "compression": "^1.7.4", "cors": "^2.8.5", diff --git a/packages/backend/src/index.ts b/packages/backend/src/index.ts index b917c6c559..8c685d3fb7 100644 --- a/packages/backend/src/index.ts +++ b/packages/backend/src/index.ts @@ -33,7 +33,7 @@ import cors from 'cors'; import express from 'express'; import helmet from 'helmet'; import knex from 'knex'; -import inventory from './plugins/inventory'; +import catalog from './plugins/catalog'; import scaffolder from './plugins/scaffolder'; import { PluginEnvironment } from './types'; @@ -59,7 +59,7 @@ async function main() { app.use(compression()); app.use(express.json()); app.use(requestLoggingHandler()); - app.use('/inventory', await inventory(createEnv('inventory'))); + app.use('/catalog', await catalog(createEnv('catalog'))); app.use('/scaffolder', await scaffolder(createEnv('scaffolder'))); app.use(notFoundHandler()); app.use(errorHandler()); diff --git a/packages/backend/src/plugins/inventory.ts b/packages/backend/src/plugins/catalog.ts similarity index 72% rename from packages/backend/src/plugins/inventory.ts rename to packages/backend/src/plugins/catalog.ts index 96d3fc52e7..2c6459e071 100644 --- a/packages/backend/src/plugins/inventory.ts +++ b/packages/backend/src/plugins/catalog.ts @@ -15,12 +15,12 @@ */ import { - DatabaseInventory, + DatabaseCatalog, createRouter, -} from '@backstage/plugin-inventory-backend'; +} from '@backstage/plugin-catalog-backend'; import { PluginEnvironment } from '../types'; -export default async function({ logger, database }: PluginEnvironment) { - const inventory = await DatabaseInventory.create(database); - return await createRouter({ inventory, logger }); +export default async function ({ logger, database }: PluginEnvironment) { + const catalog = await DatabaseCatalog.create(database); + return await createRouter({ catalog, logger }); } diff --git a/plugins/inventory-backend/.eslintrc.js b/plugins/catalog-backend/.eslintrc.js similarity index 100% rename from plugins/inventory-backend/.eslintrc.js rename to plugins/catalog-backend/.eslintrc.js diff --git a/plugins/inventory-backend/README.md b/plugins/catalog-backend/README.md similarity index 58% rename from plugins/inventory-backend/README.md rename to plugins/catalog-backend/README.md index bc224ee42e..051bc50417 100644 --- a/plugins/inventory-backend/README.md +++ b/plugins/catalog-backend/README.md @@ -1,13 +1,13 @@ -# Inventory Backend +# Catalog Backend WORK IN PROGRESS -This is the backend part of the default inventory plugin. +This is the backend part of the default catalog plugin. It responds to requests from the frontend part, and fulfills them by delegating -to your existing inventory related services. +to your existing catalog related services. ## Links -- (Frontend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/inventory] +- (Frontend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/catalog] - (The Backstage homepage)[https://backstage.io] diff --git a/plugins/inventory-backend/package.json b/plugins/catalog-backend/package.json similarity index 95% rename from plugins/inventory-backend/package.json rename to plugins/catalog-backend/package.json index abebfe11e1..88b8048f7b 100644 --- a/plugins/inventory-backend/package.json +++ b/plugins/catalog-backend/package.json @@ -1,5 +1,5 @@ { - "name": "@backstage/plugin-inventory-backend", + "name": "@backstage/plugin-catalog-backend", "version": "0.1.1-alpha.4", "main": "dist", "license": "Apache-2.0", diff --git a/plugins/inventory-backend/src/inventory/DatabaseInventory.ts b/plugins/catalog-backend/src/catalog/DatabaseCatalog.ts similarity index 81% rename from plugins/inventory-backend/src/inventory/DatabaseInventory.ts rename to plugins/catalog-backend/src/catalog/DatabaseCatalog.ts index 58e2666552..4ef99108da 100644 --- a/plugins/inventory-backend/src/inventory/DatabaseInventory.ts +++ b/plugins/catalog-backend/src/catalog/DatabaseCatalog.ts @@ -18,16 +18,16 @@ import { NotFoundError } from '@backstage/backend-common'; import path from 'path'; import Knex from 'knex'; import { v4 as uuidv4 } from 'uuid'; -import { AddLocationRequest, Component, Inventory, Location } from './types'; +import { AddLocationRequest, Component, Catalog, Location } from './types'; -export class DatabaseInventory implements Inventory { - static async create(database: Knex): Promise { +export class DatabaseCatalog implements Catalog { + static async create(database: Knex): Promise { await database.migrate.latest({ directory: path.resolve(__dirname, '..', 'migrations'), loadExtensions: ['.js'], }); - return new DatabaseInventory(database); + return new DatabaseCatalog(database); } constructor(private readonly database: Knex) {} @@ -49,9 +49,7 @@ export class DatabaseInventory implements Inventory { } async removeLocation(id: string): Promise { - const result = await this.database('locations') - .where({ id }) - .del(); + const result = await this.database('locations').where({ id }).del(); if (!result) { throw new NotFoundError(`Found no location with ID ${id}`); @@ -59,9 +57,7 @@ export class DatabaseInventory implements Inventory { } async location(id: string): Promise { - const items = await this.database('locations') - .where({ id }) - .select(); + const items = await this.database('locations').where({ id }).select(); if (!items.length) { throw new NotFoundError(`Found no location with ID ${id}`); } diff --git a/plugins/inventory-backend/src/inventory/StaticInventory.ts b/plugins/catalog-backend/src/catalog/StaticCatalog.ts similarity index 84% rename from plugins/inventory-backend/src/inventory/StaticInventory.ts rename to plugins/catalog-backend/src/catalog/StaticCatalog.ts index 3ce6dfcd76..2003982681 100644 --- a/plugins/inventory-backend/src/inventory/StaticInventory.ts +++ b/plugins/catalog-backend/src/catalog/StaticCatalog.ts @@ -16,9 +16,9 @@ import { NotFoundError } from '@backstage/backend-common'; import { v4 as uuidv4 } from 'uuid'; -import { AddLocationRequest, Component, Inventory, Location } from './types'; +import { AddLocationRequest, Component, Catalog, Location } from './types'; -export class StaticInventory implements Inventory { +export class StaticCatalog implements Catalog { private _components: Component[]; private _locations: Location[]; @@ -32,7 +32,7 @@ export class StaticInventory implements Inventory { } async component(id: string): Promise { - const item = this._components.find(i => i.id === id); + const item = this._components.find((i) => i.id === id); if (!item) { throw new NotFoundError(`Found no component with ID ${id}`); } @@ -46,11 +46,11 @@ export class StaticInventory implements Inventory { } async removeLocation(id: string): Promise { - this._locations = this._locations.filter(l => l.id !== id); + this._locations = this._locations.filter((l) => l.id !== id); } async location(id: string): Promise { - const location = this._locations.find(l => l.id === id); + const location = this._locations.find((l) => l.id === id); if (!location) { throw new NotFoundError(`Found no location with ID ${id}`); } diff --git a/plugins/inventory-backend/src/inventory/index.ts b/plugins/catalog-backend/src/catalog/index.ts similarity index 89% rename from plugins/inventory-backend/src/inventory/index.ts rename to plugins/catalog-backend/src/catalog/index.ts index e61ff20e19..b4bc07c6bb 100644 --- a/plugins/inventory-backend/src/inventory/index.ts +++ b/plugins/catalog-backend/src/catalog/index.ts @@ -14,6 +14,6 @@ * limitations under the License. */ -export * from './DatabaseInventory'; -export * from './StaticInventory'; +export * from './DatabaseCatalog'; +export * from './StaticCatalog'; export * from './types'; diff --git a/plugins/inventory-backend/src/inventory/types.ts b/plugins/catalog-backend/src/catalog/types.ts similarity index 97% rename from plugins/inventory-backend/src/inventory/types.ts rename to plugins/catalog-backend/src/catalog/types.ts index 6d6ef38df1..f8b00626f0 100644 --- a/plugins/inventory-backend/src/inventory/types.ts +++ b/plugins/catalog-backend/src/catalog/types.ts @@ -38,7 +38,7 @@ export const addLocationRequestShape: yup.Schema = yup }) .noUnknown(); -export type Inventory = { +export type Catalog = { components(): Promise; component(id: string): Promise; addLocation(location: AddLocationRequest): Promise; diff --git a/plugins/inventory-backend/src/index.test.ts b/plugins/catalog-backend/src/index.test.ts similarity index 100% rename from plugins/inventory-backend/src/index.test.ts rename to plugins/catalog-backend/src/index.test.ts diff --git a/plugins/inventory-backend/src/index.ts b/plugins/catalog-backend/src/index.ts similarity index 95% rename from plugins/inventory-backend/src/index.ts rename to plugins/catalog-backend/src/index.ts index 52b4ed9a53..16f59d2c17 100644 --- a/plugins/inventory-backend/src/index.ts +++ b/plugins/catalog-backend/src/index.ts @@ -14,5 +14,5 @@ * limitations under the License. */ -export * from './inventory'; +export * from './catalog'; export * from './service/router'; diff --git a/plugins/inventory-backend/src/migrations/20200511113813_init.ts b/plugins/catalog-backend/src/migrations/20200511113813_init.ts similarity index 71% rename from plugins/inventory-backend/src/migrations/20200511113813_init.ts rename to plugins/catalog-backend/src/migrations/20200511113813_init.ts index 2c13d31fcd..0db92a1f45 100644 --- a/plugins/inventory-backend/src/migrations/20200511113813_init.ts +++ b/plugins/catalog-backend/src/migrations/20200511113813_init.ts @@ -18,25 +18,16 @@ import * as Knex from 'knex'; export async function up(knex: Knex): Promise { return knex.schema - .createTable('locations', table => { - table - .uuid('id') - .primary() - .comment('Auto-generated ID of the location'); - table - .string('type') - .notNullable() - .comment('The type of location'); + .createTable('locations', (table) => { + table.uuid('id').primary().comment('Auto-generated ID of the location'); + table.string('type').notNullable().comment('The type of location'); table .string('target') .notNullable() .comment('The actual target of the location'); }) - .createTable('components', table => { - table - .string('name') - .primary() - .comment('The name of the component'); + .createTable('components', (table) => { + table.string('name').primary().comment('The name of the component'); }); } diff --git a/plugins/inventory-backend/src/run.ts b/plugins/catalog-backend/src/run.ts similarity index 100% rename from plugins/inventory-backend/src/run.ts rename to plugins/catalog-backend/src/run.ts diff --git a/plugins/inventory-backend/src/service/router.ts b/plugins/catalog-backend/src/service/router.ts similarity index 82% rename from plugins/inventory-backend/src/service/router.ts rename to plugins/catalog-backend/src/service/router.ts index 06077d29c4..3bdbedb766 100644 --- a/plugins/inventory-backend/src/service/router.ts +++ b/plugins/catalog-backend/src/service/router.ts @@ -19,10 +19,10 @@ import express, { Request } from 'express'; import Router from 'express-promise-router'; import { Logger } from 'winston'; import yup from 'yup'; -import { addLocationRequestShape, Inventory } from '../inventory'; +import { addLocationRequestShape, Catalog } from '../catalog'; export interface RouterOptions { - inventory: Inventory; + catalog: Catalog; logger: Logger; } @@ -54,19 +54,19 @@ async function validateRequestBody( export async function createRouter( options: RouterOptions, ): Promise { - const inventory = options.inventory; - const logger = options.logger.child({ plugin: 'inventory' }); + const catalog = options.catalog; + const logger = options.logger.child({ plugin: 'catalog' }); const router = Router(); // Components router .get('/components', async (req, res) => { - const components = await inventory.components(); + const components = await catalog.components(); res.status(200).send(components); }) .get('/components/:id', async (req, res) => { const { id } = req.params; - const component = await inventory.component(id); + const component = await catalog.component(id); res.status(200).send(component); }); @@ -74,21 +74,21 @@ export async function createRouter( router .post('/locations', async (req, res) => { const input = await validateRequestBody(req, addLocationRequestShape); - const output = await inventory.addLocation(input); + const output = await catalog.addLocation(input); res.status(201).send(output); }) .get('/locations', async (req, res) => { - const output = await inventory.locations(); + const output = await catalog.locations(); res.status(200).send(output); }) .get('/locations/:id', async (req, res) => { const { id } = req.params; - const output = await inventory.location(id); + const output = await catalog.location(id); res.status(200).send(output); }) .delete('/locations/:id', async (req, res) => { const { id } = req.params; - await inventory.removeLocation(id); + await catalog.removeLocation(id); res.status(200).send(); }); diff --git a/plugins/inventory-backend/src/service/standaloneApplication.ts b/plugins/catalog-backend/src/service/standaloneApplication.ts similarity index 88% rename from plugins/inventory-backend/src/service/standaloneApplication.ts rename to plugins/catalog-backend/src/service/standaloneApplication.ts index 8f0518bb8d..da39be8410 100644 --- a/plugins/inventory-backend/src/service/standaloneApplication.ts +++ b/plugins/catalog-backend/src/service/standaloneApplication.ts @@ -24,19 +24,19 @@ import cors from 'cors'; import express from 'express'; import helmet from 'helmet'; import { Logger } from 'winston'; -import { Inventory } from '../inventory'; +import { Catalog } from '../catalog'; import { createRouter } from './router'; export interface ApplicationOptions { enableCors: boolean; - inventory: Inventory; + catalog: Catalog; logger: Logger; } export async function createStandaloneApplication( options: ApplicationOptions, ): Promise { - const { enableCors, inventory, logger } = options; + const { enableCors, catalog, logger } = options; const app = express(); app.use(helmet()); @@ -46,7 +46,7 @@ export async function createStandaloneApplication( app.use(compression()); app.use(express.json()); app.use(requestLoggingHandler()); - app.use('/', await createRouter({ inventory, logger })); + app.use('/', await createRouter({ catalog, logger })); app.use(notFoundHandler()); app.use(errorHandler()); diff --git a/plugins/inventory-backend/src/service/standaloneServer.ts b/plugins/catalog-backend/src/service/standaloneServer.ts similarity index 89% rename from plugins/inventory-backend/src/service/standaloneServer.ts rename to plugins/catalog-backend/src/service/standaloneServer.ts index 76d57ff852..4607f8ca25 100644 --- a/plugins/inventory-backend/src/service/standaloneServer.ts +++ b/plugins/catalog-backend/src/service/standaloneServer.ts @@ -16,7 +16,7 @@ import { Server } from 'http'; import { Logger } from 'winston'; -import { StaticInventory } from '../inventory'; +import { StaticCatalog } from '../catalog'; import { createStandaloneApplication } from './standaloneApplication'; export interface ServerOptions { @@ -28,9 +28,9 @@ export interface ServerOptions { export async function startStandaloneServer( options: ServerOptions, ): Promise { - const logger = options.logger.child({ service: 'inventory-backend' }); + const logger = options.logger.child({ service: 'catalog-backend' }); - const inventory = new StaticInventory( + const catalog = new StaticCatalog( [ { id: 'component1' }, { id: 'component2' }, @@ -43,7 +43,7 @@ export async function startStandaloneServer( logger.debug('Creating application...'); const app = await createStandaloneApplication({ enableCors: options.enableCors, - inventory, + catalog, logger, }); diff --git a/plugins/inventory-backend/src/setupTests.ts b/plugins/catalog-backend/src/setupTests.ts similarity index 100% rename from plugins/inventory-backend/src/setupTests.ts rename to plugins/catalog-backend/src/setupTests.ts diff --git a/plugins/inventory-backend/tsconfig.json b/plugins/catalog-backend/tsconfig.json similarity index 100% rename from plugins/inventory-backend/tsconfig.json rename to plugins/catalog-backend/tsconfig.json diff --git a/plugins/inventory/.eslintrc.js b/plugins/catalog/.eslintrc.js similarity index 100% rename from plugins/inventory/.eslintrc.js rename to plugins/catalog/.eslintrc.js diff --git a/plugins/catalog/README.md b/plugins/catalog/README.md new file mode 100644 index 0000000000..52bbd0d0c3 --- /dev/null +++ b/plugins/catalog/README.md @@ -0,0 +1,13 @@ +# Catalog Frontend + +WORK IN PROGRESS + +This is the frontend part of the default catalog plugin. + +It will implement the core API for handling your catalog of software, and +supply the base views to show and manage them. + +## Links + +- (Backend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/catalog-backend] +- (The Backstage homepage)[https://backstage.io] diff --git a/plugins/inventory/dev/index.tsx b/plugins/catalog/dev/index.tsx similarity index 100% rename from plugins/inventory/dev/index.tsx rename to plugins/catalog/dev/index.tsx diff --git a/plugins/inventory/package.json b/plugins/catalog/package.json similarity index 96% rename from plugins/inventory/package.json rename to plugins/catalog/package.json index c5221fba4c..2e786d9a3c 100644 --- a/plugins/inventory/package.json +++ b/plugins/catalog/package.json @@ -1,5 +1,5 @@ { - "name": "@backstage/plugin-inventory", + "name": "@backstage/plugin-catalog", "version": "0.1.1-alpha.4", "main": "dist/index.esm.js", "types": "dist/index.d.ts", diff --git a/plugins/inventory/src/components/InventoryPage/InventoryPage.test.tsx b/plugins/catalog/src/components/CatalogPage/CatalogPage.test.tsx similarity index 91% rename from plugins/inventory/src/components/InventoryPage/InventoryPage.test.tsx rename to plugins/catalog/src/components/CatalogPage/CatalogPage.test.tsx index fe17da308c..02b7fcacff 100644 --- a/plugins/inventory/src/components/InventoryPage/InventoryPage.test.tsx +++ b/plugins/catalog/src/components/CatalogPage/CatalogPage.test.tsx @@ -17,16 +17,16 @@ import React from 'react'; import { render } from '@testing-library/react'; import mockFetch from 'jest-fetch-mock'; -import InventoryPage from './InventoryPage'; +import CatalogPage from './CatalogPage'; import { ThemeProvider } from '@material-ui/core'; import { lightTheme } from '@backstage/theme'; -describe('InventoryPage', () => { +describe('CatalogPage', () => { it('should render', async () => { mockFetch.mockResponse(() => new Promise(() => {})); const rendered = render( - + , ); expect(await rendered.findByText('backstage-backend')).toBeInTheDocument(); diff --git a/plugins/inventory/src/components/InventoryPage/InventoryPage.tsx b/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx similarity index 94% rename from plugins/inventory/src/components/InventoryPage/InventoryPage.tsx rename to plugins/catalog/src/components/CatalogPage/CatalogPage.tsx index 647899eb35..5d530f8416 100644 --- a/plugins/inventory/src/components/InventoryPage/InventoryPage.tsx +++ b/plugins/catalog/src/components/CatalogPage/CatalogPage.tsx @@ -31,10 +31,10 @@ const STATIC_DATA = [ { id: 'backstage-microsite', kind: 'website' }, ]; -const InventoryPage: FC<{}> = () => { +const CatalogPage: FC<{}> = () => { return ( -
+
All of it @@ -62,4 +62,4 @@ const InventoryPage: FC<{}> = () => { ); }; -export default InventoryPage; +export default CatalogPage; diff --git a/plugins/inventory/src/components/InventoryPage/index.ts b/plugins/catalog/src/components/CatalogPage/index.ts similarity index 93% rename from plugins/inventory/src/components/InventoryPage/index.ts rename to plugins/catalog/src/components/CatalogPage/index.ts index 7a11d39f10..61182e316f 100644 --- a/plugins/inventory/src/components/InventoryPage/index.ts +++ b/plugins/catalog/src/components/CatalogPage/index.ts @@ -14,4 +14,4 @@ * limitations under the License. */ -export { default } from './InventoryPage'; +export { default } from './CatalogPage'; diff --git a/plugins/inventory/src/index.ts b/plugins/catalog/src/index.ts similarity index 100% rename from plugins/inventory/src/index.ts rename to plugins/catalog/src/index.ts diff --git a/plugins/inventory/src/plugin.test.ts b/plugins/catalog/src/plugin.test.ts similarity index 95% rename from plugins/inventory/src/plugin.test.ts rename to plugins/catalog/src/plugin.test.ts index 4fac72593f..427efc39e1 100644 --- a/plugins/inventory/src/plugin.test.ts +++ b/plugins/catalog/src/plugin.test.ts @@ -16,7 +16,7 @@ import { plugin } from './plugin'; -describe('inventory', () => { +describe('catalog', () => { it('should export plugin', () => { expect(plugin).toBeDefined(); }); diff --git a/plugins/inventory/src/plugin.ts b/plugins/catalog/src/plugin.ts similarity index 84% rename from plugins/inventory/src/plugin.ts rename to plugins/catalog/src/plugin.ts index 197dd3cd38..ff3a53ce5b 100644 --- a/plugins/inventory/src/plugin.ts +++ b/plugins/catalog/src/plugin.ts @@ -15,11 +15,11 @@ */ import { createPlugin } from '@backstage/core'; -import InventoryPage from './components/InventoryPage'; +import CatalogPage from './components/CatalogPage'; export const plugin = createPlugin({ - id: 'inventory', + id: 'catalog', register({ router }) { - router.registerRoute('/inventory', InventoryPage); + router.registerRoute('/catalog', CatalogPage); }, }); diff --git a/plugins/inventory/src/setupTests.ts b/plugins/catalog/src/setupTests.ts similarity index 100% rename from plugins/inventory/src/setupTests.ts rename to plugins/catalog/src/setupTests.ts diff --git a/plugins/inventory/tsconfig.json b/plugins/catalog/tsconfig.json similarity index 100% rename from plugins/inventory/tsconfig.json rename to plugins/catalog/tsconfig.json diff --git a/plugins/inventory/README.md b/plugins/inventory/README.md deleted file mode 100644 index e77a77148f..0000000000 --- a/plugins/inventory/README.md +++ /dev/null @@ -1,13 +0,0 @@ -# Inventory Frontend - -WORK IN PROGRESS - -This is the frontend part of the default inventory plugin. - -It will implement the core API for handling your inventory of software, and -supply the base views to show and manage them. - -## Links - -- (Backend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/inventory-backend] -- (The Backstage homepage)[https://backstage.io] diff --git a/plugins/scaffolder/README.md b/plugins/scaffolder/README.md index e77a77148f..5893ee86ba 100644 --- a/plugins/scaffolder/README.md +++ b/plugins/scaffolder/README.md @@ -1,13 +1,10 @@ -# Inventory Frontend +# Scaffolder Frontend WORK IN PROGRESS -This is the frontend part of the default inventory plugin. - -It will implement the core API for handling your inventory of software, and -supply the base views to show and manage them. +This is the frontend part of the default scaffolder plugin. ## Links -- (Backend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/inventory-backend] +- (Backend part of the plugin)[https://github.com/spotify/backstage/tree/master/plugins/scaffolder-backend] - (The Backstage homepage)[https://backstage.io] diff --git a/plugins/scaffolder/src/plugin.test.ts b/plugins/scaffolder/src/plugin.test.ts index 4fac72593f..3b4c92168d 100644 --- a/plugins/scaffolder/src/plugin.test.ts +++ b/plugins/scaffolder/src/plugin.test.ts @@ -16,7 +16,7 @@ import { plugin } from './plugin'; -describe('inventory', () => { +describe('scaffolder', () => { it('should export plugin', () => { expect(plugin).toBeDefined(); });