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 Azure DNS modules #47945

Merged
merged 5 commits into from
Aug 15, 2018

Conversation

nicholasmhughes
Copy link
Collaborator

What does this PR do?

Add Azure DNS modules for crud operations on DNS zones and record sets.

What issues does this PR fix or reference?

N/A

Tests written?

No

Commits signed with GPG?

Yes

@rallytime rallytime requested a review from a team June 4, 2018 13:51
Copy link
Contributor

@gtmanfred gtmanfred left a comment

Choose a reason for hiding this comment

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

This looks good, can we get some unittests for these modules?

Thanks,
Daniel

@rallytime rallytime added the Needs-Testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases label Jun 4, 2018
@nicholasmhughes
Copy link
Collaborator Author

The only unit tests I've done were heavily copy/pasted for (I believe) some file module functionality. I don't really know where to start for building Azure module unit tests from scratch. If someone can hold my hand on this, I might try... but I'm not certain if I have the bandwidth to complete them in a timely manner.

@gtmanfred
Copy link
Contributor

gtmanfred commented Jun 8, 2018 via email

@rallytime
Copy link
Contributor

@nicholasmhughes Just a bump here. Were you able to get some tests going for this?

@nicholasmhughes
Copy link
Collaborator Author

nicholasmhughes commented Aug 5, 2018

@rallytime , nope... I tried to mess around and duplicate the tests from the Azure SDK, but failed. I don't really have time in the near future to make it happen. As far as this PR, it's been field tested and there are already a lot of Azure modules merged that don't have tests. We can either merge this or close it. I'd prefer the former obviously. 😉


# Python libs
from __future__ import absolute_import
import json
Copy link
Contributor

Choose a reason for hiding this comment

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

Unused import?


# Salt libs
import salt.ext.six as six
import salt.utils
Copy link
Contributor

Choose a reason for hiding this comment

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

Unused import?

@nicholasmhughes
Copy link
Collaborator Author

@cachedout please check changes from review

@cachedout cachedout merged commit 82f4cef into saltstack:develop Aug 15, 2018
@cachedout
Copy link
Contributor

Merged! Thanks, @nicholasmhughes. This is great.

@nicholasmhughes nicholasmhughes deleted the add-azurearm-dns-modules branch August 15, 2018 15:39
@sagetherage sagetherage added has master-port port to master has been created and removed Needs-Testcase PR needs test cases written, or the issue is about a bug/feature that needs test cases labels May 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
has master-port port to master has been created
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants