Skip to content

Misc networking fit and finish + annotations#1090

Merged
anuchandy merged 37 commits into
Azure:masterfrom
martinsawicki:martin-networking
Sep 22, 2016
Merged

Misc networking fit and finish + annotations#1090
anuchandy merged 37 commits into
Azure:masterfrom
martinsawicki:martin-networking

Conversation

@martinsawicki

@martinsawicki martinsawicki commented Sep 20, 2016

Copy link
Copy Markdown
  • redone language annotations for networking, compute, resources, storage
  • factoring out additional standalone shared interfaces for common networking settings
  • revisiting NetworkInterface-related APIs for some consistency/cleanup
  • some Storage simplification

compat breaks from beta2:

  • 6c19eb0 :
    • removed NetworkInterface#primarySubnetId()
    • removed NicIpConfiguration#subnetId()
  • 0143034 :
    • renamed VirtualMachine#primaryPublicIpAddress() as getPrimaryPublicIpAddress()
    • removed NetworkInterface#primaryPublicIpAddress()
    • removed NetworkIntrerface#primaryNetwork()
  • 42395de
    • renamed StorageAccount#refreshKeys() as getKeys()
    • removed StorageAccount#keys()

unknown added 26 commits September 16, 2016 07:17
…y in how resources across different services reference subnets
- no need for primarySubnetId() since it can be retrieved from primaryIpConfiguration()
- renaming primaryNetwork() as getPrimaryNetwork() to be consistent with the naming of methods that make a separate call to Azure, rather than directly retrieve a prooperty of the object.
- removing the caching logic for the primary network as it seems unnecessary.
- refactoring NicIpConfiguration to use the shared HasSubnet interface for better API consistency enforcement
- removing primary-related accessors for PIP and Network from NIC because they are avaialable easily enough via primaryIpConfiguration()
- renaming VirtualMachine#primaryPublicIpAddress() as getPrimaryPublicIpAddress() to be consistent with other methods that actually call Azure, rather than simply return a direct property (also removing the caching logic as it seems a bit unnecessary)
- adding VirtualMachine#primaryPublicIpAddressId() as a shortcut
@azuresdkci

Copy link
Copy Markdown
Contributor

Can one of the admins verify this patch?

@azuresdkci

Copy link
Copy Markdown
Contributor

Runtime changes detected. pull request created. CI running: Build Status

@azuresdkci

Copy link
Copy Markdown
Contributor

Runtime changes detected. pull request created. CI running: Build Status

unknown added 3 commits September 21, 2016 10:19
…) and the caching logic altogether as it seems redundant from the user scenario perspective
@azuresdkci

Copy link
Copy Markdown
Contributor

Runtime changes detected. pull request created. CI running: Build Status

@azuresdkci

Copy link
Copy Markdown
Contributor

Runtime changes detected. pull request created. CI running: Build Status

unknown added 2 commits September 22, 2016 12:32
# Conflicts:
#	azure-mgmt-compute/src/main/java/com/microsoft/azure/management/compute/VirtualMachineExtension.java
@azuresdkci

Copy link
Copy Markdown
Contributor

Runtime changes detected. pull request created. CI running: Build Status

@anuchandy anuchandy merged commit 1acb5b4 into Azure:master Sep 22, 2016
@selvasingh selvasingh modified the milestone: 1.0.0-beta3 Oct 3, 2016
@martinsawicki martinsawicki mentioned this pull request Oct 27, 2016
jianghaolu pushed a commit to jianghaolu/azure-sdk-for-java that referenced this pull request Feb 27, 2017
Updating compute unit test to use RestClient
jianghaolu pushed a commit to jianghaolu/azure-sdk-for-java that referenced this pull request Feb 27, 2017
Misc networking fit and finish + annotations
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.

5 participants