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

fix: switch slack lib and stop using deprecated APIs. Fixes #726 #777

Merged
merged 9 commits into from
Jul 29, 2020

Conversation

whynowy
Copy link
Member

@whynowy whynowy commented Jul 28, 2020

  1. Switch slack lib from github.com/nlopes/slack to github.com/slack-go/slack;
  2. Stop using deprecated slack APIs;
  3. Removed namespace field from slack trigger spec;
  4. Fixed a labels related bug introduced by feat: Expose metadata for sensors and fix metadata for eventsources #773;
  5. Also updated ClusterRole and Role for argo-events-sa in this PR.

Fixes #726

@whynowy whynowy marked this pull request as draft July 28, 2020 07:44
controllers/common/util.go Outdated Show resolved Hide resolved
controllers/eventbus/installer/installer.go Outdated Show resolved Hide resolved
controllers/eventsource/controller.go Outdated Show resolved Hide resolved
controllers/sensor/controller.go Outdated Show resolved Hide resolved
@@ -127,14 +127,14 @@ func activateRoute(router Router, controller *Controller) {
}

// manageRouteChannels consumes data from route's data channel and stops the processing when the event source is stopped/removed
func manageRouteChannels(router Router, dispatcher func([]byte) error) {
func manageRouteChannels(router Router, dispatch func([]byte) error) {
Copy link
Member Author

Choose a reason for hiding this comment

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

Name change.

@whynowy whynowy requested a review from VaibhavPage July 29, 2020 18:51
@whynowy whynowy marked this pull request as ready for review July 29, 2020 18:51
@whynowy
Copy link
Member Author

whynowy commented Jul 29, 2020

Thanks @spkane for testing the RC images!

@whynowy whynowy merged commit 527a45f into argoproj:master Jul 29, 2020
@whynowy whynowy deleted the slack_fix branch July 29, 2020 19:08
juliev0 pushed a commit to juliev0/argo-events that referenced this pull request Mar 29, 2022
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.

The JoinChannel api call is fully deprecated for new Slack applications
2 participants