diff --git a/docs/architecture/data-format.md b/docs/architecture/data-format.md
index e08e086..bc3ccc1 100644
--- a/docs/architecture/data-format.md
+++ b/docs/architecture/data-format.md
@@ -19,11 +19,15 @@ All data passed between workflow nodes is **Apache Parquet** (Snappy-compressed,
```mermaid
flowchart LR
- A["π§© Node A
NodeOutputWriter"] -->|"output.{portId}.parquet"| S3[("ποΈ MinIO (S3)")]
- S3 -->|"input.{portId}.parquet"| B["π§© Node B
NodeInputReader"]
+ A[/"π§© Node A
NodeOutputWriter"/] ==>|"write
output.{portId}.parquet"| S3[("ποΈ MinIO (S3)
one Parquet file
per port")]
+ S3 ==>|"read
input.{portId}.parquet"| B[\"π§© Node B
NodeInputReader"\]
+ classDef ui fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
+ classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
+ classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
class A,B worker
class S3 store
```
diff --git a/docs/architecture/node-model.md b/docs/architecture/node-model.md
index bd47aa6..18d2235 100644
--- a/docs/architecture/node-model.md
+++ b/docs/architecture/node-model.md
@@ -45,21 +45,25 @@ At startup, each worker publishes its available nodes to Kafka so the platform c
```mermaid
flowchart LR
- W["π§© Worker (startup)
discovers all @ContinuumNode
beans via Spring"]
- K["π¨ Kafka topic
FeatureRegistration
(Avro binary)"]
- B["π Message Bridge
consumes & upserts
per node"]
- DB[("π PostgreSQL
registered_nodes
nodeId + taskQueue")]
+ W[/"π§© Worker starts
finds every @ContinuumNode
bean via Spring"/]
+ K[["π¨ Kafka topic
FeatureRegistration
Avro binary"]]
+ B["π Message Bridge
consumes and upserts
one row per node"]
+ DB[("π PostgreSQL
registered_nodes
nodeId + taskQueue")]
+ UI(["π₯οΈ Workbench palette
your node appears"])
- W -->|publish| K --> B -->|upsert| DB
+ W ==>|"publish"| K ==> B ==>|"upsert"| DB -.->|"served via API"| UI
- classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
- classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
+ classDef ui fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
+ classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
+ classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
class W worker
class K stream
class B core
class DB store
+ class UI ui
```
diff --git a/docs/architecture/overview.md b/docs/architecture/overview.md
index b743d12..add3bd5 100644
--- a/docs/architecture/overview.md
+++ b/docs/architecture/overview.md
@@ -9,37 +9,38 @@ Continuum is split into a browser frontend, a core backend (API server + Tempora
```mermaid
flowchart TB
- subgraph Browser["π₯οΈ Browser β Continuum Workbench"]
- UI["Eclipse Theia IDE + React Flow canvas"]
+ subgraph Browser["π₯οΈ Browser: Continuum Workbench"]
+ UI(["π¨ Eclipse Theia IDE + React Flow canvas"])
end
- API["π API Server"]
- Bridge["π Message Bridge
Kafka β MQTT"]
- Temporal["β±οΈ Temporal
orchestration"]
- Kafka["π¨ Kafka"]
+ API["π API Server"]
+ Temporal{{"β±οΈ Temporal
orchestration"}}
+ Bridge["π Message Bridge
Kafka β MQTT"]
+ Kafka[["π¨ Kafka
events"]]
- subgraph Workers["π§© Feature Workers"]
+ subgraph Workers["π§© Feature Workers: add yours here"]
direction LR
Base["π Base"]
Chem["π§ͺ Cheminformatics"]
AI["π€ AI / ML"]
end
- MinIO[("ποΈ MinIO (S3)
Parquet files")]
+ MinIO[("ποΈ MinIO (S3)
Parquet files")]
- UI -->|REST| API
- Bridge -->|MQTT / WebSocket| UI
- API --> Temporal
- Temporal -->|dispatches| Workers
- Workers -->|events| Kafka
- Kafka --> Bridge
- Workers <-->|read / write| MinIO
+ UI ==>|"REST"| API
+ Bridge -.->|"MQTT / WebSocket
live status"| UI
+ API ==> Temporal
+ Temporal ==>|"dispatches"| Workers
+ Workers -.->|"events"| Kafka
+ Kafka -.-> Bridge
+ Workers <-->|"read / write"| MinIO
classDef ui fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
classDef core fill:#ec489933,stroke:#ec4899,stroke-width:2px
classDef stream fill:#f59e0b33,stroke:#f59e0b,stroke-width:2px
classDef worker fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
classDef store fill:#10b98133,stroke:#10b981,stroke-width:2px
+ classDef hero fill:#06b6d433,stroke:#06b6d4,stroke-width:4px,stroke-dasharray:6 3
class UI ui
class API,Temporal core
class Kafka,Bridge stream
@@ -74,17 +75,29 @@ sequenceDiagram
participant S as ποΈ MinIO
participant K as π¨ Kafka β MQTT
- B->>A: Execute workflow (REST)
- A->>T: Start ContinuumWorkflow
- T->>A: InitializeActivity: resolve task queues
- loop each unblocked DAG node
- T->>W: IContinuumNodeActivity.run()
- W->>S: Read input Parquet
- W->>S: Write output Parquet
- W-->>T: Progress signals
- T-->>K: WorkflowUpdateEvent
- K-->>B: Node status (MQTT over WebSocket)
+ rect rgba(139, 92, 246, 0.10)
+ Note over B,T: π Start
+ B->>+A: Execute workflow (REST)
+ A->>+T: Start ContinuumWorkflow
+ T->>A: InitializeActivity: resolve task queues
+ deactivate A
end
+
+ loop π each unblocked DAG node
+ rect rgba(6, 182, 212, 0.10)
+ Note over T,S: βοΈ Run the node
+ T->>+W: IContinuumNodeActivity.run()
+ W->>S: Read input Parquet
+ W->>S: Write output Parquet
+ W-->>-T: Progress signals
+ end
+ rect rgba(245, 158, 11, 0.12)
+ Note over T,B: π‘ Live status
+ T-->>K: WorkflowUpdateEvent
+ K-->>B: Node status (MQTT over WebSocket)
+ end
+ end
+ deactivate T
```
## Why this survives crashes
diff --git a/docs/contributing/create-new-nodes/overview.md b/docs/contributing/create-new-nodes/overview.md
index 7c53887..a0018a1 100644
--- a/docs/contributing/create-new-nodes/overview.md
+++ b/docs/contributing/create-new-nodes/overview.md
@@ -7,62 +7,77 @@ slug: /contributing/create-new-nodes
# Create New Nodes
-This guide walks you through building a **feature worker** with your own workflow node, from an empty folder to a passing build and a worker that registers its node with the platform. The running example is a **Word Counter** node that counts the words in a text column and appends the count as a new column.
+
+
+Start from the **`continuum-feature-template`** repository, rename it, replace its example node with yours, and ship a worker. You write one Kotlin or Java class per node. The template provides everything else.
+
+
- Kotlin + Gradle
- 9 steps
+ Kotlin or Java
+ 6 steps
Platform 0.0.20
-You need to know some Kotlin and Gradle. You don't need to know Temporal, Kafka or Spring internals; the Continuum Gradle plugins and the worker starter handle those.
-
-:::info[Versions used in this guide]
-Verified against **Continuum platform `0.0.20`** (Spring Boot 4.0.6, Kotlin 2.2, Jackson 3, Gradle 8.14, JDK 21). Check [Maven Central](https://central.sonatype.com/artifact/org.projectcontinuum.core/continuum-commons) for the latest platform version, and use the same version everywhere in your project.
-:::
-
-## How the pieces fit
-
-A feature worker is a small Gradle multi-project:
-
+## The idea in one minute
+
+A **node** is a block on the Workbench canvas that reads tables, does something and writes tables. Nodes live in a **feature worker**, a small Spring Boot app that registers its nodes with the platform at startup.
+
+You don't build a worker from scratch. The template is already a complete, working worker with two example nodes (one Kotlin, one Java), a build, tests, CI/CD, a Helm chart and a local stack. Your job is to rename it and swap in your own nodes.
+
+```mermaid
+flowchart TB
+ S1(["π§² 1 Β· Clone and run
see it work first"]) --> S2(["π 2 Β· Tour
what to touch"])
+ S2 --> S3(["π·οΈ 3 Β· Rename
make it yours"])
+ S3 --> S4(["βοΈ 4 Β· Write
class, help, test"])
+ S4 --> S5(["π§ͺ 5 Β· Test and run
see it in the Workbench"])
+ S5 --> S6(["π’ 6 Β· Ship
release and Helm"])
+ S6 ==> Done(["π Your nodes are live"])
+
+ classDef setup fill:#8b5cf633,stroke:#8b5cf6,stroke-width:2px
+ classDef build fill:#06b6d433,stroke:#06b6d4,stroke-width:2px
+ classDef ship fill:#ec489933,stroke:#ec4899,stroke-width:2px
+ classDef done fill:#10b98133,stroke:#10b981,stroke-width:3px
+ class S1,S2 setup
+ class S3,S4 build
+ class S5,S6 ship
+ class Done done
+ linkStyle 5 stroke:#10b981,stroke-width:4px
```
-continuum-feature-demo/
-βββ settings.gradle.kts # plugin versions + module list
-βββ gradle.properties # continuumPlatformVersion, featureVersion
-βββ features/
-β βββ continuum-feature-demo/ # library module: your node classes
-βββ worker/ # thin Spring Boot app that hosts the nodes
-```
-
-- **Feature modules** (`org.projectcontinuum.feature` plugin) hold the node classes. They're plain libraries and can be published and reused.
-- **The worker module** (`org.projectcontinuum.worker` plugin) is a Spring Boot app with no node logic of its own. It depends on your feature modules and on `continuum-worker-springboot-starter`. At startup the starter finds every `@ContinuumNode` bean, polls a Temporal task queue for node executions, and publishes one registration message per node to Kafka.
-See [Node Model & Feature Registration](../../architecture/node-model.md) for what happens after registration.
-
-## Prerequisites
+## What you need
| Requirement | Notes |
|-------------|-------|
-| JDK 21 | Eclipse Temurin recommended. The plugins set a Java 21 toolchain. |
-| Gradle wrapper 8.14+ | Older wrappers (for example 8.4) can't load the Spring Boot 4 Gradle plugin. |
-| Docker | Only needed to run the worker against the [local stack](../../getting-started/local-setup.md). |
+| JDK 21 | Eclipse Temurin recommended. Check with `java -version`. |
+| Docker and Compose | Runs the local Continuum stack, about 8 GB of RAM. |
+| Some Kotlin or Java | You don't need to know Temporal, Kafka or Spring internals. |
+| A GitHub account | The template is used from GitHub, and the release steps run on GitHub Actions. |
-You **don't** need a GitHub token. All Continuum artifacts and Gradle plugins are published to **Maven Central**.
+You don't need a GitHub token, and you don't need to install Gradle: the repository includes the wrapper. Everything comes from Maven Central. To publish your work you also need Docker Hub (or another registry) credentials, and optionally a Maven Central account; [Step 6](./step-6-ship-it.md) covers both.
## The steps
-1. [Create the root project](./step-1-root-project.md)
-2. [Create the feature module](./step-2-feature-module.md)
-3. [Write the node](./step-3-write-the-node.md)
-4. [Add node documentation](./step-4-node-documentation.md)
-5. [Write unit tests](./step-5-unit-tests.md)
-6. [Create the worker module](./step-6-worker-module.md)
-7. [Build and test](./step-7-build-and-test.md)
-8. [Run the worker against the local stack](./step-8-run-locally.md)
-9. [Ship it](./step-9-ship-it.md)
+1. [Clone the template and run it](./step-1-clone-and-run.md): see the example nodes working before you change anything.
+2. [Tour the template](./step-2-tour-the-template.md): which files you write, which you rename and which you leave alone.
+3. [Make it yours](./step-3-make-it-yours.md): a checklist for renaming the project, packages, worker and chart.
+4. [Write your node](./step-4-write-your-node.md): the node class (Kotlin and Java), its help page and its unit test.
+5. [Test and run your node](./step-5-test-and-run.md): build, run the worker and use your node in the Workbench.
+6. [Ship it](./step-6-ship-it.md): versions, CI, release and Kubernetes.
-If something goes wrong along the way, see [Troubleshooting](./troubleshooting.md).
+After the six steps, [More node recipes](./recipes.md) covers adding more nodes, source nodes, credentials, retries, extra libraries, logging and debugging.
+
+## Where to look when something breaks
+
+- Your node doesn't appear in the Workbench: [Troubleshooting](./troubleshooting.md).
+- The platform's side of registration: [Node Model & Feature Registration](../../architecture/node-model.md).
+- A full list of errors and fixes, from the build to Kubernetes: [Troubleshooting](./troubleshooting.md).
+- The template's own README and `AGENTS.md` list its commands and rules.
+
+:::info[Versions]
+Verified against **Continuum platform `0.0.20`** (Spring Boot 4.0.6, Kotlin 2.2, Jackson 3, Gradle 8.14, JDK 21). Check [Maven Central](https://central.sonatype.com/artifact/org.projectcontinuum.core/continuum-commons) for newer versions.
+:::
diff --git a/docs/contributing/create-new-nodes/recipes.md b/docs/contributing/create-new-nodes/recipes.md
new file mode 100644
index 0000000..0f779a4
--- /dev/null
+++ b/docs/contributing/create-new-nodes/recipes.md
@@ -0,0 +1,276 @@
+---
+sidebar_position: 8
+sidebar_label: "More node recipes"
+title: "More node recipes"
+---
+
+# More node recipes
+
+
+ After Step 5
+ Kotlin examples
+
+
+[Step 4](./step-4-write-your-node.md) builds one process node. This page covers what you reach for next. The Kotlin code on this page was compiled and its tests were run against platform `0.0.20`. Java versions follow the same shape as the Java Word Counter in Step 4, and the notes below say where the API differs.
+
+## Add a second node
+
+You don't need a new module for every node. Add another class to the same package:
+
+1. Create `/node/MyOtherNodeModel.kt` next to your first node, annotated with `@ContinuumNode`.
+2. Add `MyOtherNodeModel.doc.md` in the matching resources folder.
+3. Add a test.
+4. Bump `featureVersion` and the chart's `appVersion` before you ship ([Step 6](./step-6-ship-it.md#1-bump-the-version)).
+
+That's all. `AutoConfigure` already scans your whole package, so there is nothing to register. Rebuild and restart the worker; it logs every node it found:
+
+```text
+Registered process nodes: [com.acme.demo.node.WordCounterNodeModel, com.acme.demo.node.MyOtherNodeModel]
+Registered trigger nodes: [...]
+```
+
+Create a **second module** only when you want to publish some nodes as a separate library, or keep unrelated nodes apart. A new module needs a folder under `features/`, an `include(...)` in `settings.gradle.kts`, an `implementation(project(...))` in `worker/build.gradle.kts`, its own `AutoConfigure` and `.imports` file, and entries in the two workflow files. [Step 2](./step-2-tour-the-template.md#files-that-must-agree-with-each-other) lists everything that must agree.
+
+## A source node with no inputs
+
+A node that creates data from nothing (a generator, a file reader, an API poll) extends `TriggerNodeModel` instead of `ProcessNodeModel`. It has no `inputPorts`, and `execute()` has no `inputs` parameter:
+
+```kotlin
+package com.acme.demo.node
+
+import org.projectcontinuum.core.commons.annotation.ContinuumNode
+import org.projectcontinuum.core.commons.model.ContinuumWorkflowModel
+import org.projectcontinuum.core.commons.node.TriggerNodeModel
+import org.projectcontinuum.core.commons.utils.NodeOutputWriter
+import org.springframework.http.MediaType.APPLICATION_OCTET_STREAM_VALUE
+
+@ContinuumNode
+class NumberGeneratorNodeModel : TriggerNodeModel() {
+
+ final override val outputPorts = mapOf(
+ "output" to ContinuumWorkflowModel.NodePort(name = "Numbers", contentType = APPLICATION_OCTET_STREAM_VALUE)
+ )
+
+ override val categories = listOf("Demo")
+
+ override val metadata = ContinuumWorkflowModel.NodeData(
+ id = this.javaClass.name,
+ nodeModel = this.javaClass.name,
+ title = "Number Generator",
+ subTitle = "Create a table of numbers",
+ description = "Creates a table with a number column and its square",
+ outputs = outputPorts,
+ properties = mapOf("count" to 10),
+ propertiesSchema = mapOf(
+ "type" to "object",
+ "properties" to mapOf("count" to mapOf("type" to "integer", "title" to "Row Count", "minimum" to 1)),
+ "required" to listOf("count")
+ ),
+ propertiesUISchema = mapOf(
+ "type" to "VerticalLayout",
+ "elements" to listOf(mapOf("type" to "Control", "scope" to "#/properties/count"))
+ )
+ )
+
+ override fun execute(properties: Map?, nodeOutputWriter: NodeOutputWriter) {
+ val count = (properties?.get("count") as Number?)?.toInt() ?: 10
+
+ nodeOutputWriter.createOutputPortWriter("output").use { writer ->
+ for (n in 0 until count) {
+ writer.write(n.toLong(), mapOf("n" to n, "square" to n * n))
+ }
+ }
+ }
+}
+```
+
+Everything else from Step 4 applies: the `.doc.md` help page, the package rule, the row types and the test approach. In a test you call `execute(properties, outputWriter)` with just two arguments.
+
+This example builds its schemas with `mapOf(...)` instead of parsing JSON strings. Both styles work; `mapOf` needs no `ObjectMapper`.
+
+## Use a credential
+
+Nodes that call an API, a database or a cloud service shouldn't take secrets as plain settings. Store the secret as a **credential** in the platform, let the user pick it in the node's form, and read it in `execute()`.
+
+There are three pieces:
+
+1. The settings hold only the credential's **name**.
+2. The UI schema marks that control with `options.format = "credential"`, so the Workbench shows a credential picker.
+3. `execute()` takes an extra `ExecutionContext` parameter and calls `getCredential`.
+
+```kotlin
+package com.acme.demo.node
+
+import org.projectcontinuum.core.commons.annotation.ContinuumNode
+import org.projectcontinuum.core.commons.context.ExecutionContext
+import org.projectcontinuum.core.commons.exception.NodeRuntimeException
+import org.projectcontinuum.core.commons.model.ContinuumWorkflowModel
+import org.projectcontinuum.core.commons.node.ProcessNodeModel
+import org.projectcontinuum.core.commons.protocol.progress.NodeProgressCallback
+import org.projectcontinuum.core.commons.utils.NodeInputReader
+import org.projectcontinuum.core.commons.utils.NodeOutputWriter
+import org.springframework.http.MediaType.APPLICATION_OCTET_STREAM_VALUE
+
+@ContinuumNode
+class ApiLookupNodeModel : ProcessNodeModel() {
+
+ final override val inputPorts = mapOf(
+ "input" to ContinuumWorkflowModel.NodePort(name = "Input Table", contentType = APPLICATION_OCTET_STREAM_VALUE)
+ )
+ final override val outputPorts = mapOf(
+ "output" to ContinuumWorkflowModel.NodePort(name = "Output Table", contentType = APPLICATION_OCTET_STREAM_VALUE)
+ )
+ override val categories = listOf("Demo")
+
+ override val metadata = ContinuumWorkflowModel.NodeData(
+ id = this.javaClass.name,
+ nodeModel = this.javaClass.name,
+ title = "API Lookup",
+ description = "Calls an API with a stored credential",
+ inputs = inputPorts,
+ outputs = outputPorts,
+ properties = mapOf("credential" to ""),
+ propertiesSchema = mapOf(
+ "type" to "object",
+ "properties" to mapOf("credential" to mapOf("type" to "string", "title" to "Credential")),
+ "required" to listOf("credential")
+ ),
+ propertiesUISchema = mapOf(
+ "type" to "VerticalLayout",
+ "elements" to listOf(
+ mapOf(
+ "type" to "Control",
+ "scope" to "#/properties/credential",
+ "options" to mapOf("format" to "credential", "credentialType" to "GENERIC")
+ )
+ )
+ )
+ )
+
+ // The shape of the credential's key-value data
+ data class ApiKey(val key: String)
+
+ override fun execute(
+ properties: Map?,
+ inputs: Map,
+ nodeOutputWriter: NodeOutputWriter,
+ nodeProgressCallback: NodeProgressCallback,
+ executionContext: ExecutionContext
+ ) {
+ val name = properties?.get("credential") as String?
+ ?: throw NodeRuntimeException(isRetriable = false, workflowId = "", nodeId = "", message = "No credential selected")
+ val apiKey = executionContext.getCredential(name)
+
+ nodeOutputWriter.createOutputPortWriter("output").use { writer ->
+ writer.write(0L, mapOf("key_length" to apiKey.key.length))
+ }
+ }
+}
+```
+
+The example only writes the length of the key. **Never write secrets to an output port or a log.** In your own node, use the key to call the API and write the response.
+
+Things to know:
+
+- `getCredential` throws `CredentialsNotFoundException` if no credential has that name. Decide whether that should be retried; usually it is a user error and should become a non-retriable `NodeRuntimeException`.
+- In Java, call `executionContext.getCredential(name, ApiKey.class)`, with `ApiKey` as a class or record whose fields match the credential's keys. The `execute` override takes the same five parameters.
+- Overriding the five-parameter `execute` replaces the four-parameter one. Don't override both.
+- The worker reads credentials from the credentials server at `CONTINUUM_CREDENTIALS_SERVER_BASE_URL` (default `http://localhost:8083`). The template's local Docker stack doesn't include one, so you can't try this node end to end locally unless you run the credentials server yourself. Test it with a fake fetcher instead, as below.
+- **On Kubernetes, set that variable in your chart.** The `continuum-platform` chart deploys the credentials server, but the template's `deployment.yaml` doesn't pass its address to your worker, so a credential node would look for `localhost:8083` and fail. Add this to the `env:` list in `charts//templates/deployment.yaml`, next to `CONTINUUM_API_SERVER_BASE_URL`, and adjust the host if you installed `continuum-platform` under another release name (the service is `-credentials-server`, port 8080):
+
+ ```yaml
+ - name: CONTINUUM_CREDENTIALS_SERVER_BASE_URL
+ value: "http://continuum-platform-credentials-server:8080"
+ ```
+- For the platform side (how credentials are stored and fetched), see [Credentials in the node model](../../architecture/node-model.md#credentials).
+
+Test it by giving `ExecutionContext` a fake `CredentialFetcher`:
+
+```kotlin
+package com.acme.demo.node
+
+import org.junit.jupiter.api.Assertions.assertEquals
+import org.junit.jupiter.api.Test
+import org.mockito.kotlin.any
+import org.mockito.kotlin.argumentCaptor
+import org.mockito.kotlin.mock
+import org.mockito.kotlin.verify
+import org.mockito.kotlin.whenever
+import org.projectcontinuum.core.commons.context.CredentialFetcher
+import org.projectcontinuum.core.commons.context.ExecutionContext
+import org.projectcontinuum.core.commons.utils.NodeOutputWriter
+
+class ApiLookupNodeModelTest {
+ @Test
+ fun `reads the selected credential`() {
+ val outputWriter = mock()
+ val portWriter = mock()
+ whenever(outputWriter.createOutputPortWriter("output")).thenReturn(portWriter)
+ val context = ExecutionContext(
+ ownerId = "test-user",
+ credentialFetcher = CredentialFetcher { name -> if (name == "my-key") mapOf("key" to "abc123") else null }
+ )
+
+ ApiLookupNodeModel().execute(mapOf("credential" to "my-key"), emptyMap(), outputWriter, mock(), context)
+
+ val row = argumentCaptor