Skip to content

Commit

Permalink
VIH-1234 migrate to new pipeline (#308)
Browse files Browse the repository at this point in the history
* Add auto-generated VideoApiClient.cs
  • Loading branch information
shaed-parkar authored Feb 2, 2021
1 parent eaaa683 commit 2367daa
Show file tree
Hide file tree
Showing 783 changed files with 75,946 additions and 508 deletions.
5 changes: 5 additions & 0 deletions GitVersion.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mode: Mainline
branches: {}
ignore:
sha: []
merge-message-formats: {}
2 changes: 1 addition & 1 deletion VideoAPI/Testing.Common/Helper/Scenario.cs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace VideoApi.IntegrationTests.Helper
namespace Testing.Common.Helper
{
public enum Scenario
{
Expand Down
28 changes: 0 additions & 28 deletions VideoAPI/Video.API/Swagger/AuthResponsesOperationFilter.cs

This file was deleted.

27 changes: 0 additions & 27 deletions VideoAPI/Video.API/appsettings.json

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@

<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<IsPackable>false</IsPackable>
<IsPackable>false</IsPackable>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
<GenerateAssemblyVersionAttribute>false</GenerateAssemblyVersionAttribute>
<GenerateAssemblyFileVersionAttribute>false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>false</GenerateAssemblyInformationalVersionAttribute>
</PropertyGroup>

<ItemGroup>
Expand All @@ -22,7 +27,7 @@

<ItemGroup>
<ProjectReference Include="..\Testing.Common\Testing.Common.csproj" />
<ProjectReference Include="..\Video.API\Video.API.csproj" />
<ProjectReference Include="..\VideoApi\VideoApi.csproj" />
<ProjectReference Include="..\VideoApi.Contract\VideoApi.Contract.csproj" />
<ProjectReference Include="..\VideoApi.Domain\VideoApi.Domain.csproj" />
</ItemGroup>
Expand Down
4 changes: 0 additions & 4 deletions VideoAPI/VideoApi.AcceptanceTests/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,6 @@
"Secret": "Secret",
"ThirdPartySecret": "ThirdPartySecret"
},
"ServiceBusQueue": {
"ConnectionString": "ConnectionString",
"QueueName": "QueueName"
},
"Services": {
"CallbackUri": "CallbackUri",
"ConferenceUsername": "ConferenceUsername",
Expand Down
8 changes: 0 additions & 8 deletions VideoAPI/VideoApi.Common/Configuration/ServiceBusSettings.cs

This file was deleted.

2 changes: 2 additions & 0 deletions VideoAPI/VideoApi.Common/VideoApi.Common.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.15.0" />
Expand Down
2 changes: 2 additions & 0 deletions VideoAPI/VideoApi.DAL/VideoApi.DAL.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.EntityFrameworkCore" Version="3.1.9" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Video.API;
using VideoApi.DAL;
using VideoApi.DAL;
using Microsoft.EntityFrameworkCore;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
Expand Down Expand Up @@ -40,4 +39,4 @@ public void OneTimeSetup()
TestDataManager = new TestDataManager(_services, VideoBookingsDbContextOptions);
}
}
}
}
1 change: 0 additions & 1 deletion VideoAPI/VideoApi.IntegrationTests/Hooks/ConfigHooks.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
using Microsoft.Extensions.Options;
using TechTalk.SpecFlow;
using Testing.Common.Configuration;
using Video.API;
using VideoApi.Common.Configuration;
using VideoApi.Common.Security;
using VideoApi.DAL;
Expand Down
1 change: 1 addition & 0 deletions VideoAPI/VideoApi.IntegrationTests/Steps/CallbacksSteps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using FluentAssertions;
using Microsoft.EntityFrameworkCore;
using TechTalk.SpecFlow;
using Testing.Common.Helper;
using VideoApi.Common;
using VideoApi.Contract.Requests;
using VideoApi.DAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
using Microsoft.EntityFrameworkCore;
using TechTalk.SpecFlow;
using Testing.Common.Assertions;
using Testing.Common.Helper;
using Testing.Common.Helper.Builders.Api;
using VideoApi.Contract.Requests;
using VideoApi.Contract.Responses;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using AcceptanceTests.Common.Api.Helpers;
using Microsoft.EntityFrameworkCore;
using TechTalk.SpecFlow;
using Testing.Common.Helper;
using VideoApi.Contract.Requests;
using VideoApi.Contract.Responses;
using VideoApi.DAL;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
using System.Text;
using AcceptanceTests.Common.Api.Helpers;
using TechTalk.SpecFlow;
using Testing.Common.Helper;
using VideoApi.Contract.Requests;
using VideoApi.Contract.Responses;
using VideoApi.Domain.Enums;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
using static Testing.Common.Helper.ApiUriFactory.ParticipantsEndpoints;
using TestContext = VideoApi.IntegrationTests.Contexts.TestContext;
using Testing.Common.Assertions;
using Testing.Common.Helper;

namespace VideoApi.IntegrationTests.Steps
{
Expand Down
1 change: 1 addition & 0 deletions VideoAPI/VideoApi.IntegrationTests/Steps/TaskSteps.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
using AcceptanceTests.Common.Api.Helpers;
using FluentAssertions;
using TechTalk.SpecFlow;
using Testing.Common.Helper;
using VideoApi.Contract.Requests;
using VideoApi.Contract.Responses;
using VideoApi.Domain.Enums;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile>
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="2.8.1">
Expand Down Expand Up @@ -28,7 +30,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\Testing.Common\Testing.Common.csproj" />
<ProjectReference Include="..\Video.API\Video.API.csproj" />
<ProjectReference Include="..\VideoApi\VideoApi.csproj" />
<ProjectReference Include="..\VideoApi.Common\VideoApi.Common.csproj" />
<ProjectReference Include="..\VideoApi.DAL\VideoApi.DAL.csproj" />
</ItemGroup>
Expand All @@ -45,11 +47,8 @@
</ItemGroup>
<ItemGroup>
<Content Include="Features\*.feature" />
<Content Include="Features\Consultations\StartConsultation.feature" />
</ItemGroup>
<ItemGroup>
<Compile Update="Features\Consultations\StartConsultation.feature.cs">
<DependentUpon>StartConsultation.feature</DependentUpon>
</Compile>
<Content Include="Features\*.feature.cs" />
<Content Include="Features\Consultations\*.feature" />
<Content Include="Features\Consultations\*.feature.cs" />
</ItemGroup>
</Project>
4 changes: 0 additions & 4 deletions VideoAPI/VideoApi.IntegrationTests/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@
"SelfTestApiSecret": "SelfTestApiSecret",
"CallbackSecret": "CallbackSecret"
},
"ServiceBusQueue": {
"ConnectionString": "ConnectionString",
"QueueName": "video"
},
"Services": {
"CallbackUri": "CallbackUri",
"ConferenceUsername": "ConferenceUsername",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
using Moq;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Controllers;
using Video.API.Factories;
using VideoApi.Contract.Responses;
using VideoApi.Controllers;
using VideoApi.DAL.Queries;
using VideoApi.DAL.Queries.Core;
using VideoApi.Domain.Enums;
using VideoApi.Factories;
using VideoApi.Services.Contracts;
using VideoApi.Services.Responses;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@
using Autofac.Extras.Moq;
using FizzWare.NBuilder;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Controllers;
using Video.API.Factories;
using VideoApi.Common.Configuration;
using VideoApi.Common.Security.Kinly;
using VideoApi.Controllers;
using VideoApi.DAL.Commands;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Queries;
using VideoApi.DAL.Queries.Core;
using VideoApi.Domain;
using VideoApi.Domain.Enums;
using VideoApi.Factories;
using VideoApi.Services.Contracts;
using Task = System.Threading.Tasks.Task;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
using Microsoft.Extensions.Logging;
using Moq;
using NUnit.Framework;
using Video.API.Controllers;
using VideoApi.Controllers;
using VideoApi.Services.Contracts;

namespace VideoApi.UnitTests.Controllers.ConferenceManagement
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Moq;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Controllers;
using VideoApi.Controllers;
using VideoApi.DAL.Commands;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Queries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
using Moq;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Controllers;
using VideoApi.Contract.Requests;
using VideoApi.Contract.Responses;
using VideoApi.Controllers;
using VideoApi.DAL.Commands;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Queries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
using System;
using System.Net;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Controllers;
using VideoApi.Controllers;
using VideoApi.DAL.Queries;
using VideoApi.DAL.Queries.Core;
using VideoApi.Domain;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
using System;
using System.Collections.Generic;
using System.Net;
using Video.API.Controllers;
using VideoApi.Contract.Requests;
using VideoApi.Contract.Responses;
using VideoApi.Controllers;
using VideoApi.DAL.Commands;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Queries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
using Moq;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Controllers;
using VideoApi.Controllers;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Queries.Core;
using VideoApi.Domain.Enums;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
using Moq;
using NUnit.Framework;
using System.Net;
using Video.API.Controllers;
using VideoApi.Common.Configuration;
using VideoApi.Contract.Responses;
using VideoApi.Controllers;

namespace VideoApi.UnitTests.Controllers.SelfTest
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
using System;
using System.Collections.Generic;
using System.Net;
using Video.API.Controllers;
using VideoApi.Contract.Requests;
using VideoApi.Controllers;
using VideoApi.DAL.Commands;
using VideoApi.DAL.Commands.Core;
using VideoApi.DAL.Queries;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
using System;
using System.Linq;
using System.Threading.Tasks;
using Video.API.Controllers;
using VideoApi.Contract.Requests;
using VideoApi.Controllers;
using VideoApi.DAL.Commands;
using VideoApi.DAL.Commands.Core;
using VideoApi.Domain.Enums;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using FluentAssertions;
using Moq;
using NUnit.Framework;
using Video.API.Factories;
using VideoApi.Factories;
using VideoApi.Services.Contracts;

namespace VideoApi.UnitTests.Factories
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
using FluentAssertions;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Mappings;
using VideoApi.Common.Security.Kinly;
using VideoApi.Domain.Enums;
using VideoApi.Mappings;

namespace VideoApi.UnitTests.Mappings
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using FluentAssertions;
using NUnit.Framework;
using Testing.Common.Helper.Builders.Domain;
using Video.API.Mappings;
using VideoApi.Domain.Enums;
using VideoApi.Mappings;

namespace VideoApi.UnitTests.Mappings
{
Expand Down
Loading

0 comments on commit 2367daa

Please sign in to comment.