Skip to content

Conversation

@danielbelchior
Copy link
Contributor

@danielbelchior danielbelchior commented Jul 14, 2025

Description

This PR introduces the ability to configure the HTTP method used by the HTTP Event Listener. Previously, only POST requests were supported by default. Now, users can choose between POST and PUT methods, providing greater flexibility for different use cases.

Additional context and related issues

A new configuration option, http-event-listener.connect-http-method, was added to the HTTP Event Listener configuration file. This option accepts either POST (default) or PUT as values, allowing users to select the HTTP method used for sending event requests.

Closes: #26181

Release notes

## HTTP Event Listener
* Add support for configuring the HTTP method with `http-event-listener.connect-http-method` config property. ({issue}`26181`)

@cla-bot
Copy link

cla-bot bot commented Jul 14, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@github-actions github-actions bot added the docs label Jul 14, 2025
@cla-bot
Copy link

cla-bot bot commented Jul 14, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@cla-bot
Copy link

cla-bot bot commented Jul 14, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@ebyhr
Copy link
Member

ebyhr commented Jul 14, 2025

Have you already submitted CLA?

@cla-bot
Copy link

cla-bot bot commented Jul 15, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

1 similar comment
@cla-bot
Copy link

cla-bot bot commented Jul 15, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@danielbelchior
Copy link
Contributor Author

Have you already submitted CLA?

Yes, I did. Waiting for approval.

@cla-bot
Copy link

cla-bot bot commented Jul 15, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@cla-bot
Copy link

cla-bot bot commented Jul 15, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@chenjian2664
Copy link
Contributor

Could you please update the commit title and message? They appear to be the same and might be outdated

@cla-bot
Copy link

cla-bot bot commented Jul 21, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@cla-bot
Copy link

cla-bot bot commented Jul 21, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@chenjian2664
Copy link
Contributor

@danielbelchior Please update the commit message https://trino.io/development/process.html#pull-request-and-commit-guidelines-

@cla-bot
Copy link

cla-bot bot commented Jul 22, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@cla-bot
Copy link

cla-bot bot commented Jul 22, 2025

Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to [email protected]. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla

@ebyhr
Copy link
Member

ebyhr commented Jul 26, 2025

Please change the commit title to "Make HTTP method configurable in HTTP event listener". We don't use "Feat" prefix in this project.

@ebyhr
Copy link
Member

ebyhr commented Jul 31, 2025

@danielbelchior Reminder #26190 (comment)

@danielbelchior
Copy link
Contributor Author

@danielbelchior Reminder #26190 (comment)

I'm on vacation and I'll sort it out as soon as I get back.

@danielbelchior danielbelchior force-pushed the master branch 2 times, most recently from 6cb24dd to 6e9e262 Compare August 2, 2025 18:04
Add support for configuring the HTTP method used by the HTTP
Event Listener. Previously, only POST was supported. Now users
can choose between POST (default) and PUT via the new
`http-event-listener.connect-http-method` setting in the
configuration file.

This change increases flexibility for different integration
scenarios that may require PUT requests instead of POST.
@ebyhr ebyhr merged commit e0fcc34 into trinodb:master Aug 5, 2025
18 checks passed
@github-actions github-actions bot added this to the 477 milestone Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

Feature request: Support HTTP methods other than POST in HTTP Event Listener

4 participants