0.4.15 • Published 8 months ago

@backstage/plugin-adr-backend v0.4.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
8 months ago

ADR Backend

This ADR backend plugin is primarily responsible for the following:

  • Provides a DefaultAdrCollatorFactory, which can be used in the search backend to index ADR documents associated with entities to your Backstage Search.

Indexing ADR documents for search

Before you are able to start indexing ADR documents to search, you need to go through the search getting started guide.

When you have your packages/backend/src/plugins/search.ts file ready to make modifications, install this plugin and add the following code snippet to add the DefaultAdrCollatorFactory. Also make sure to set up the frontend ADR plugin so search results can be routed correctly.

# From your Backstage root directory
yarn --cwd packages/backend add @backstage/plugin-adr-backend
import { DefaultAdrCollatorFactory } from '@backstage/plugin-adr-backend';

...

indexBuilder.addCollator({
  schedule,
  factory: DefaultAdrCollatorFactory.fromConfig({
    cache: env.cache,
    config: env.config,
    discovery: env.discovery,
    logger: env.logger,
    reader: env.reader,
    tokenManager: env.tokenManager,
  }),
});

Parsing custom ADR document formats

By default, the DefaultAdrCollatorFactory will parse and index documents that follow the MADR standard file name and template format. If you use a different ADR format and file name convention, you can configure DefaultAdrCollatorFactory with custom adrFilePathFilterFn and parser options (see type definitions for details):

DefaultAdrCollatorFactory.fromConfig({
  ...
  parser: myCustomAdrParser,
  adrFilePathFilterFn: myCustomAdrFilePathFilter,
  ...
})
0.4.15

8 months ago

0.4.14

8 months ago

0.4.14-next.1

9 months ago

0.4.14-next.0

9 months ago

0.4.13

9 months ago

0.4.12

9 months ago

0.4.11

9 months ago

0.4.11-next.2

9 months ago

0.4.11-next.1

10 months ago

0.4.10

10 months ago

0.4.10-next.0

10 months ago

0.4.9

10 months ago

0.4.8

10 months ago

0.4.7

10 months ago

0.4.7-next.3

10 months ago

0.4.7-next.2

11 months ago

0.4.7-next.1

11 months ago

0.4.7-next.0

11 months ago

0.4.6

11 months ago

0.4.6-next.2

12 months ago

0.4.6-next.1

12 months ago

0.4.6-next.0

12 months ago

0.4.5

1 year ago

0.4.5-next.3

1 year ago

0.4.5-next.2

1 year ago

0.4.5-next.1

1 year ago

0.3.9-next.1

1 year ago

0.3.9-next.2

1 year ago

0.3.8-next.0

1 year ago

0.4.2-next.0

1 year ago

0.4.2-next.1

1 year ago

0.4.3-next.2

1 year ago

0.4.4-next.2

1 year ago

0.4.4-next.1

1 year ago

0.4.4-next.0

1 year ago

0.3.6-next.1

1 year ago

0.3.6-next.2

1 year ago

0.3.6-next.0

1 year ago

0.4.0-next.3

1 year ago

0.3.6

1 year ago

0.3.5

1 year ago

0.3.8

1 year ago

0.3.7

1 year ago

0.4.5-next.0

1 year ago

0.4.4

1 year ago

0.4.1

1 year ago

0.4.0

1 year ago

0.4.3

1 year ago

0.4.2

1 year ago

0.3.5-next.1

1 year ago

0.3.4-next.2

2 years ago

0.3.4

2 years ago

0.3.5-next.0

1 year ago

0.3.3-next.1

2 years ago

0.3.4-next.1

2 years ago

0.3.4-next.0

2 years ago

0.3.3

2 years ago

0.3.3-next.0

2 years ago

0.3.2

2 years ago

0.3.2-next.3

2 years ago

0.3.1-next.2

2 years ago

0.3.1-next.0

2 years ago

0.3.1-next.1

2 years ago

0.3.0

2 years ago

0.3.1

2 years ago

0.3.2-next.2

2 years ago

0.3.2-next.1

2 years ago

0.3.2-next.0

2 years ago

0.2.5-next.2

2 years ago

0.2.5-next.1

2 years ago

0.2.7-next.2

2 years ago

0.2.7-next.1

2 years ago

0.2.7-next.0

2 years ago

0.2.6

2 years ago

0.2.5

2 years ago

0.2.5-next.0

2 years ago

0.2.3-next.1

2 years ago

0.2.3-next.0

2 years ago

0.2.4-next.2

2 years ago

0.2.4-next.3

2 years ago

0.2.4-next.0

2 years ago

0.2.4-next.1

2 years ago

0.2.3

2 years ago

0.2.2

2 years ago

0.2.4

2 years ago

0.2.2-next.2

2 years ago

0.2.2-next.1

2 years ago

0.2.2-next.0

2 years ago

0.2.1-next.3

2 years ago

0.2.1-next.1

2 years ago

0.2.1-next.2

2 years ago

0.2.1-next.0

2 years ago

0.2.1

2 years ago

0.1.3-next.0

2 years ago

0.2.0-next.1

2 years ago

0.1.1-next.2

3 years ago

0.1.1-next.1

3 years ago

0.1.1-next.0

3 years ago

0.1.2

2 years ago

0.1.1

3 years ago

0.1.2-next.1

2 years ago

0.1.2-next.2

2 years ago

0.1.2-next.0

3 years ago

0.2.0

2 years ago

0.1.0

3 years ago

0.1.0-next.1

3 years ago

0.1.0-next.0

3 years ago