camunda / connectors

Camunda Connectors
https://docs.camunda.io/docs/components/integration-framework/connectors/out-of-the-box-connectors/available-connectors-overview/
Apache License 2.0
41 stars 39 forks source link

`@ElementTemplate` annotation API enhancements #1342

Open chillleader opened 1 year ago

chillleader commented 1 year ago

Is your feature request related to a problem? Please describe.

2 improvements are requested for the annotation-based element template generator API:

Describe the solution you'd like

@ElementTemplate(
    id = "aws-dynamodb-connector-aws-dynamodb",
    type = "bpmn:ScriptTask"       // optional value, defaults to service task
    name = "Generated AWS DynamoDB Connector",
    version = 1,
    description = "Generated AWS DynamoDB Connector",
    inputDataClass = AwsDynamoDbRequest.class)
@OutboundConnector(
    name = "AWS DynamoDB",
    inputDataClass = AwsDynamoDbRequest.class, // the same param can then be removed from `@ElementTemplate`
    type = "io.camunda:aws-dynamodb:1")

Describe alternatives you've considered

None

Additional context

None

chillleader commented 1 year ago

Partially implemented in #1353: now it is possible to specify custom elementType and appliesTo.

mattli2024 commented 2 weeks ago

@chillleader - is this still relevant? Can you review