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

add eula/privacy statement to gallery SDK release #28238

Conversation

kangsun-ctrl
Copy link
Contributor

Contributing to the Azure SDK

Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.

For specific information about pull request etiquette and best practices, see this section.

Copy link
Member

@Yao725 Yao725 left a comment

Choose a reason for hiding this comment

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

I'm ok with these changes, do we need to merge this PR now?

@@ -105,6 +105,8 @@ private void ValidateCommunityGalleryImage(CommunityGalleryImage communityGaller
{
string expectedId = "/CommunityGalleries/" + PublicGalleryName + "/Images/" + GalleryImageName;
Assert.Equal(expectedId, communityGalleryImage.UniqueId);
Assert.NotNull(communityGalleryImage.Eula);
Copy link
Member

Choose a reason for hiding this comment

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

Can you check for the exact expected value?

Copy link
Member

Choose a reason for hiding this comment

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

Just in case something unexpectedly changes the value in an incorrect or breaking way.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

the exact value is a random string i put. It does not add much value here to check exact value because it might gets updated by mistake and this test will fail. But the only thing we want here is the string flow-through and NotNull assert do can 100% of that job right.

@Sandido Sandido merged commit 8a2b0a7 into Azure:feature/cplat-2022-01-03 Apr 26, 2022
ArthurMa1978 pushed a commit that referenced this pull request Jun 10, 2022
* set up feature branch

* set up feature branch

* new recordings

* Gallery 01 03 SDK (#27466)

* save

* save

* update

* update

* save

* save

* sanitization

* add eula/privacy statement to gallery SDK release (#28238)

* save

* update

* update

* update test

* SDK changes for new properties "settings" and "advancedSettings" to gallery application version (#28250)

* Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6

* Updated test and recording

* removed SAS tokens from recorded test

* generated SDK with updated comments from API PR

* removed "sig=" tokens from recorded test

* added customization and sanitized keys in recorded tests

* Restored older customization

* fixed customization

* Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states.

* Update AssemblyInfo.cs

.Net version update

* Update Microsoft.Azure.Management.Compute.csproj

* save (#29131)

test rerecord that was needed

* Update compute_resource-manager.txt

* Update AzSdk.RP.props

Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
sarkar-rajarshi pushed a commit to sarkar-rajarshi/azure-sdk-for-net that referenced this pull request Jun 10, 2022
* set up feature branch

* set up feature branch

* new recordings

* Gallery 01 03 SDK (Azure#27466)

* save

* save

* update

* update

* save

* save

* sanitization

* add eula/privacy statement to gallery SDK release (Azure#28238)

* save

* update

* update

* update test

* SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250)

* Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6

* Updated test and recording

* removed SAS tokens from recorded test

* generated SDK with updated comments from API PR

* removed "sig=" tokens from recorded test

* added customization and sanitized keys in recorded tests

* Restored older customization

* fixed customization

* Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states.

* Update AssemblyInfo.cs

.Net version update

* Update Microsoft.Azure.Management.Compute.csproj

* save (Azure#29131)

test rerecord that was needed

* Update compute_resource-manager.txt

* Update AzSdk.RP.props

Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
archerzz pushed a commit that referenced this pull request Jun 16, 2022
* set up feature branch

* generated with new changes

* set up feature branch

* new recordings

* Gallery 01 03 SDK (#27466)

* save

* save

* update

* update

* save

* save

* sanitization

* add eula/privacy statement to gallery SDK release (#28238)

* save

* update

* update

* update test

* generated with new changes

* SDK generation

* Updated SDK

* SDK changes for new properties "settings" and "advancedSettings" to gallery application version (#28250)

* Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6

* Updated test and recording

* removed SAS tokens from recorded test

* generated SDK with updated comments from API PR

* removed "sig=" tokens from recorded test

* added customization and sanitized keys in recorded tests

* Restored older customization

* fixed customization

* Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states.

* federatedclientid change

* adding tests for restore point with securityprofile (#28949)

* Update AssemblyInfo.cs

.Net version update

* Update Microsoft.Azure.Management.Compute.csproj

* save (#29131)

test rerecord that was needed

* Test recordings

* Adding Customizations

* adding test recordings

* update azsdk.rp.props and compute_resource-manager.txt

* credscan

Co-authored-by: Theodore Chang <thchan@microsoft.com>
Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com>
zhihaoxue pushed a commit to zhihaoxue/azure-sdk-for-net that referenced this pull request Jul 27, 2022
* set up feature branch

* set up feature branch

* new recordings

* Gallery 01 03 SDK (Azure#27466)

* save

* save

* update

* update

* save

* save

* sanitization

* add eula/privacy statement to gallery SDK release (Azure#28238)

* save

* update

* update

* update test

* SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250)

* Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6

* Updated test and recording

* removed SAS tokens from recorded test

* generated SDK with updated comments from API PR

* removed "sig=" tokens from recorded test

* added customization and sanitized keys in recorded tests

* Restored older customization

* fixed customization

* Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states.

* Update AssemblyInfo.cs

.Net version update

* Update Microsoft.Azure.Management.Compute.csproj

* save (Azure#29131)

test rerecord that was needed

* Update compute_resource-manager.txt

* Update AzSdk.RP.props

Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
zhihaoxue pushed a commit to zhihaoxue/azure-sdk-for-net that referenced this pull request Jul 27, 2022
* set up feature branch

* generated with new changes

* set up feature branch

* new recordings

* Gallery 01 03 SDK (Azure#27466)

* save

* save

* update

* update

* save

* save

* sanitization

* add eula/privacy statement to gallery SDK release (Azure#28238)

* save

* update

* update

* update test

* generated with new changes

* SDK generation

* Updated SDK

* SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250)

* Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6

* Updated test and recording

* removed SAS tokens from recorded test

* generated SDK with updated comments from API PR

* removed "sig=" tokens from recorded test

* added customization and sanitized keys in recorded tests

* Restored older customization

* fixed customization

* Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states.

* federatedclientid change

* adding tests for restore point with securityprofile (Azure#28949)

* Update AssemblyInfo.cs

.Net version update

* Update Microsoft.Azure.Management.Compute.csproj

* save (Azure#29131)

test rerecord that was needed

* Test recordings

* Adding Customizations

* adding test recordings

* update azsdk.rp.props and compute_resource-manager.txt

* credscan

Co-authored-by: Theodore Chang <thchan@microsoft.com>
Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com>
sofiar-msft pushed a commit to sofiar-msft/azure-sdk-for-net that referenced this pull request Dec 7, 2022
* set up feature branch

* generated with new changes

* set up feature branch

* new recordings

* Gallery 01 03 SDK (Azure#27466)

* save

* save

* update

* update

* save

* save

* sanitization

* add eula/privacy statement to gallery SDK release (Azure#28238)

* save

* update

* update

* update test

* generated with new changes

* SDK generation

* Updated SDK

* SDK changes for new properties "settings" and "advancedSettings" to gallery application version (Azure#28250)

* Generated SDK using 0c46c6ca375c5b61de701f790db5673d76ceb8b6

* Updated test and recording

* removed SAS tokens from recorded test

* generated SDK with updated comments from API PR

* removed "sig=" tokens from recorded test

* added customization and sanitized keys in recorded tests

* Restored older customization

* fixed customization

* Made enableHealthCheck optional parameter because it appears after settings and advancedSettings, as the WIKI states.

* federatedclientid change

* adding tests for restore point with securityprofile (Azure#28949)

* Update AssemblyInfo.cs

.Net version update

* Update Microsoft.Azure.Management.Compute.csproj

* save (Azure#29131)

test rerecord that was needed

* Test recordings

* Adding Customizations

* adding test recordings

* update azsdk.rp.props and compute_resource-manager.txt

* credscan

Co-authored-by: Theodore Chang <thchan@microsoft.com>
Co-authored-by: Adam Sandor <adsandor@microsoft.com>
Co-authored-by: kangsun-ctrl <69279251+kangsun-ctrl@users.noreply.github.com>
Co-authored-by: Bhaskar Brahma <bhbrahma@microsoft.com>
Co-authored-by: anshulsolanki21 <73930854+anshulsolanki21@users.noreply.github.com>
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.

3 participants