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: Add Slack Kamelets E2E tests #2039

Merged
merged 1 commit into from May 14, 2024

Conversation

christophd
Copy link
Contributor

  • Add serverUrl property to slack-source.kamelet for better testability reasons
  • Use local Slack Http server in tests to verify Slack API calls

Copy link
Contributor

@oscerd oscerd left a comment

Choose a reason for hiding this comment

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

Just a question.

@@ -37,6 +37,12 @@ spec:
- token
type: object
properties:
serverUrl:
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we need to set it as required?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

no it should be optional

Copy link
Contributor Author

Choose a reason for hiding this comment

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

in most cases this will connect to the production Slack API servers (which is also the default in the Camel component). Only tests and maybe a company proxy may use this setting to use a different server URL endpoint

- Add serverUrl property to slack-source.kamelet for better testability reasons
- Use local Slack Http server in tests to verify Slack API calls
@christophd christophd merged commit c396496 into apache:main May 14, 2024
5 checks passed
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

2 participants