@red-hat-developer-hub/backstage-plugin-orchestrator-common 3.6.0 → 3.6.2

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 CHANGED
@@ -1,5 +1,17 @@
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.2
4
+
5
+ ### Patch Changes
6
+
7
+ - d85bf56: chore: add new config value for contentLengthLimit
8
+
9
+ ## 3.6.1
10
+
11
+ ### Patch Changes
12
+
13
+ - 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`.
14
+
3
15
  ## 3.6.0
4
16
 
5
17
  ### Minor Changes
package/config.d.ts CHANGED
@@ -19,6 +19,11 @@ export interface Config {
19
19
  * Configuration for the Orchestrator plugin.
20
20
  */
21
21
  orchestrator?: {
22
+ /**
23
+ * Set the content length limit for the requests.
24
+ * Defaults to 102400 bytes (100kb)
25
+ */
26
+ contentLengthLimit?: string;
22
27
  sonataFlowService: {
23
28
  /**
24
29
  * Base URL of the Sonata Flow service.
@@ -78,6 +83,30 @@ export interface Config {
78
83
  */
79
84
  url: string;
80
85
  };
86
+ /**
87
+ * Kafka configuration for event-triggered workflows (KafkaJS-style).
88
+ * When present, the UI can show actions such as "Run as Event".
89
+ * @visibility frontend
90
+ */
91
+ kafka?: {
92
+ /**
93
+ * Logical identifier of the Kafka client application.
94
+ * @see https://kafka.js.org/docs/configuration#client-id
95
+ * @visibility frontend
96
+ */
97
+ clientId: string;
98
+ /**
99
+ * Kafka broker addresses (`host:port`).
100
+ * @visibility frontend
101
+ */
102
+ brokers: string[];
103
+ /**
104
+ * Log level for orchestrator Kafka services. Defaults to INFO (4); e.g. use 5 for DEBUG.
105
+ * @see https://kafka.js.org/docs/configuration#logging
106
+ * @visibility frontend
107
+ */
108
+ logLevel?: number;
109
+ };
81
110
  /**
82
111
  * Configuration for the workflow log provider.
83
112
  * If configured, the "View Logs" button will be shown in the workflow instance results.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@red-hat-developer-hub/backstage-plugin-orchestrator-common",
3
- "version": "3.6.0",
3
+ "version": "3.6.2",
4
4
  "license": "Apache-2.0",
5
5
  "main": "dist/index.cjs.js",
6
6
  "types": "dist/index.d.ts",