Skip to content

Commit 361f382

Browse files
authored
Manfiest fix (#9)
* fix(manifest): Updating store type definition to fit new schema * update to bootstrap workflow * add required UOFramework and release_dir properties
1 parent fb90e85 commit 361f382

File tree

3 files changed

+73
-107
lines changed

3 files changed

+73
-107
lines changed
Lines changed: 16 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1,19 @@
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.update_catalog }}
12-
integration_type: ${{ steps.read-json.outputs.integration_type }}
13-
steps:
14-
- uses: actions/checkout@v3
15-
- name: Store json
16-
id: read-json
17-
shell: pwsh
18-
run: |
19-
$json = Get-Content integration-manifest.json | ConvertFrom-Json
20-
$myvar = $json.update_catalog
21-
echo "update_catalog=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
22-
$myvar = $json.integration_type
23-
echo "integration_type=$myvar" | Out-File -FilePath $Env:GITHUB_OUTPUT -Encoding utf8 -Append
24-
25-
call-dotnet-build-and-release-workflow:
26-
needs: [call-create-github-release-workflow]
27-
uses: Keyfactor/actions/.github/workflows/dotnet-build-and-release.yml@main
28-
with:
29-
release_version: ${{ needs.call-create-github-release-workflow.outputs.release_version }}
30-
release_url: ${{ needs.call-create-github-release-workflow.outputs.release_url }}
31-
release_dir: AzureAppGatewayOrchestrator\bin\Release
32-
secrets:
33-
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-*.*'
3411

35-
call-generate-readme-workflow:
36-
if: github.event_name == 'push' || github.event_name == 'workflow_dispatch'
37-
uses: Keyfactor/actions/.github/workflows/generate-readme.yml@main
12+
jobs:
13+
call-starter-workflow:
14+
uses: keyfactor/actions/.github/workflows/starter.yml@v2
3815
secrets:
39-
token: ${{ secrets.APPROVE_README_PUSH }}
40-
41-
call-update-catalog-workflow:
42-
needs: get-manifest-properties
43-
if: needs.get-manifest-properties.outputs.update_catalog == 'True' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
44-
uses: Keyfactor/actions/.github/workflows/update-catalog.yml@main
45-
secrets:
46-
token: ${{ secrets.SDK_SYNC_PAT }}
47-
48-
call-update-store-types-workflow:
49-
needs: get-manifest-properties
50-
if: needs.get-manifest-properties.outputs.integration_type == 'orchestrator' && (github.event_name == 'push' || github.event_name == 'workflow_dispatch')
51-
uses: Keyfactor/actions/.github/workflows/update-store-types.yml@main
52-
secrets:
53-
token: ${{ secrets.UPDATE_STORE_TYPES }}
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 }}

README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ The Azure Application Gateway Orchestrator extension acts as a proxy between Key
44

55
#### Integration status: Production - Ready for use in production environments.
66

7+
78
## About the Keyfactor Universal Orchestrator Extension
89

910
This repository contains a Universal Orchestrator Extension which is a plugin to the Keyfactor Universal Orchestrator. Within the Keyfactor Platform, Orchestrators are used to manage “certificate stores” — collections of certificates and roots of trust that are found within and used by various applications.
@@ -13,15 +14,13 @@ The Universal Orchestrator is part of the Keyfactor software distribution and is
1314
The Universal Orchestrator is the successor to the Windows Orchestrator. This Orchestrator Extension plugin only works with the Universal Orchestrator and does not work with the Windows Orchestrator.
1415

1516

16-
1717
## Support for Azure Application Gateway Orchestrator
1818

1919
Azure Application Gateway Orchestrator is open source and there is **no SLA** for this tool/library/client. Keyfactor will address issues as resources become available. Keyfactor customers may request escalation by opening up a support ticket through their Keyfactor representative.
2020

2121
###### To report a problem or suggest a new feature, use the **[Issues](../../issues)** tab. If you want to contribute actual bug fixes or proposed enhancements, use the **[Pull requests](../../pulls)** tab.
2222

2323

24-
2524
---
2625

2726

integration-manifest.json

Lines changed: 56 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
"update_catalog": true,
77
"link_github": true,
88
"support_level": "kf-community",
9+
"release_dir": "AzureAppGatewayOrchestrator\\bin\\Release",
910
"description": "The Azure Application Gateway Orchestrator extension acts as a proxy between Keyfactor and Azure that allows Keyfactor to manage Application Gateway certificates.",
1011
"about": {
1112
"orchestrator": {
@@ -27,8 +28,9 @@
2728
"supportsInventory": true,
2829
"platformSupport": "Unused"
2930
},
30-
"store_types": {
31-
"AzureAppGW" : {
31+
"UOFramework": "10.1",
32+
"store_types": [
33+
{
3234
"Name": "Azure Application Gateway",
3335
"ShortName": "AzureAppGW",
3436
"Capability": "AzureAppGW",
@@ -39,61 +41,60 @@
3941
"Discovery": true,
4042
"Enrollment": false,
4143
"Remove": true
42-
}
43-
},
44-
"Properties": [
45-
{
46-
"Name": "ServerUsername",
47-
"DisplayName": "Server Username",
48-
"Type": "Secret",
49-
"DependsOn": null,
50-
"DefaultValue": null,
51-
"Required": true
5244
},
53-
{
54-
"Name": "ServerPassword",
55-
"DisplayName": "Server Password",
56-
"Type": "Secret",
57-
"DependsOn": null,
58-
"DefaultValue": null,
59-
"Required": true
60-
},
61-
{
62-
"Name": "ServerUseSsl",
63-
"DisplayName": "Use SSL",
64-
"Type": "Bool",
65-
"DependsOn": null,
66-
"DefaultValue": "true",
67-
"Required": false
68-
}
69-
],
70-
"EntryParameters": [
71-
{
72-
"Name": "HTTPListenerName",
73-
"DisplayName": "HTTP Listener Name",
74-
"Type": "String",
75-
"RequiredWhen": {
76-
"HasPrivateKey": false,
77-
"OnAdd": false,
78-
"OnRemove": false,
79-
"OnReenrollment": false
45+
"Properties": [
46+
{
47+
"Name": "ServerUsername",
48+
"DisplayName": "Server Username",
49+
"Type": "Secret",
50+
"DependsOn": null,
51+
"DefaultValue": null,
52+
"Required": true
53+
},
54+
{
55+
"Name": "ServerPassword",
56+
"DisplayName": "Server Password",
57+
"Type": "Secret",
58+
"DependsOn": null,
59+
"DefaultValue": null,
60+
"Required": true
61+
},
62+
{
63+
"Name": "ServerUseSsl",
64+
"DisplayName": "Use SSL",
65+
"Type": "Bool",
66+
"DependsOn": null,
67+
"DefaultValue": "true",
68+
"Required": false
69+
}
70+
],
71+
"EntryParameters": [
72+
{
73+
"Name": "HTTPListenerName",
74+
"DisplayName": "HTTP Listener Name",
75+
"Type": "String",
76+
"RequiredWhen": {
77+
"HasPrivateKey": false,
78+
"OnAdd": false,
79+
"OnRemove": false,
80+
"OnReenrollment": false
81+
}
8082
}
81-
}
82-
],
83-
"PasswordOptions": {
84-
"EntrySupported": false,
85-
"StoreRequired": false,
86-
"Style": "Default"
87-
},
88-
"PrivateKeyAllowed": "Required",
89-
"ServerRequired": true,
90-
"PowerShell": false,
91-
"BlueprintAllowed": false,
92-
"CustomAliasAllowed": "Required",
93-
"ServerRegistration": 13,
94-
"InventoryEndpoint": "/AnyInventory/Update"
95-
96-
}
83+
],
84+
"PasswordOptions": {
85+
"EntrySupported": false,
86+
"StoreRequired": false,
87+
"Style": "Default"
88+
},
89+
"PrivateKeyAllowed": "Required",
90+
"ServerRequired": true,
91+
"PowerShell": false,
92+
"BlueprintAllowed": false,
93+
"CustomAliasAllowed": "Required",
94+
"ServerRegistration": 13,
95+
"InventoryEndpoint": "/AnyInventory/Update"
96+
}
97+
]
9798
}
9899
}
99100
}

0 commit comments

Comments
 (0)