@red-hat-developer-hub/backstage-plugin-orchestrator-common 3.6.0 → 3.6.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -0
- package/config.d.ts +24 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
## @red-hat-developer-hub/backstage-plugin-orchestrator-common [1.13.1](https://github.com/janus-idp/backstage-plugins/compare/@red-hat-developer-hub/backstage-plugin-orchestrator-common@1.13.0...@red-hat-developer-hub/backstage-plugin-orchestrator-common@1.13.1) (2024-08-02)
|
|
2
2
|
|
|
3
|
+
## 3.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 16d41c2: Add Run as Event when `orchestrator.kafka` is configured: send `isEvent` with execute input, redirect to workflow runs with a notice when the response id is `kafkaEvent`.
|
|
8
|
+
|
|
3
9
|
## 3.6.0
|
|
4
10
|
|
|
5
11
|
### Minor Changes
|
package/config.d.ts
CHANGED
|
@@ -78,6 +78,30 @@ export interface Config {
|
|
|
78
78
|
*/
|
|
79
79
|
url: string;
|
|
80
80
|
};
|
|
81
|
+
/**
|
|
82
|
+
* Kafka configuration for event-triggered workflows (KafkaJS-style).
|
|
83
|
+
* When present, the UI can show actions such as "Run as Event".
|
|
84
|
+
* @visibility frontend
|
|
85
|
+
*/
|
|
86
|
+
kafka?: {
|
|
87
|
+
/**
|
|
88
|
+
* Logical identifier of the Kafka client application.
|
|
89
|
+
* @see https://kafka.js.org/docs/configuration#client-id
|
|
90
|
+
* @visibility frontend
|
|
91
|
+
*/
|
|
92
|
+
clientId: string;
|
|
93
|
+
/**
|
|
94
|
+
* Kafka broker addresses (`host:port`).
|
|
95
|
+
* @visibility frontend
|
|
96
|
+
*/
|
|
97
|
+
brokers: string[];
|
|
98
|
+
/**
|
|
99
|
+
* Log level for orchestrator Kafka services. Defaults to INFO (4); e.g. use 5 for DEBUG.
|
|
100
|
+
* @see https://kafka.js.org/docs/configuration#logging
|
|
101
|
+
* @visibility frontend
|
|
102
|
+
*/
|
|
103
|
+
logLevel?: number;
|
|
104
|
+
};
|
|
81
105
|
/**
|
|
82
106
|
* Configuration for the workflow log provider.
|
|
83
107
|
* If configured, the "View Logs" button will be shown in the workflow instance results.
|