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

Make data-plane default tag #2146

Merged
merged 15 commits into from
Apr 13, 2022
Merged

Make data-plane default tag #2146

merged 15 commits into from
Apr 13, 2022

Conversation

chunyu3
Copy link
Member

@chunyu3 chunyu3 commented Apr 6, 2022

Description

Add your description here!

Checklist

To ensure a quick review and merge, please ensure:

  • The PR has a understandable title and description explaining the why and what.
  • The PR is opened in draft if not ready for review yet.
    • If opened in draft, please allocate sufficient time (24 hours) after moving out of draft for review
  • The branch is recent enough to not have merge conflicts upon creation.

Ready to Land?

  • Build is completely green
    • Submissions with test failures require tracking issue and approval of a CODEOWNER
  • At least one +1 review by a CODEOWNER
  • All -1 reviews are confirmed resolved by the reviewer
    • Override/Marking reviews stale must be discussed with CODEOWNERS first

@annelo-msft
Copy link
Member

Would you please link the issue number this is addressing in the PR description? This makes it easier to find the PR from the issue.

@chunyu3
Copy link
Member Author

chunyu3 commented Apr 7, 2022

Would you please link the issue number this is addressing in the PR description? This makes it easier to find the PR from the issue.

attached the issue link

@chunyu3 chunyu3 requested a review from annelo-msft April 7, 2022 00:48
@lirenhe lirenhe added the DPG label Apr 7, 2022
Copy link
Member

@annelo-msft annelo-msft left a comment

Choose a reason for hiding this comment

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

Tests and samples LGTM, @AlexanderSher should approve src/*.

We should make sure to closely review the PR to move this into azure-sdk-for-net repo.

@@ -7,6 +7,5 @@
"..\\..\\..\\artifacts\\bin\\AutoRest.CSharp\\Debug\\netcoreapp3.1\\Azure.Core.Shared"
],
"public-clients": true,
"skip-csproj-packagereference": true,
"data-plane": true
Copy link
Member

Choose a reason for hiding this comment

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

Curious: What is the reason that data-plane: true is removed here?

Copy link
Member Author

Choose a reason for hiding this comment

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

DPG is default target. if neither azure-arm nor generation1-convenience-client is set, it will be DPG. No need a flag for DPG.

@@ -5,7 +5,6 @@
``` yaml
require: $(this-folder)/../../../readme.md
input-file: $(this-folder)/ResourceClients-LowLevel.json
data-plane: true
Copy link
Member

Choose a reason for hiding this comment

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

Could we keep this setting in the manually-edited files?

Copy link
Member Author

Choose a reason for hiding this comment

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

We don't need to maintain data-plane flag anymore. if neither azure-arm nor generation1-convenience-client is set, it will be DPG. No need a flag for DPG.

Copy link
Member Author

@chunyu3 chunyu3 Apr 8, 2022

Choose a reason for hiding this comment

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

we only have two flags for customer to set. azure-am for management-plane, eneration1-convenience-client is for HLC.

@chunyu3 chunyu3 requested a review from annelo-msft April 8, 2022 00:10
@AlexanderSher
Copy link
Contributor

Mostly ok, but I'm not sure about generation1ConvenienceClient name. It is very confusing. It isn't a track 1 generator

@chunyu3 chunyu3 requested a review from AlexanderSher April 8, 2022 14:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants