Skip to content

Az.ApiManagement update to sdk 8.0.0 / Api Version 2021-8-01 #17827

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

Merged
merged 42 commits into from
May 5, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
48c4c24
msg
KacieKK Feb 9, 2022
69e117e
warning
KacieKK Mar 22, 2022
f31fff5
add using
KacieKK Mar 25, 2022
6ed3805
change desc
KacieKK Mar 25, 2022
fa929a1
alias
KacieKK Mar 29, 2022
b865375
order
KacieKK Mar 31, 2022
46487ff
mapi changes for 20210801
KacieKK Apr 6, 2022
80c8060
msg
KacieKK Feb 9, 2022
1da4fd9
warning
KacieKK Mar 22, 2022
4769a1a
add using
KacieKK Mar 25, 2022
ce87c5c
change desc
KacieKK Mar 25, 2022
d3c531d
alias
KacieKK Mar 29, 2022
d0effa3
order
KacieKK Mar 31, 2022
17a5831
mapi changes for 20210801
KacieKK Apr 6, 2022
e7e3c67
backup/restore examples
solankisamir Mar 24, 2022
2da0ecb
basic model integration
solankisamir Mar 20, 2022
34189a3
backup/restore examples
solankisamir Mar 24, 2022
272ec4b
basic model integration
solankisamir Mar 20, 2022
78506f5
backup/restore examples
solankisamir Mar 24, 2022
8adc236
basic model integration
solankisamir Mar 20, 2022
10d5fd3
backup/restore examples
solankisamir Mar 24, 2022
5caee01
upgrade apim sdk to 8.0 fix build errors
wpooley Feb 17, 2022
2930582
Add ApiType, comment out Examples/Samples portion for now
wpooley Feb 23, 2022
caedeb4
Add Contract and License to New/Set Api cmdlets
wpooley Feb 26, 2022
1c67c5c
Add test to cover changes
wpooley Mar 7, 2022
0b9e017
map license/contact/terms of service for new/set apim api
wpooley Mar 10, 2022
4d085a9
Map TermsOfService back to PsApiManagementApi, and update Set so if n…
wpooley Apr 14, 2022
bdaba8e
Add ApiType tests results
wpooley Apr 15, 2022
895f049
Update Help Files
wpooley Apr 15, 2022
6a75209
Update ChangeLog
wpooley Apr 20, 2022
eabd833
suppress
KacieKK Apr 20, 2022
16c758e
Merge branch 'main' into jikang/suppressbreakingchange
KacieKK Apr 20, 2022
5bf3313
Update ChangeLog.md
KacieKK Apr 20, 2022
00d96ff
Merge pull request #5 from KacieKK/jikang/suppressbreakingchange
wpooley Apr 20, 2022
0388f9a
Merge branch 'main' into main
wpooley Apr 26, 2022
85408d3
Addressing PR comment, making ChangeLog more concise
wpooley Apr 27, 2022
be18e52
update CreateApiManagementServiceJson
wpooley Apr 28, 2022
c02a9bd
fix stv2 test
solankisamir Apr 29, 2022
c8a7136
Merge pull request #6 from solankisamir/fix-stv2test
wpooley Apr 29, 2022
46cce5d
Merge remote-tracking branch 'upstream/main'
wpooley Apr 29, 2022
582ad00
Resolve Merge Conflicts
wpooley Apr 29, 2022
2721872
Update ChangeLog.md
wyunchi-ms May 5, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</PropertyGroup>

<ItemGroup>
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="7.0.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="8.0.0-preview" />
</ItemGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,24 +12,15 @@
// See the License for the specific language governing permissions and
// limitations under the License.

using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using Microsoft.Azure.Commands.Common.Authentication;
using Microsoft.Azure.Test.HttpRecorder;
using Microsoft.Azure.Commands.TestFx;
using Microsoft.Rest.ClientRuntime.Azure.TestFramework;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
using Microsoft.WindowsAzure.Commands.Test.Utilities.Common;
using System.Linq;
using Xunit;
using Microsoft.Azure.Commands.TestFx;
using Xunit.Abstractions;

namespace Microsoft.Azure.Commands.ApiManagement.ServiceManagement.Test.ScenarioTests
{
using Microsoft.Azure.ServiceManagement.Common.Models;
using ApiManagementClient = Management.ApiManagement.ApiManagementClient;

public class ApiManagementTestRunner
{
protected readonly ITestRunner TestRunner;
Expand Down Expand Up @@ -67,7 +58,7 @@ public ApiManagementTests(Xunit.Abstractions.ITestOutputHelper output) : base(ou
using (var context = MockContext.Start("ApiManagementTests", "CreateApiManagementService"))
{
var resourceManagementClient = ApiManagementHelper.GetResourceManagementClient(context);
ResourceGroupName = "powershelltest";
ResourceGroupName = "Apim-NetSdk-20210801";
Location = "CentralUSEUAP";

if (string.IsNullOrWhiteSpace(ResourceGroupName))
Expand All @@ -76,7 +67,7 @@ public ApiManagementTests(Xunit.Abstractions.ITestOutputHelper output) : base(ou
resourceManagementClient.TryRegisterResourceGroup(Location, ResourceGroupName);
}

ApiManagementServiceName = "powershellsdkservice";
ApiManagementServiceName = "powershellsdkservicetest";
ApiManagementHelper.GetApiManagementClient(context).TryCreateApiService(ResourceGroupName, ApiManagementServiceName, Location);
}
}
Expand All @@ -86,6 +77,20 @@ public string[] ConvertScriptName(params string[] scripts)
return scripts.Select(s => s + $" {ResourceGroupName} {ApiManagementServiceName}").ToArray();
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void ApiCrudGraphQLTest()
{
TestRunner.RunTestScript(ConvertScriptName("Api-CrudGraphQlTest"));
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void ApiCrudWebSocketTest()
{
TestRunner.RunTestScript(ConvertScriptName("Api-CrudWebSocketTest"));
}

[Fact]
[Trait(Category.AcceptanceType, Category.CheckIn)]
public void ApiCrudTest()
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<PsModuleName>ApiManagement</PsModuleName>
Expand All @@ -13,7 +13,7 @@

<ItemGroup>
<PackageReference Include="AutoMapper" Version="6.2.2" />
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="7.0.0-preview" />
<PackageReference Include="Microsoft.Azure.Management.ApiManagement" Version="8.0.0-preview" />
</ItemGroup>

<ItemGroup>
Expand Down
Loading