From 5cbe54ce3ea9c5cab76d242a8f7fe3c1d1be860a Mon Sep 17 00:00:00 2001 From: Josh Wulf Date: Thu, 2 Nov 2023 08:59:48 +1300 Subject: [PATCH] Update for 8.3.1 release --- .github/workflows/build-docs.yml | 2 +- .github/workflows/tag-and-publish.yml | 2 +- README.md | 17 +++++++++++++++++ 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-docs.yml b/.github/workflows/build-docs.yml index 2c171f2..9fecdd7 100644 --- a/.github/workflows/build-docs.yml +++ b/.github/workflows/build-docs.yml @@ -23,7 +23,7 @@ jobs: - 9200:9200 - 9300:9300 zeebe: - image: camunda/zeebe:8.2.3 + image: camunda/zeebe:8.3.0 env: JAVA_TOOL_OPTIONS: "-Xms512m -Xmx512m" ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_CLASSNAME: io.camunda.zeebe.exporter.ElasticsearchExporter diff --git a/.github/workflows/tag-and-publish.yml b/.github/workflows/tag-and-publish.yml index f59398b..dd73929 100644 --- a/.github/workflows/tag-and-publish.yml +++ b/.github/workflows/tag-and-publish.yml @@ -23,7 +23,7 @@ jobs: - 9200:9200 - 9300:9300 zeebe: - image: camunda/zeebe:8.2.3 + image: camunda/zeebe:8.3.0 env: JAVA_TOOL_OPTIONS: "-Xms512m -Xmx512m" ZEEBE_BROKER_EXPORTERS_ELASTICSEARCH_CLASSNAME: io.camunda.zeebe.exporter.ElasticsearchExporter diff --git a/README.md b/README.md index fd16ffc..6af837f 100644 --- a/README.md +++ b/README.md @@ -1166,6 +1166,23 @@ async function deploy() { } ``` +### Deploy Form + +From 8.3.1, you can deploy a form to the Zeebe broker: + +```javascript +async function deploy() { + const zbc = new ZBClient() + const form = fs.readFileSync( + './src/__tests__/testdata/form_1.form' + ) + const result = await zbc.deployResource({ + form, + name: 'form_1.form', + }) +} +``` + ### Start a Process Instance