0.4.15 • Published 18 days ago

@backstage/plugin-adr-backend v0.4.15

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
18 days 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

20 days ago

0.4.14

23 days ago

0.4.14-next.1

1 month ago

0.4.14-next.0

1 month ago

0.4.13

1 month ago

0.4.12

2 months ago

0.4.11

2 months ago

0.4.11-next.2

2 months ago

0.4.11-next.1

2 months ago

0.4.10

2 months ago

0.4.10-next.0

2 months ago

0.4.9

3 months ago

0.4.8

3 months ago

0.4.7

3 months ago

0.4.7-next.3

3 months ago

0.4.7-next.2

3 months ago

0.4.7-next.1

3 months ago

0.4.7-next.0

4 months ago

0.4.6

4 months ago

0.4.6-next.2

4 months ago

0.4.6-next.1

4 months ago

0.4.6-next.0

5 months ago

0.4.5

5 months ago

0.4.5-next.3

5 months ago

0.4.5-next.2

5 months ago

0.4.5-next.1

5 months ago

0.3.9-next.1

8 months ago

0.3.9-next.2

8 months ago

0.3.8-next.0

9 months ago

0.4.2-next.0

8 months ago

0.4.2-next.1

7 months ago

0.4.3-next.2

7 months ago

0.4.4-next.2

6 months ago

0.4.4-next.1

6 months ago

0.4.4-next.0

7 months ago

0.3.6-next.1

9 months ago

0.3.6-next.2

9 months ago

0.3.6-next.0

10 months ago

0.4.0-next.3

8 months ago

0.3.6

9 months ago

0.3.5

10 months ago

0.3.8

9 months ago

0.3.7

9 months ago

0.4.5-next.0

6 months ago

0.4.4

6 months ago

0.4.1

8 months ago

0.4.0

8 months ago

0.4.3

7 months ago

0.4.2

7 months ago

0.3.5-next.1

10 months ago

0.3.4-next.2

11 months ago

0.3.4

11 months ago

0.3.5-next.0

11 months ago

0.3.3-next.1

1 year ago

0.3.4-next.1

12 months ago

0.3.4-next.0

12 months ago

0.3.3

12 months ago

0.3.3-next.0

1 year ago

0.3.2

1 year ago

0.3.2-next.3

1 year ago

0.3.1-next.2

1 year ago

0.3.1-next.0

1 year ago

0.3.1-next.1

1 year ago

0.3.0

1 year ago

0.3.1

1 year ago

0.3.2-next.2

1 year ago

0.3.2-next.1

1 year ago

0.3.2-next.0

1 year ago

0.2.5-next.2

1 year ago

0.2.5-next.1

1 year ago

0.2.7-next.2

1 year ago

0.2.7-next.1

1 year ago

0.2.7-next.0

1 year ago

0.2.6

1 year ago

0.2.5

1 year ago

0.2.5-next.0

1 year ago

0.2.3-next.1

2 years ago

0.2.3-next.0

2 years ago

0.2.4-next.2

1 year ago

0.2.4-next.3

1 year ago

0.2.4-next.0

1 year ago

0.2.4-next.1

1 year ago

0.2.3

1 year ago

0.2.2

2 years ago

0.2.4

1 year 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

2 years ago

0.1.1-next.1

2 years ago

0.1.1-next.0

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.2-next.1

2 years ago

0.1.2-next.2

2 years ago

0.1.2-next.0

2 years ago

0.2.0

2 years ago

0.1.0

2 years ago

0.1.0-next.1

2 years ago

0.1.0-next.0

2 years ago