@backstage-community/plugin-azure-sites-backend
TypeScript icon, indicating that this package has built-in type declarations

0.8.0 • Public • Published

Azure Sites Backend

Simple plugin that proxies requests to the Azure Portal API through Azure SDK JavaScript libraries.

Inspired by roadie.io AWS Lambda plugin

Setup

The following sections will help you get the Azure Sites Backend plugin setup and running.

Configuration

The Azure plugin requires the following YAML to be added to your app-config.yaml:

azureSites:
  domain:
  tenantId:
  clientId:
  clientSecret:
  allowedSubscriptions:
    - id:

Configuration Details:

Integrating

Here's how to get the backend plugin up and running:

New Backend System

The Azure Sites backend plugin has support for the new backend system, here's how you can set that up:

In your packages/backend/src/index.ts make the following changes:

  import { createBackend } from '@backstage/backend-defaults';

  const backend = createBackend();

  // ... other feature additions

+ backend.add(import('@backstage-community/plugin-azure-sites-backend'));

  // ...

  backend.start();

Start Backed & Test

  1. Now run yarn start-backend from the repo root.

  2. Finally, open http://localhost:7007/api/azure/health in a browser, it should return {"status":"ok"}.

Readme

Keywords

Package Sidebar

Install

npm i @backstage-community/plugin-azure-sites-backend

Homepage

backstage.io

Weekly Downloads

71

Version

0.8.0

License

Apache-2.0

Unpacked Size

65.3 kB

Total Files

15

Last publish

Collaborators

  • patriko