Conversation
*Adding two new parameters to Managed Instance (ProxyOverride and PublicDataEndpointEnabled)
|
@jaredmoo please approve before I post my review. |
jaredmoo
left a comment
There was a problem hiding this comment.
Discussed offline - needs enum for proxy property.
|
Here is a link for the PR with the swagger change and examples update. |
jaredmoo
left a comment
There was a problem hiding this comment.
Looks good so far, please update at least 1 scenario test to use the new properties
Updated test to include parameters ProxyOverride and PublicDataEndpointEnabled
…m/stefanb995/azure-sdk-for-net into AddProxyOverrideAndPublicEndpoint
|
Updated existing scenario test adding these two new parameters. |
| /// <exception cref="System.ArgumentNullException"> | ||
| /// Thrown when a required parameter is null | ||
| /// </exception> | ||
| public SqlManagementClient(ServiceClientCredentials credentials, HttpClient httpClient, bool disposeHttpClient) : this(httpClient, disposeHttpClient) |
There was a problem hiding this comment.
This is a breaking change, please bump version to 1.28.0-preview
There was a problem hiding this comment.
Deepak, is this changed expected from latest autorest? Just want to check.
There was a problem hiding this comment.
Stefan, when you update csproj with new version, please also wipe out old release notes from 1.27.0 and add your new release notes.
There was a problem hiding this comment.
I'm not a 100% sure, but this is coming from AutoRest. @stefanb995 could you install latest autorest version and regen the code (autorest --reset)
…m/stefanb995/azure-sdk-for-net into AddProxyOverrideAndPublicEndpoint
|
Hey guys, I have regenerated code from master branch. And deleted methods in SqlManagementClient from previous PR are back. |
|
Please update csproj with new version (1.28.0-preview) and please also wipe out old release notes from 1.27.0 and add your new release notes. |
|
Looks like you picked up sensitivity labels from @bashahee 's Swagger change ( Azure/azure-rest-api-specs#5148 ) , but we can't add that to SDK without tests. @dsgouda , what is your guidance when features get tied up like this? |
|
Updated csproj. Please let me know what could I do on my side. Should I just delete these new files and everything added for sensitivity labels? |
@shahabhijeet could you please take a look |
|
@jaredmoo If I understand correctly, you are not ready to release the SesitivityLabels feature yet but you would like to release the changes in this PR. |
|
@jaredmoo @dsgouda Can we please merge these clients? I updated readme.md and swagger files in order to generate clients (our GA is at end of the month), but I see that @stefanb995 already did that, so can our clients be merged along with current PR? |
|
@bashahee we need e2e scenario tests for all APIs, Can you please implement those? |
Yes, I will implement E2E scenario tests once this PR is merged. Is that what you meant? |
|
I mean can you make your own PR that has your own scenario tests? We can merge them both together. (I can help resolve merge during Redmond hours if needed) |
|
Guys, I need this merged as soon as possible. I need this change to be published to nuget before I send PR for powershell update. |
|
@stefanb995 @jaredmoo please ensure that the code was regenerated after @bashahee 's changes so that this PR has exactly what you plan to publish in the SDK? |
|
@stefanb995 also link the Rest spec PR for which this SDK is being generated |
|
@dsgouda I generated this SDK on master branch of Rest spec. I have also attached PR for my Rest spec change. I forgot to commit session record for the test I updated. I have updated it now. When I run tests in playback mode all tests are passing and 5 tests are being skipped. |
|
@azuresdkci Test azure-sdk-for-net.client please |
|
@azuresdkci retest this please |
|
We need to make sure that @bashahee has scenario tests for sensitivity labels before publishing |
|
Can @bashahee update AssemblyInfo.cs file with AssemblyFileVersion (1.28.0.0)? |
|
@stefanb995 @jaredmoo Moreover, I updated AssemblyInfo.cs. |
* .NET client update *Adding two new parameters to Managed Instance (ProxyOverride and PublicDataEndpointEnabled) * Delete build.err * Delete build.wrn * .NET client update * Update ManagedInstanceCrudScenarioTests.cs Updated test to include parameters ProxyOverride and PublicDataEndpointEnabled * Delete sql_resource-manager.txt * .NET sdk SDK ganerated with option -AutoRestVersion "latest" on master azure-rest- api-specs autorest version: 2.0.4283 * Update sql_resource-manager.txt * Update Microsoft.Azure.Management.Sql.csproj * Update of session record for updated test * Update TestCreateUpdateGetDropManagedInstance.json
Adding two new parameters to Managed Instance (ProxyOverride and PublicDataEndpointEnabled)
Link to the PR with swagger change on which this code is generated: link
Description
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines
Testing Guidelines
SDK Generation Guidelines
*.csprojandAssemblyInfo.csfiles have been updated with the new version of the SDK.