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

Support MongoDB connection type for AWS Glue #13011

Merged
merged 3 commits into from
Apr 30, 2020

Conversation

drexler
Copy link
Contributor

@drexler drexler commented Apr 24, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Closes #13007

Release note for CHANGELOG:

support MongoDB connection type for AWS Glue

Output from acceptance testing:

$ make testacc TEST=./aws TESTARGS='-run=TestAccAWSGlueConnection_MongoDB'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSGlueConnection_MongoDB -timeout 120m
=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== CONT  TestAccAWSGlueConnection_MongoDB
--- PASS: TestAccAWSGlueConnection_MongoDB (15.14s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	15.208s


...

@drexler drexler requested a review from a team April 24, 2020 21:45
@ghost ghost added needs-triage Waiting for first response or review from a maintainer. size/M Managed by automation to categorize the size of a PR. documentation Introduces or discusses updates to documentation. service/glue Issues and PRs that pertain to the glue service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Apr 24, 2020
@drexler drexler changed the title Support mongodb connection type for AWS Glue Support MongoDB connection type for AWS Glue Apr 24, 2020
@drexler drexler force-pushed the support-mongodb branch 3 times, most recently from 79af678 to 6ea7324 Compare April 24, 2020 22:34
@ghost ghost added size/S Managed by automation to categorize the size of a PR. and removed size/M Managed by automation to categorize the size of a PR. labels Apr 24, 2020
@anGie44 anGie44 self-assigned this Apr 24, 2020
@anGie44 anGie44 added enhancement Requests to existing resources that expand the functionality or scope. and removed needs-triage Waiting for first response or review from a maintainer. labels Apr 25, 2020
Copy link
Contributor

@anGie44 anGie44 left a comment

Choose a reason for hiding this comment

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

PR looks great @drexler, thank you!
only small note on the formatting of the embedded config block and I think it'd be helpful to document the newly supported connection_type in glue_connection.html.markdown (e.g. "Supported: JDBC, SFTP, MONGODB")

Output of acceptance test:

=== RUN   TestAccAWSGlueConnection_MongoDB
=== PAUSE TestAccAWSGlueConnection_MongoDB
=== CONT  TestAccAWSGlueConnection_MongoDB
--- PASS: TestAccAWSGlueConnection_MongoDB (18.40s)
PASS
ok  	github.com/terraform-providers/terraform-provider-aws/aws	21.790s

@anGie44 anGie44 added this to the v2.60.0 milestone Apr 25, 2020
@drexler
Copy link
Contributor Author

drexler commented Apr 25, 2020

Thanks for the review @anGie44. I've updated the PR and added the documentation snippet.

I think it'd be helpful to document the newly supported connection_type in glue_connection.html.markdown (e.g. "Supported: JDBC, SFTP, MONGODB")

Interestingly enough SFTP is not supported with the Go SDK so omitted that from the documentation. Should i file a follow-up issue to remove it from the resource validation check? Alternatively, i could do it as part of this PR - it doesn't seem to be a breaking change to do so.

@drexler drexler requested a review from anGie44 April 25, 2020 12:34
@anGie44
Copy link
Contributor

anGie44 commented Apr 27, 2020

@drexler interesting! hmm seems like the online dev-guide docs haven't been updated.. yes, please file a follow-up issue so we have it documented. thanks for investigating :)

I also just created an issue to support the Kafka connection_type since you brought up the API docs 🙏
#13038

@drexler
Copy link
Contributor Author

drexler commented Apr 28, 2020

@anGie44 issue for SFTP connection support created.

Copy link
Contributor

@bflad bflad left a comment

Choose a reason for hiding this comment

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

LGTM 🚀

--- PASS: TestAccAWSGlueConnection_MongoDB (9.03s)
--- PASS: TestAccAWSGlueConnection_Basic (9.25s)
--- PASS: TestAccAWSGlueConnection_Description (14.38s)
--- PASS: TestAccAWSGlueConnection_MatchCriteria (19.46s)
--- PASS: TestAccAWSGlueConnection_PhysicalConnectionRequirements (642.30s)

@anGie44 anGie44 merged commit b887ba7 into hashicorp:master Apr 30, 2020
anGie44 added a commit that referenced this pull request Apr 30, 2020
@ghost
Copy link

ghost commented May 1, 2020

This has been released in version 2.60.0 of the Terraform AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading.

For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template for triage. Thanks!

@drexler drexler deleted the support-mongodb branch May 2, 2020 18:13
@ghost
Copy link

ghost commented May 30, 2020

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks!

@ghost ghost locked and limited conversation to collaborators May 30, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
documentation Introduces or discusses updates to documentation. enhancement Requests to existing resources that expand the functionality or scope. service/glue Issues and PRs that pertain to the glue service. size/S Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for Glue Connection Type MongoDB
3 participants