Skip to content

Commit

Permalink
docs(orchestrator): add info on specific form packages for 1.3 (#2542)
Browse files Browse the repository at this point in the history
docs(orchestrator): add info on package and example versions compatible with 1.3
  • Loading branch information
batzionb authored Nov 18, 2024
1 parent a2abe1c commit fbf72ff
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 3 deletions.
2 changes: 2 additions & 0 deletions .changeset/purple-terms-pretend.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
---
17 changes: 14 additions & 3 deletions plugins/orchestrator/docs/extensibleForm.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,17 @@ This capability enables developers to extend and customize the `react-jsonschema

The custom decorator is delivered via a factory method that leverages a [Backstage utility API](https://backstage.io/docs/api/utility-apis) provided by the orchestrator. To trigger the desired behavior, the workflow schema should include custom UI properties.

For reference, an example plugin can be found [here](https://github.com/parodos-dev/custom-form-example-plugin).
For reference, an example plugin can be found [here](https://github.com/parodos-dev/custom-form-example-plugin/tree/1.3).

## API

To implement the API, include @janus-idp/backstage-plugin-orchestrator-form-api package as a dependency.
To implement the API, include @janus-idp/backstage-plugin-orchestrator-form-api package as a dependency by running:

```bash
yarn add @janus-idp/backstage-plugin-orchestrator-form-api@~1.0.101
```
This will ensure that you install version 1.0.101 of the package that is compatible with backstage 1.29.x, allowing updates only to patch versions within the 1.0.x range.

This package provides the `FormExtensionsApi` interface and related types.

```typescript
Expand Down Expand Up @@ -133,4 +139,9 @@ The `orchestrator-form-react` plugin handles the following key tasks:

The [`orchestrator-form-react`](https://github.com/janus-idp/backstage-plugins/tree/main/plugins/orchestrator-form-react) plugin is designed to operate independently of the main orchestrator plugin. This modularity allows developers to test and validate form behavior in a standalone Backstage development environment before integrating it with the full orchestrator setup.

To use this plugin, add the `@janus-idp/backstage-plugin-orchestrator-form-react` package as a dependency in your project.
To use orchestrator-form-react, add the `@janus-idp/backstage-plugin-orchestrator-form-react` package as a dependency in your project by running:

```bash
yarn add @janus-idp/backstage-plugin-orchestrator-form-react@~1.0.101
```
This will ensure that you install version 1.0.101 of the package that is compatible with backstage 1.29.x, allowing updates only to patch versions within the 1.0.x range.

0 comments on commit fbf72ff

Please sign in to comment.