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

Update check-redshift-events.rb to AWS SDK v2 #298

Merged
merged 2 commits into from
Nov 2, 2018

Conversation

boutetnico
Copy link
Contributor

Disclosure: I'm not a Ruby programmer, I cannot run the test suite, please review my changes. Also I don't have a Redshift cluster so I cannot test my changes, I'm just trying to make things move, can anyone using Redshift test this? Thanks

Pull Request Checklist

Issue related: #240

General

  • Update Changelog following the conventions laid out here

  • Update README with any necessary configuration snippets

  • Binstubs are created if needed

  • RuboCop passes

  • Existing tests pass

Purpose

Update to AWS SDK v2.

Known Compatibility Issues

This is a breaking change because it removes aws_access_key and aws_secret_access_key options per #2.

@majormoses majormoses self-requested a review October 27, 2018 19:15
Copy link
Member

@majormoses majormoses left a comment

Choose a reason for hiding this comment

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

LGTM I am gonna see if I can find someone using redshift to test but if not the change looks pretty simple to me.

CHANGELOG.md Outdated
@@ -4,6 +4,8 @@ This project adheres to [Semantic Versioning](http://semver.org/).
This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins/community/blob/master/HOW_WE_CHANGELOG.md)

## [Unreleased]
### Breaking Changes
- `check-redshift-events.rb` was updated to aws-sdk v2 and no longer take `aws_access_key` and `aws_secret_access_key` options. (@boutetnico)
Copy link
Member

Choose a reason for hiding this comment

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

same comment as #297 (comment)

CHANGELOG.md Outdated
@@ -19,7 +21,7 @@ This CHANGELOG follows the format listed [here](https://github.com/sensu-plugins

## [12.1.0] - 2018-08-28
### Added
- new `check-efs.rb: checks cloudwatch metrics with the efs namespace for an arbitrary metric (@ivanfetch)
- new `check-efs.rb`: checks cloudwatch metrics with the efs namespace for an arbitrary metric (@ivanfetch)
Copy link
Member

Choose a reason for hiding this comment

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

you already made this change in another PR, please make this change in only one PR or it makes merging them more difficult.

@majormoses
Copy link
Member

I have asked for someone to test it that uses redshift: https://sensucommunity.slack.com/archives/C68LV5M9U/p1540867621031400 will give it ~48 hours before merging if we dont get anyone.

Copy link
Member

@majormoses majormoses left a comment

Choose a reason for hiding this comment

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

LGTM

@majormoses majormoses merged commit da8ff24 into sensu-plugins:master Nov 2, 2018
@majormoses
Copy link
Member

released: https://rubygems.org/gems/sensu-plugins-aws/versions/13.0.0

I had to manually release because we have clogged up travis by enabling https://dependabot.com to help us with a lot of the maintenance work involved in keeping this project working so I can spend more time adding features and fixing bugs.

@boutetnico boutetnico deleted the redshift_events branch May 7, 2019 17:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants