-
Notifications
You must be signed in to change notification settings - Fork 5.2k
CAMEL-24373: Add camel-alibaba-sls and camel-alibaba-ots (Phase 3) #25498
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
atiaomar1978-hub
wants to merge
9
commits into
apache:main
Choose a base branch
from
atiaomar1978-hub:feature/CAMEL-24373-alibaba-phase3-c587
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
1899296
CAMEL-24373: Add camel-alibaba-ots Tablestore component (Phase 3)
cursoragent 3ca0db8
CAMEL-24373: Add camel-alibaba-sls component (Phase 3)
cursoragent 1859fc2
CAMEL-24373: Wire SLS/OTS catalog, docs, BOM, coverage and DSL
cursoragent e768077
CAMEL-24373: Resolve stale SDK client after route restart
cursoragent 05eba4f
CAMEL-24373: Rename SLS and OTS classes with Alibaba prefix
cursoragent 81e9ae1
CAMEL-24373: Fix BOM order, doc symlinks and nav title for CI
cursoragent 18959c6
CAMEL-24373: Address davsclaus review feedback on Phase 3
cursoragent 11fda28
CAMEL-24373: Regenerate SLS component metadata after region fix
cursoragent e94670c
CAMEL-24373: Fix nav.adoc order to match doc regen sort
cursoragent File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -7,6 +7,8 @@ alibaba-fc | |
| alibaba-kms | ||
| alibaba-mns | ||
| alibaba-oss | ||
| alibaba-ots | ||
| alibaba-sls | ||
| alibaba-sms | ||
| amqp | ||
| arangodb | ||
|
|
||
46 changes: 46 additions & 0 deletions
46
...amel-catalog/src/generated/resources/org/apache/camel/catalog/components/alibaba-ots.json
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| { | ||
| "component": { | ||
| "kind": "component", | ||
| "name": "alibaba-ots", | ||
| "title": "Alibaba Tablestore (OTS)", | ||
| "description": "Perform row operations on Alibaba Cloud Tablestore (OTS).", | ||
| "deprecated": false, | ||
| "firstVersion": "4.23.0", | ||
| "label": "cloud,database", | ||
| "javaType": "org.apache.camel.component.alibaba.ots.AlibabaOtsComponent", | ||
| "supportLevel": "Preview", | ||
| "groupId": "org.apache.camel", | ||
| "artifactId": "camel-alibaba-ots", | ||
| "version": "4.23.0-SNAPSHOT", | ||
| "scheme": "alibaba-ots", | ||
| "extendsScheme": "", | ||
| "syntax": "alibaba-ots:operation", | ||
| "async": false, | ||
| "api": false, | ||
| "consumerOnly": false, | ||
| "producerOnly": true, | ||
| "lenientProperties": false, | ||
| "browsable": false, | ||
| "remote": true | ||
| }, | ||
| "componentProperties": { | ||
| "lazyStartProducer": { "index": 0, "kind": "property", "displayName": "Lazy Start Producer", "group": "producer", "label": "producer", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." }, | ||
| "autowiredEnabled": { "index": 1, "kind": "property", "displayName": "Autowired Enabled", "group": "advanced", "label": "advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Whether autowiring is enabled. This is used for automatic autowiring options (the option must be marked as autowired) by looking up in the registry to find if there is a single instance of matching type, which then gets configured on the component. This can be used for automatic configuring JDBC data sources, JMS connection factories, AWS Clients, etc." }, | ||
| "healthCheckConsumerEnabled": { "index": 2, "kind": "property", "displayName": "Health Check Consumer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all consumer based health checks from this component" }, | ||
| "healthCheckProducerEnabled": { "index": 3, "kind": "property", "displayName": "Health Check Producer Enabled", "group": "health", "label": "health", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": true, "description": "Used for enabling or disabling all producer based health checks from this component. Notice: Camel has by default disabled all producer based health-checks. You can turn on producer checks globally by setting camel.health.producersEnabled=true." } | ||
| }, | ||
| "headers": { | ||
| "CamelAlibabaOtsOperation": { "index": 0, "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Operation override", "constantName": "org.apache.camel.component.alibaba.ots.constants.AlibabaOtsHeaders#OPERATION" }, | ||
| "CamelAlibabaOtsRequestId": { "index": 1, "kind": "header", "displayName": "", "group": "producer", "label": "producer", "required": false, "javaType": "String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Tablestore request id", "constantName": "org.apache.camel.component.alibaba.ots.constants.AlibabaOtsHeaders#REQUEST_ID" } | ||
| }, | ||
| "properties": { | ||
| "operation": { "index": 0, "kind": "path", "displayName": "Operation", "group": "producer", "label": "producer", "required": true, "type": "enum", "javaType": "java.lang.String", "enum": [ "putRow", "getRow", "updateRow", "deleteRow", "listTables" ], "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Operation to perform" }, | ||
| "endpoint": { "index": 1, "kind": "parameter", "displayName": "Endpoint", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Tablestore endpoint URL" }, | ||
| "instanceName": { "index": 2, "kind": "parameter", "displayName": "Instance Name", "group": "producer", "label": "", "required": true, "type": "string", "javaType": "java.lang.String", "deprecated": false, "deprecationNote": "", "autowired": false, "secret": false, "description": "Tablestore instance name" }, | ||
| "lazyStartProducer": { "index": 3, "kind": "parameter", "displayName": "Lazy Start Producer", "group": "producer (advanced)", "label": "producer,advanced", "required": false, "type": "boolean", "javaType": "boolean", "deprecated": false, "autowired": false, "secret": false, "defaultValue": false, "description": "Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing." }, | ||
| "otsClient": { "index": 4, "kind": "parameter", "displayName": "OTS Client", "group": "advanced", "label": "advanced", "required": false, "type": "object", "javaType": "com.alicloud.openservices.tablestore.SyncClient", "deprecated": false, "deprecationNote": "", "autowired": true, "secret": false, "description": "Autowire an existing Tablestore client instance" }, | ||
| "accessKey": { "index": 5, "kind": "parameter", "displayName": "Access Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "description": "Access key for the cloud user" }, | ||
| "secretKey": { "index": 6, "kind": "parameter", "displayName": "Secret Key", "group": "security", "label": "security", "required": false, "type": "string", "javaType": "java.lang.String", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "description": "Secret key for the cloud user" }, | ||
| "serviceKeys": { "index": 7, "kind": "parameter", "displayName": "Service Keys", "group": "security", "label": "security", "required": false, "type": "object", "javaType": "org.apache.camel.component.alibaba.common.models.ServiceKeys", "deprecated": false, "autowired": false, "secret": true, "security": "secret", "description": "Configuration object for cloud service authentication" } | ||
| } | ||
| } |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor: alphabetical ordering —
camel-alibaba-slsis placed beforecamel-alibaba-ots, but alphabeticallyotscomes beforesls. The same ordering issue appears incoverage/pom.xmlanddocs/components/modules/ROOT/nav.adoc.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed — swapped ordering in
coverage/pom.xmlanddocs/components/modules/ROOT/nav.adocsootscomes beforesls. The BOM on this branch was already in the correct order.