Skip to content

[Network] VPN-connection shared key fixes#2798

Merged
tjprescott merged 2 commits intoAzure:masterfrom
tjprescott:SharedKeyFixes
Apr 7, 2017
Merged

[Network] VPN-connection shared key fixes#2798
tjprescott merged 2 commits intoAzure:masterfrom
tjprescott:SharedKeyFixes

Conversation

@tjprescott
Copy link
Copy Markdown
Member

Closes #1602.

Adds test coverage for the previously not covered vpn-connection shared-key commands. Fixes the output of the vpn-connection create command, which previously exposed the deployment "wrapping". This is technically a breaking change (and called out as such in the HISTORY).


This checklist is used to make sure that common guidelines for a pull request are followed.

General Guidelines

  • The PR has modified HISTORY.rst with an appropriate description of the change (see Modifying change log).

Command Guidelines

  • Each command and parameter has a meaningful description.
  • Each new command has a test.

(see Authoring Command Modules)

@tjprescott tjprescott added this to the Sprint 15 milestone Apr 7, 2017
@codecov-io
Copy link
Copy Markdown

codecov-io commented Apr 7, 2017

Codecov Report

Merging #2798 into master will increase coverage by <.01%.
The diff coverage is 43.75%.

Impacted file tree graph

@@            Coverage Diff            @@
##           master   #2798      +/-   ##
=========================================
+ Coverage   62.89%   62.9%   +<.01%     
=========================================
  Files         480     480              
  Lines       25998   26003       +5     
  Branches     3943    3944       +1     
=========================================
+ Hits        16352   16356       +4     
- Misses       8618    8619       +1     
  Partials     1028    1028
Impacted Files Coverage Δ
...etwork/azure/cli/command_modules/network/custom.py 62.43% <100%> (-0.04%) ⬇️
...twork/azure/cli/command_modules/network/_params.py 92.51% <100%> (+0.01%) ⬆️
...work/azure/cli/command_modules/network/commands.py 98.98% <100%> (ø) ⬆️
...twork/azure/cli/command_modules/network/_format.py 44.15% <30.76%> (+2.48%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a77cd78...9bba3f2. Read the comment docs.

@tjprescott tjprescott added Breaking Change Network az network vnet/lb/nic/dns/etc... labels Apr 7, 2017
null_props = [key for key in prop_val.__dict__ if not prop_val.__dict__[key]]
for prop in null_props:
delattr(prop_val, prop)
if result:
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Unless I missed something subtle, I don't see this condition is needed to address the involved issue.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

You are correct--it was needed for another issue I discovered whilst fixing these.

@tjprescott tjprescott merged commit 56dd3ed into Azure:master Apr 7, 2017
@tjprescott tjprescott deleted the SharedKeyFixes branch April 7, 2017 21:53
@haroldrandom haroldrandom added Breaking Change cla-not-required Network az network vnet/lb/nic/dns/etc... labels Oct 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Breaking Change cla-not-required Network az network vnet/lb/nic/dns/etc...

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants