Skip to content

Commit b284dca

Browse files
Merge fda3cce into 2b21ca7
2 parents 2b21ca7 + fda3cce commit b284dca

File tree

11 files changed

+454
-157
lines changed

11 files changed

+454
-157
lines changed
Lines changed: 17 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,20 @@
1-
name: Starter Workflow
2-
on: [workflow_dispatch, push, pull_request]
1+
name: Keyfactor Bootstrap Workflow
32

4-
jobs:
5-
call-create-github-release-workflow:
6-
uses: Keyfactor/actions/.github/workflows/github-release.yml@main
7-
8-
get-manifest-properties:
9-
runs-on: windows-latest
10-
outputs:
11-
update_catalog: ${{ steps.read-json.outputs.prop }}
12-
steps:
13-
- uses: actions/checkout@v3
14-
- name: Read json
15-
id: read-json
16-
shell: pwsh
17-
run: |
18-
$json = Get-Content integration-manifest.json | ConvertFrom-Json
19-
echo "::set-output name=prop::$(echo $json.update_catalog)"
20-
21-
call-dotnet-build-and-release-workflow:
22-
needs: [call-create-github-release-workflow]
23-
uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
24-
with:
25-
release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
26-
release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
27-
release_dir: DataPower/bin/Debug # TODO: set build output directory to upload as a release, relative to checkout workspace
28-
secrets:
29-
token: ${{ secrets.PRIVATE_PACKAGE_ACCESS }}
3+
on:
4+
workflow_dispatch:
5+
pull_request:
6+
types: [opened, closed, synchronize, edited, reopened]
7+
push:
8+
create:
9+
branches:
10+
- 'release-*.*'
3011

31-
call-generate-readme-workflow:
32-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
33-
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main
12+
jobs:
13+
call-starter-workflow:
14+
uses: keyfactor/actions/.github/workflows/starter.yml@3.1.2
3415
secrets:
35-
token: ${{ secrets.APPROVE_README_PUSH }}
36-
37-
call-update-catalog-workflow:
38-
needs: get-manifest-properties
39-
if: needs.get-manifest-properties.outputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
40-
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main
41-
secrets:
42-
token: ${{ secrets.SDK_SYNC_PAT }}
16+
token: ${{ secrets.V2BUILDTOKEN}}
17+
APPROVE_README_PUSH: ${{ secrets.APPROVE_README_PUSH}}
18+
gpg_key: ${{ secrets.KF_GPG_PRIVATE_KEY }}
19+
gpg_pass: ${{ secrets.KF_GPG_PASSPHRASE }}
20+
scan_token: ${{ secrets.SAST_TOKEN }}

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1+
1.1.1
2+
* Dual Build .Net 6 and .Net 8 support
3+
* Test Tool Modifications
4+
* Readme Updates
5+
16
1.1.0
27
* Convert to Universal Orchestrator Framework
38
* Added Support for .cer files during inventory
49
* Added PAM Support
510

611
1.0.0
712
* Windows Orchestrator with Add, Remove and Inventory Capabilities
8-

DataPower.sln

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio Version 16
4-
VisualStudioVersion = 16.0.30717.126
3+
# Visual Studio Version 17
4+
VisualStudioVersion = 17.11.35222.181
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataPower", "DataPower\DataPower.csproj", "{33FBC5A1-3466-4F10-B9A6-7186F804A65A}"
77
EndProject
88
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{1A6C93E7-24FD-47FD-883D-EDABF5CEE4C6}"
99
ProjectSection(SolutionItems) = preProject
1010
CHANGELOG.md = CHANGELOG.md
1111
integration-manifest.json = integration-manifest.json
12+
.github\workflows\keyfactor-extension-release.yml = .github\workflows\keyfactor-extension-release.yml
1213
README.md = README.md
14+
README.md.tpl = README.md.tpl
1315
EndProjectSection
1416
EndProject
1517
Global

DataPower/DataPower.csproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,12 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<TargetFramework>netcoreapp3.1</TargetFramework>
5-
<RootNamespace>Keyfactor.Extensions.Orchestrator.DataPower</RootNamespace>
4+
<AppendTargetFrameworkToOutputPath>true</AppendTargetFrameworkToOutputPath>
5+
<TargetFrameworks>net6.0;net8.0</TargetFrameworks>
66
<CopyLocalLockFileAssemblies>true</CopyLocalLockFileAssemblies>
7+
<ImplicitUsings>disable</ImplicitUsings>
78
</PropertyGroup>
89

9-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
10-
<DebugType>none</DebugType>
11-
<DebugSymbols>false</DebugSymbols>
12-
</PropertyGroup>
1310

1411
<ItemGroup>
1512
<PackageReference Include="Keyfactor.Logging" Version="1.1.1" />

DataPower/Jobs/Inventory.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ private JobResult PerformInventory(InventoryJobConfiguration config, SubmitInven
7474
_protocol = ci.Protocol;
7575
_logger.LogTrace(
7676
$"Certificate Config Domain: {ci.Domain} and Certificate Store: {ci.CertificateStore}");
77-
_logger.LogTrace($"Any Job Config {JsonConvert.SerializeObject(config)}");
7877
_logger.LogTrace("Entering IBM DataPower: Certificate Inventory");
7978
_logger.LogTrace(
8079
$"Entering processJob for Domain: {ci.Domain} and Certificate Store: {ci.CertificateStore}");

DataPower/Jobs/Management.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ public JobResult ProcessJob(ManagementJobConfiguration config)
4343
try
4444
{
4545
_logger.MethodEntry(LogLevel.Debug);
46-
_logger.LogTrace($"Any Job Config {JsonConvert.SerializeObject(config)}");
4746

4847
var ci = Utility.ParseCertificateConfig(config);
4948
var np = Utility.ParseStoreProperties(config);

0 commit comments

Comments
 (0)