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

Add ElasticSearchService Domain and SQS Queue #84

Merged
merged 1 commit into from
Mar 6, 2018

Conversation

tomvachon
Copy link
Contributor

Note, deletion of ESS Domains is very long in wait times

@tomvachon
Copy link
Contributor Author

Updated SqsQueue to SQSQueue for consistency

Copy link
Contributor

@bethge bethge left a comment

Choose a reason for hiding this comment

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

Thank you for adding all the resources! Greatly appreciated.


type SQSQueue struct {
svc *sqs.SQS
queueurl *string
Copy link
Contributor

Choose a reason for hiding this comment

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

Sorry for being the pedantic one, but would you use queueURL to follow golang style conventions? The AWS SDK does not follow it, but we decided to follow it since it is the de-facto standard.

register("SQSQueue", ListSqsQueues)
}

func ListSqsQueues(sess *session.Session) ([]Resource, error) {
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as above: ListSQSQueues


type ESDomain struct {
svc *elasticsearchservice.ElasticsearchService
domainname *string
Copy link
Contributor

Choose a reason for hiding this comment

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

Consider: domainName

@tomvachon
Copy link
Contributor Author

Updated these, Ill check my next PR now

@svenwltr
Copy link
Member

svenwltr commented Mar 5, 2018

@tomvachon Sorry for the late response. Your PRs look good so far. Could you squash them, so there is only one commit per PR and no merge commit? That would make the testing easier for us.

@tomvachon
Copy link
Contributor Author

tomvachon commented Mar 5, 2018 via email

@svenwltr
Copy link
Member

svenwltr commented Mar 5, 2018

Doing it retroactively would be nice.

@tomvachon
Copy link
Contributor Author

Give me a few minutes, I'm trying to remember how to do this again ;)

@tomvachon
Copy link
Contributor Author

@svenwltr my head isn't functioning, how do I squash them again, sorry for the dumb question

@svenwltr
Copy link
Member

svenwltr commented Mar 5, 2018

  1. make sure you master branch is up to date
  2. checkout the branch you want to squash
  3. git rebase -i master
  4. replace pick with squash on every but the first commit
  5. save and exit
  6. adjust the commit message
  7. force push (since this rewrites the history)

@tomvachon
Copy link
Contributor Author

Ok, squashing now, I had to rebase master to avoid the merge commit too

@svenwltr
Copy link
Member

svenwltr commented Mar 5, 2018

Thank you very much. We will review and merge soon.

@svenwltr svenwltr merged commit b101066 into rebuy-de:master Mar 6, 2018
@tomvachon tomvachon deleted the development branch March 16, 2018 17:04
@svenwltr svenwltr added the kind/resource Adding or changing AWS resources. label Mar 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/resource Adding or changing AWS resources.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants