You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: plugins/orchestrator/README.md
+10-31Lines changed: 10 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ The orchestrator relies on [SonataFlow](https://sonataflow.org/), a powerful too
12
12
13
13
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.
14
14
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.
16
16
17
17
## Capabilities
18
18
@@ -51,9 +51,9 @@ The Orchestrator plugin is composed of the following packages:
51
51
-`@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)
52
52
-`@janus-idp/backstage-plugin-orchestrator-common` package contains shared code between the Orchestrator plugin packages.
53
53
54
-
#### Prerequisites
54
+
#### Prerequisites for running the plugins locally in development mode
55
55
56
-
- Docker up and running (currently it is a limitation, see [Limitations](#limitations))
56
+
- Docker up and running
57
57
58
58
#### Setting up the Orchestrator as a dynamic plugin in a Helm deployment
59
59
@@ -80,8 +80,6 @@ orchestrator:
80
80
81
81
For more information about the configuration options, including other optional properties, see the [config.d.ts](../orchestrator-common/config.d.ts) file.
82
82
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
-
85
83
#### Setting up the Orchestrator backend package for the legacy backend
86
84
87
85
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
108
106
discovery: env.discovery,
109
107
catalogApi: env.catalogApi,
110
108
urlReader: env.reader,
109
+
scheduler: env.scheduler,
111
110
});
112
111
}
113
112
```
@@ -146,14 +145,10 @@ For more information about the configuration options, including other optional p
146
145
1. Add the following code to `packages/backend/src/index.ts` file:
147
146
148
147
```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';
153
149
154
150
const backend = createBackend();
155
151
/* highlight-add-next-line */
156
-
backend.add(orchestratorModuleEntityProvider);
157
152
backend.add(orchestratorPlugin);
158
153
159
154
backend.start();
@@ -171,26 +166,10 @@ For more information about the configuration options, including other optional p
171
166
172
167
```tsx title="packages/app/src/App.tsx"
173
168
/* 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';
@@ -213,7 +192,7 @@ For more information about the configuration options, including other optional p
213
192
<SidebarItem
214
193
icon={OrchestratorIcon}
215
194
to="orchestrator"
216
-
text="Workflows"
195
+
text="Orchestrator"
217
196
/>
218
197
{/* highlight-add-end */}
219
198
</SidebarGroup>
@@ -228,7 +207,7 @@ For more information about the configuration options, including other optional p
228
207
229
208
### Using the Orchestrator plugin in Backstage
230
209
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.
232
211
233
212
#### Prerequisites
234
213
@@ -238,5 +217,5 @@ The Orchestrator plugin enhances the Backstage with the execution of developer s
238
217
#### Procedure
239
218
240
219
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