Skip to content

Commit d77e388

Browse files
authored
fix(orchestrator): update the installation instructions (#1336)
1 parent d9a174e commit d77e388

File tree

1 file changed

+10
-31
lines changed

1 file changed

+10
-31
lines changed

plugins/orchestrator/README.md

Lines changed: 10 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ The orchestrator relies on [SonataFlow](https://sonataflow.org/), a powerful too
1212

1313
The main idea is to keep the same user experience for users, levering the UI components, input forms, and flow that Scaffolder provides, this way it should be straightforward for users and transparent no matter whether using Templates or Workflows, both can live together being compatible with integration points.
1414

15-
The orchestrator controls the flow orchestrating operations/tasks that may be executed in any external service including Scaffolder Actions, this way it is possible to leverage any existing Action hence Templates and GPT can be easily migrated to workflows opening the door to extend them to more complex use cases.
15+
The orchestrator controls the flow orchestrating operations/tasks that may be executed in any external service including Scaffolder Actions, this way it is possible to leverage any existing Action hence Software Templates can be easily migrated to workflows opening the door to extend them to more complex use cases.
1616

1717
## Capabilities
1818

@@ -51,9 +51,9 @@ The Orchestrator plugin is composed of the following packages:
5151
- `@janus-idp/backstage-plugin-orchestrator` package contains frontend components for the Orchestrator plugin. For setup process, see [Frontend Setup](#setting-up-the-orchestrator-frontend-package)
5252
- `@janus-idp/backstage-plugin-orchestrator-common` package contains shared code between the Orchestrator plugin packages.
5353

54-
#### Prerequisites
54+
#### Prerequisites for running the plugins locally in development mode
5555

56-
- Docker up and running (currently it is a limitation, see [Limitations](#limitations))
56+
- Docker up and running
5757

5858
#### Setting up the Orchestrator as a dynamic plugin in a Helm deployment
5959

@@ -80,8 +80,6 @@ orchestrator:
8080

8181
For more information about the configuration options, including other optional properties, see the [config.d.ts](../orchestrator-common/config.d.ts) file.
8282

83-
- Although optional, you may also want to set up the `GITHUB_TOKEN` environment variable to allow the Orchestrator to access the GitHub API.
84-
8583
#### Setting up the Orchestrator backend package for the legacy backend
8684

8785
1. Install the Orchestrator backend plugin using the following command:
@@ -108,6 +106,7 @@ For more information about the configuration options, including other optional p
108106
discovery: env.discovery,
109107
catalogApi: env.catalogApi,
110108
urlReader: env.reader,
109+
scheduler: env.scheduler,
111110
});
112111
}
113112
```
@@ -146,14 +145,10 @@ For more information about the configuration options, including other optional p
146145
1. Add the following code to `packages/backend/src/index.ts` file:
147146

148147
```ts title="packages/backend/src/index.ts"
149-
import {
150-
orchestratorModuleEntityProvider,
151-
orchestratorPlugin,
152-
} from '@janus-idp/backstage-plugin-orchestrator-backend/alpha';
148+
import { orchestratorPlugin } from '@janus-idp/backstage-plugin-orchestrator-backend/alpha';
153149
154150
const backend = createBackend();
155151
/* highlight-add-next-line */
156-
backend.add(orchestratorModuleEntityProvider);
157152
backend.add(orchestratorPlugin);
158153
159154
backend.start();
@@ -171,26 +166,10 @@ For more information about the configuration options, including other optional p
171166

172167
```tsx title="packages/app/src/App.tsx"
173168
/* highlight-add-next-line */
174-
import {
175-
OrchestratorPage,
176-
OrchestratorScaffolderTemplateCard,
177-
} from '@janus-idp/backstage-plugin-orchestrator';
169+
import { OrchestratorPage } from '@janus-idp/backstage-plugin-orchestrator';
178170
179171
const routes = (
180172
<FlatRoutes>
181-
{/* ... */}
182-
{/* highlight-add-start */}
183-
<Route
184-
path="/create"
185-
element={
186-
<ScaffolderPage
187-
components={{
188-
TemplateCardComponent: OrchestratorScaffolderTemplateCard,
189-
}}
190-
/>
191-
}
192-
/>
193-
{/* highlight-add-end */}
194173
{/* ... */}
195174
{/* highlight-add-next-line */}
196175
<Route path="/orchestrator" element={<OrchestratorPage />} />
@@ -213,7 +192,7 @@ For more information about the configuration options, including other optional p
213192
<SidebarItem
214193
icon={OrchestratorIcon}
215194
to="orchestrator"
216-
text="Workflows"
195+
text="Orchestrator"
217196
/>
218197
{/* highlight-add-end */}
219198
</SidebarGroup>
@@ -228,7 +207,7 @@ For more information about the configuration options, including other optional p
228207

229208
### Using the Orchestrator plugin in Backstage
230209

231-
The Orchestrator plugin enhances the Backstage with the execution of developer self-service flows. It provides a graphical editor to manage workflows, and a dashboard to monitor the execution of the workflows.
210+
The Orchestrator plugin enhances the Backstage with the execution of developer self-service flows. It provides a graphical editor to visualize workflow definitions, and a dashboard to monitor the execution of the workflows.
232211

233212
#### Prerequisites
234213

@@ -238,5 +217,5 @@ The Orchestrator plugin enhances the Backstage with the execution of developer s
238217
#### Procedure
239218

240219
1. Open your Backstage application.
241-
1. Click the **Workflows** tab from the left-side panel to navigate to the **Orchestrator** main page.
242-
1. Inside the **Orchestrator** main page, you can see the list of workflows that are available in your Backstage application.
220+
1. Click the **Orchestrator** tab from the left-side panel to navigate to the **Orchestrator** main page.
221+
1. Inside the **Orchestrator** main page, you can see the list of workflow definitions that are available in your Backstage application.

0 commit comments

Comments
 (0)