generated from camel.apache.org/kamelet
Update wiki Home page for insert-field-action
parent
99e71f838a
commit
c31b4f1fc4
37
Home.md
37
Home.md
@ -1,21 +1,30 @@
|
||||
# Deploy the Project on CamelX Platform
|
||||
# Insert Field Action
|
||||
|
||||
Deploy on CamelX Platform in three steps
|
||||
Adds a custom field with a simple language parsed value to the message in transit.
|
||||
|
||||
## Step 1: Create a release
|
||||
From the project space, click on **"Create a release"**
|
||||
The insert field action expects an application/json content type.
|
||||
|
||||
The new version is automatically available in the list
|
||||
If for example you have an object like '{ "foo":"John", "bar":30 }' and your action has been configured with field as 'element' and value as 'hello', you'll get '{ "foo":"John", "bar":30, "element":"hello" }' as a result
|
||||
|
||||
## Step 2: Deploy
|
||||
Click on **"Deploy"**
|
||||
## Metadata
|
||||
|
||||
- **Version:** Select the desired release
|
||||
- **Environment:** Choose `Development`, `Staging`, or `Production`
|
||||
- **Configuration:** Select the configuration source
|
||||
- **Resources:** Set CPU and Memory
|
||||
| Property | Value |
|
||||
|----------|-------|
|
||||
| Type | action |
|
||||
| Group | Actions |
|
||||
| Namespace | Transformation |
|
||||
| Support Level | Stable |
|
||||
| Provider | Apache Software Foundation |
|
||||
|
||||
## Step 3: Expose
|
||||
Enable **"Expose"**
|
||||
## Properties
|
||||
|
||||
Choose an **API Gateway** (Internal, Public, etc.)
|
||||
| Name | Type | Required | Default | Description |
|
||||
|------|------|----------|---------|-------------|
|
||||
| `field` | string | ✓ | | The name of the field to be added |
|
||||
| `value` | string | ✓ | | The value of the field |
|
||||
|
||||
## Dependencies
|
||||
|
||||
- `camel:core`
|
||||
- `camel:jackson`
|
||||
- `camel:kamelet`
|
||||
|
||||
Loading…
Reference in New Issue
Block a user