Skip to content
This repository was archived by the owner on Dec 14, 2022. It is now read-only.

Commit 19b7c78

Browse files
author
Chris Wiechmann
committed
Changed to @axway-api-builder-ext/api-builder-plugin-fn-elasticsearch:2.2.0
1 parent 80c672e commit 19b7c78

File tree

4 files changed

+21
-17
lines changed

4 files changed

+21
-17
lines changed
-26.7 KB
Binary file not shown.

apibuilder4elastic/flows/SetupElasticsearchTransform.json

Lines changed: 14 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,6 @@
210210
"name": "Create transform",
211211
"method": "putTransform",
212212
"parameters": [
213-
{
214-
"name": "deletePreviousTransform",
215-
"type": "boolean",
216-
"value": "false",
217-
"metaName": "Delete previous transform",
218-
"metaDescription": "If an existing transform with the same primary ID has been found which should be replaced, this switch decides whether the old transform should be deleted. If the previous transform is running, it will be stopped automatically."
219-
},
220213
{
221214
"name": "startTransform",
222215
"type": "boolean",
@@ -234,12 +227,21 @@
234227
{
235228
"name": "body",
236229
"type": "jsonpath",
237-
"value": "$.transform.transformBody"
230+
"value": "$.transform.transformBody",
231+
"metaName": "Transform configuration",
232+
"metaDescription": "The transform job configuration"
238233
},
239234
{
240235
"name": "idSuffix",
241236
"type": "jsonpath",
242-
"value": "$.transform.transformIdSuffix"
237+
"value": "$.transform.transformIdSuffix",
238+
"metaName": "Transform-ID Suffix",
239+
"metaDescription": "Mandatory if an existing transform is to be replaced. The Transform-ID suffix is used to generate the final Transform-ID, which is used to create the transform. Existing transforms with the primary transforms ID are searched for, stopped/deleted and a new transform with transform ID + suffix is created."
240+
},
241+
{
242+
"name": "deletePreviousTransform",
243+
"type": "boolean",
244+
"value": "true"
243245
}
244246
],
245247
"outputs": {
@@ -371,7 +373,9 @@
371373
{
372374
"name": "transformIdSuffix",
373375
"type": "jsonpath",
374-
"value": "$.indexConfig.transform.idSuffix"
376+
"value": "$.indexConfig.transform.idSuffix",
377+
"metaName": "The Transform ID-Suffix",
378+
"metaDescription": "This ID-Suffix (e.g. V1, V2, etc.) makes the transform name unique in Elasticsearch. If custom properties were used, a hash code is generated from all property names and appended to the primary ID. (e.g. V1-7868768). This allows an existing transform with the same custom properties to be recognized. If the custom properties change, a new transform job is created. If no custom properties are configured, the ID is returned unchanged."
375379
}
376380
],
377381
"outputs": {

apibuilder4elastic/package-lock.json

Lines changed: 6 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

apibuilder4elastic/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
},
2727
"homepage": "https://github.com/cwiechmann/apigateway-openlogging-elk",
2828
"dependencies": {
29-
"@axway-api-builder-ext/api-builder-plugin-fn-elasticsearch": "file:axway-api-builder-ext-api-builder-plugin-fn-elasticsearch-2.2.0.tgz",
29+
"@axway-api-builder-ext/api-builder-plugin-fn-elasticsearch": "^2.2.0",
3030
"@axway-api-builder-ext/api-builder-plugin-fn-file": "^0.0.8",
3131
"@axway-api-builder-ext/api-builder-plugin-fn-power": "^1.0.0",
3232
"@axway-api-builder-ext/api-builder-plugin-utils": "^1.0.1",

0 commit comments

Comments
 (0)