Skip to content

Separate ListingByTag into group & subscription level#1202

Merged
martinsawicki merged 3 commits into
Azure:masterfrom
jianghaolu:listbytag
Oct 19, 2016
Merged

Separate ListingByTag into group & subscription level#1202
martinsawicki merged 3 commits into
Azure:masterfrom
jianghaolu:listbytag

Conversation

@jianghaolu

Copy link
Copy Markdown
Contributor

No description provided.

@anudeepsharma anudeepsharma left a comment

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.

Approving with changes.

public PagedList<ResourceGroup> listByTag(String tagName, String tagValue) {
if (tagName == null) {
throw new IllegalArgumentException("tagName == null");
}

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.

As you are splitting the code for listing at subscription and at resource group, I assume generating ODataFilter is common code at both locations. If that is the case can you create a utility to create the ODataFilter string.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

✔️

@martinsawicki martinsawicki merged commit 72c88a7 into Azure:master Oct 19, 2016
jianghaolu pushed a commit to jianghaolu/azure-sdk-for-java that referenced this pull request Feb 27, 2017
Separate ListingByTag into group & subscription level
sima-zhu pushed a commit to sima-zhu/azure-sdk-for-java that referenced this pull request Mar 21, 2019
* Added a check to make sure the property.documentation doesn't already start with Gets before appending it as a prefix

* Regenerated CSharp tests
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