Skip to content
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

chore(slack): migrate slack inbound to generator #2279

Conversation

igpetrov
Copy link
Contributor

chore(slack): migrate slack inbound to generator

@igpetrov igpetrov self-assigned this Mar 29, 2024
@igpetrov igpetrov force-pushed the 713-migrate-slack-inbound-connector-to-element-template-generator branch from a0b17b7 to aa89237 Compare April 1, 2024 15:47
@igpetrov igpetrov marked this pull request as ready for review April 1, 2024 15:48
@igpetrov igpetrov requested a review from a team as a code owner April 1, 2024 15:48
Comment on lines 19 to 23
@TemplateProperty(
id = "context",
label = "Webhook ID",
group = "endpoint",
description = "The webhook ID is a part of the URL endpoint")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I would also add feel = FeelMode.disabled to this property and slackSigningSecret. We can change the default behavior for inbound connectors to set disabled (As we discussed last week with @Oleksiivanov)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created this issue, let's rather change the default value: #2282

I will tackle it later this week (currently focused on a different task), or feel free to take the lead if you feel like it :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good point, I'll change that to disabled

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@chillleader it seems like disabled is not working for inbound connectors. Setting feel = Property.FeelMode.disabled had no effect. Except the field is hidden, then it works. 🤔

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

related PR is not merged yet (disable feel for inbound by default):

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Setting feel = Property.FeelMode.disabled had no effect.

Good catch, I could confirm the issue - here is the proposed fix: #2286

@igpetrov igpetrov force-pushed the 713-migrate-slack-inbound-connector-to-element-template-generator branch 2 times, most recently from d823a6e to 39d83ac Compare April 2, 2024 10:06
@igpetrov igpetrov force-pushed the 713-migrate-slack-inbound-connector-to-element-template-generator branch from 39d83ac to c4f89ed Compare April 2, 2024 14:45
@igpetrov igpetrov added this pull request to the merge queue Apr 2, 2024
Merged via the queue into main with commit b3a776f Apr 2, 2024
4 checks passed
@igpetrov igpetrov deleted the 713-migrate-slack-inbound-connector-to-element-template-generator branch April 2, 2024 16:18
github-merge-queue bot pushed a commit that referenced this pull request Apr 4, 2024
* feat(rabbitmq): Add to template generator

* feat(rabbitmq): Move pattern constraint in the right place

* feat(rabbitmq): Refactor RabbitMq E2E tests

* feat(rabbitmq): Add missing annotations to some fields

* feat(rabbitmq): Refactor existing RabbitMq tests

* Outbound GitLab Connector enhancements (#2214)

* feat(gitlab): list repository branches

* feat(gitlab): create repository branch

* feat(gitlab): create repository file

* feat(gitlab): create merge request

* chore(gitlab): review feedback

* fix(rest): more meaningful error message on invalid host (#2245)

* fix(deps): update aws-java-sdk monorepo to v1.12.688 (#2253)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.google.apis:google-api-services-sheets to v4-rev20240319-2.0.0 (#2254)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(sendgrid): capitalize sender group name in the template (#2252)

* chore(deps): update dependency org.cyclonedx:cyclonedx-maven-plugin to v2.8.0 (#2256)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* fix(deps): update dependency com.microsoft.graph:microsoft-graph to v6.5.0 (#2258)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>

* feat(rabbitmq): Add RabbitMq InbC E2E tests

* feat(rabbitmq): Add URI Pattern validation

* feat(rabbitmq): Add missing $ to the URI Pattern

* feat(rabbitmq): Revert BpmnFile debug change

* feat(rabbitmq): Use the existing secrets Pattern for consistency

* bug(inboundc): Fix potential infinite retries on message idempotency check fails (#2281)

* ci: fix integration test GHA (#2274)

* fix(generator): FEEL mode = disabled not applied in some cases (#2286)

* feat(template generator): set default value feel = false for all inbound connectors (#2264)

* fix(generator): standardize line endings in generated element templates (#2288)

* chore(sns): migrate to element template generator (#2266)

* chore(slack): migrate slack inbound to generator (#2279)

* chore(inbound,sqs): move to generator (#2249)

* chore(inbound,sqs): move to generator

* fix(sqs): fixed correct template overrides

Co-authored-by: Oleksii Ivanov <108869886+Oleksiivanov@users.noreply.github.com>

* chore(inbound,sqs): corrected generator props

---------

Co-authored-by: Oleksii Ivanov <108869886+Oleksiivanov@users.noreply.github.com>

* feat(rabbitmq): Rebase main + re generate all templates

---------

Co-authored-by: Wolfgang Amann <8766375+wollefitz@users.noreply.github.com>
Co-authored-by: Igor Petrov <108870003+igpetrov@users.noreply.github.com>
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Pavel Kotelevsky <38818382+chillleader@users.noreply.github.com>
Co-authored-by: Oleksii Ivanov <108869886+Oleksiivanov@users.noreply.github.com>
Co-authored-by: Mark Farkas <119574841+markfarkas-camunda@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants