Skip to content

Commit ce8e0f7

Browse files
authored
Release 2.0 merge to main (#15)
Azure Application Gateway Orchestrator Extension v2.0.0 - feat(bindings): Implemented a second Command Certificate Store Type called AppGwBin that logically represents the binding of an Application Gateway SSL Certificate to a TLS Listener. - feat(bindings): Removed TLS Listener binding logic from AzureAppGW certificate store type implementation. - chore(client): Refactored client to prefer dependency injection pattern. - chore(jobs): Refactored Orchestrator job implementations to prefer dependency injection pattern. - chore(tests): Implemented unit testing framework with a fake client interface. - chore(tests): Implemented integration tests for both Orchestrator jobs and App Gateway client.
1 parent a115994 commit ce8e0f7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+3835
-1275
lines changed
Loading
Loading
Loading
Loading
Loading
Loading

.github/workflows/tests.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build and Test dotnet project
2+
on: [workflow_dispatch, push, pull_request]
3+
jobs:
4+
build-and-test:
5+
name: Build and Test dotnet project
6+
runs-on: ubuntu-latest
7+
timeout-minutes: 5
8+
steps:
9+
# Checkout code
10+
# https://github.com/actions/checkout
11+
- name: Checkout code
12+
uses: actions/checkout@v4
13+
14+
# Setup dotnet 6.0
15+
# https://github.com/actions/setup-dotnet
16+
- uses: actions/setup-dotnet@v3
17+
with:
18+
dotnet-version: '6.x'
19+
20+
# Setup nuget
21+
- name: Setup build environment
22+
run: |
23+
dotnet nuget add source https://nuget.pkg.github.com/Keyfactor/index.json -n github -u ${{ github.actor }} -p ${{ secrets.V2BUILDTOKEN }} --store-password-in-clear-text
24+
dotnet restore
25+
26+
# Build and test dotnet project
27+
- name: Build and Test
28+
run: dotnet test
29+

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -346,3 +346,6 @@ healthchecksdb
346346
/key.pem
347347
/cert.pem
348348
/cert.csr
349+
350+
.DS_Store
351+
*.env
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net6.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
8+
<IsPackable>false</IsPackable>
9+
</PropertyGroup>
10+
11+
<ItemGroup>
12+
<PackageReference Include="Azure.ResourceManager.Network" Version="1.7.0" />
13+
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.1.0" />
14+
<PackageReference Include="Moq" Version="4.20.70" />
15+
<PackageReference Include="NLog.Extensions.Logging" Version="5.3.8" />
16+
<PackageReference Include="xunit" Version="2.4.1" />
17+
<PackageReference Include="xunit.runner.visualstudio" Version="2.4.3">
18+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
19+
<PrivateAssets>all</PrivateAssets>
20+
</PackageReference>
21+
<PackageReference Include="coverlet.collector" Version="3.1.2">
22+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
23+
<PrivateAssets>all</PrivateAssets>
24+
</PackageReference>
25+
</ItemGroup>
26+
27+
<ItemGroup>
28+
<ProjectReference Include="..\AzureAppGatewayOrchestrator\AzureAppGatewayOrchestrator.csproj" />
29+
</ItemGroup>
30+
31+
<ItemGroup>
32+
<Content Include="xunit.runner.json" CopyToOutputDirectory="PreserveNewest" />
33+
</ItemGroup>
34+
35+
</Project>

0 commit comments

Comments
 (0)