Update wiki Home page for replace-field-action

gitea_admin 2026-03-11 14:39:46 +00:00
parent 9b6adfd065
commit b17f5f1599

44
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 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.
From the project space, click on **"Create a release"**
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 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.
Click on **"Deploy"**
- **Version:** Select the desired release The default value of 'enabled' parameter is 'all', so all the fields of the payload will be included.
- **Environment:** Choose `Development`, `Staging`, or `Production`
- **Configuration:** Select the configuration source
- **Resources:** Set CPU and Memory
## Step 3: Expose The default value of 'disabled' parameter is 'none', so no fields of the payload will be excluded.
Enable **"Expose"**
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`