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

mgmt, add generated samples for premium mgmt SDKs #25431

Merged
merged 12 commits into from
Nov 16, 2021

Conversation

weidongxu-microsoft
Copy link
Member

@weidongxu-microsoft weidongxu-microsoft commented Nov 16, 2021

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

fix #25320

Add generated samples for premium mgmt SDKs.

Main change is on the nodejs script 880527f

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.


// move generated samples to azure-resourcemanager
generatedSamplesSource = path.join(mappings[project].dir, '/src/samples/java/', packagePath, 'generated');
generatedSamplesTarget = path.join('azure-resourcemanager/src/samples/java/', packagePath);
Copy link
Member

Choose a reason for hiding this comment

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

do we need /generated folder?

Copy link
Member Author

@weidongxu-microsoft weidongxu-microsoft Nov 16, 2021

Choose a reason for hiding this comment

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

Want to have the /generated folder, so it is clear that these are pure generated, and might not have guarantee on its quality.

@weidongxu-microsoft weidongxu-microsoft merged commit 2d1d4e2 into Azure:main Nov 16, 2021
@weidongxu-microsoft weidongxu-microsoft deleted the mgmt_fix-script branch November 16, 2021 08:45
XiaofeiCao pushed a commit to XiaofeiCao/azure-sdk-for-java that referenced this pull request Nov 18, 2021
* use spec main branch

* regen compute

* pom

* codegen to generate samples and move to azure-resourcemanager

* samples for storage

* samples for network

* samples for compute

* samples for ACR

* samples for eventhubs

* samples for cosmos

* samples for AKS

* clean sample target folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Mgmt - Track 2 Mgmt This issue is related to a management-plane library.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

mgmt, enable sample generation for Premium
2 participants