Skip to content

Move PaginatedResponseHelper class to Commands.Common #2868

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

Merged
merged 9 commits into from
Sep 14, 2016

Conversation

NonStatic2014
Copy link
Contributor

Paginated response from a web service is a common case. So the helper class to take care this situation should also be in a common place. This change is to move it from ResourceManager cmdlet to Commands.Common. Machine Learning cmdlet will consume it later.

All tests under Resource Manager cmdlet have been run locally. No failed cases (129 passed, 25 skipped).

@NonStatic2014
Copy link
Contributor Author

@markcowl
Copy link
Member

@NonStatic2014 Given that this is code complete, and this shouldn't be required for the release, we are likely not going to take this until after the release.

@markcowl
Copy link
Member

markcowl commented Sep 1, 2016

This will go in for next sprint - discussed a change with Klein

@markcowl markcowl changed the title Move PaginatedResponseHelper class to Commands.Common [Hold]: Move PaginatedResponseHelper class to Commands.Common Sep 1, 2016
@NonStatic2014 NonStatic2014 changed the title [Hold]: Move PaginatedResponseHelper class to Commands.Common Move PaginatedResponseHelper class to Commands.Common Sep 8, 2016
@NonStatic2014
Copy link
Contributor Author

@@ -183,4 +183,4 @@
</ProjectReference>
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
</Project>
</Project>
Copy link
Member

Choose a reason for hiding this comment

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

remove any changes here

@markcowl
Copy link
Member

markcowl commented Sep 9, 2016

@vivsriaus Can you sign off on the changes to resource manager cmdlets?

@markcowl
Copy link
Member

markcowl commented Sep 9, 2016

@NonStatic2014 A couple of minor comments from me, checking with Vivek on the resource manager changes.

@@ -26,6 +22,11 @@ namespace Microsoft.Azure.Commands.ResourceManager.Cmdlets.Components
using System.Threading;
using System.Threading.Tasks;

using Entities.Providers;
Copy link
Contributor

Choose a reason for hiding this comment

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

Can you please sort the usings for all these files?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Visual Studio prefer "System.xxx" on top and then other using in alphabet order.

@shahabhijeet
Copy link
Contributor

@NonStatic2014 please address code review feedback.

@NonStatic2014
Copy link
Contributor Author

using System.Linq;
using System.Management.Automation;
using System.Threading.Tasks;
using Microsoft.Azure.Commands.ResourceManager.Common;
Copy link
Contributor

Choose a reason for hiding this comment

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

Please reorder the usings

@vivsriaus
Copy link
Contributor

@NonStatic2014 LGTM, pending one minor nit.

@shahabhijeet shahabhijeet merged commit 5a9e883 into Azure:dev Sep 14, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants