From b17f5f15998c7d0e3c215d26e50ad94b9b27df05 Mon Sep 17 00:00:00 2001 From: gitea_admin Date: Wed, 11 Mar 2026 14:39:46 +0000 Subject: [PATCH] Update wiki Home page for replace-field-action --- Home.md | 44 ++++++++++++++++++++++++++++++-------------- 1 file changed, 30 insertions(+), 14 deletions(-) diff --git a/Home.md b/Home.md index 93a012c..7388c2c 100644 --- a/Home.md +++ b/Home.md @@ -1,21 +1,37 @@ -# Deploy the Project on CamelX Platform +# Replace Field Action -Deploy on CamelX Platform in three steps +Replace field with a different key in the message in transit. -## Step 1: Create a release -From the project space, click on **"Create a release"** +The required parameter 'renames' is a comma-separated list of colon-delimited renaming pairs like for example 'foo:bar,abc:xyz' and it represents the field rename mappings. -The new version is automatically available in the list +The optional parameter 'enabled' represents the fields to include. If specified, only the named fields will be included in the resulting message. -## Step 2: Deploy -Click on **"Deploy"** +The optional parameter 'disabled' represents the fields to exclude. If specified, the listed fields will be excluded from the resulting message. This takes precedence over the 'enabled' parameter. -- **Version:** Select the desired release -- **Environment:** Choose `Development`, `Staging`, or `Production` -- **Configuration:** Select the configuration source -- **Resources:** Set CPU and Memory +The default value of 'enabled' parameter is 'all', so all the fields of the payload will be included. -## Step 3: Expose -Enable **"Expose"** +The default value of 'disabled' parameter is 'none', so no fields of the payload will be excluded. -Choose an **API Gateway** (Internal, Public, etc.) +## Metadata + +| Property | Value | +|----------|-------| +| Type | action | +| Group | Actions | +| Namespace | Transformation | +| Support Level | Stable | +| Provider | Apache Software Foundation | + +## Properties + +| Name | Type | Required | Default | Description | +|------|------|----------|---------|-------------| +| `enabled` | string | | `all` | Comma separated list of fields to be enabled | +| `disabled` | string | | `none` | Comma separated list of fields to be disabled | +| `renames` | string | ✓ | | Comma separated list of field with new value to be renamed | + +## Dependencies + +- `camel:core` +- `camel:jackson` +- `camel:kamelet`