Skip to content
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

APIM: Api / Product / VersionSet / Policy / PolicyFragment #3394

Merged
merged 69 commits into from
Oct 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
69 commits
Select commit Hold shift + click to select a range
0ae6f63
Add Backend / NamedValue / Subscription
ross-p-smith Oct 4, 2023
5d80dd5
Added samples
ross-p-smith Oct 4, 2023
672c0e8
Adding samples
ross-p-smith Oct 4, 2023
227ed44
Merge branch 'Azure:main' into ross/simpleTypes
ross-p-smith Oct 4, 2023
c1e0dfd
APIM Integration Tests
ross-p-smith Oct 4, 2023
3ffae5a
Added deletes into recording
ross-p-smith Oct 4, 2023
cad83f0
Merge branch 'main' into ross/simpleTypes
ross-p-smith Oct 4, 2023
b7ff7fb
Working envtest recording
ross-p-smith Oct 4, 2023
f547a5d
Merge branch 'main' into ross/simpleTypes
ross-p-smith Oct 4, 2023
d9cd1fb
envtest working for teh rest of the APIM services
ross-p-smith Oct 5, 2023
2492c6c
Added keyvault properties
ross-p-smith Oct 5, 2023
9bb4d2c
Merge branch 'ross/simpleTypes' into ross/Backbaseminimum
ross-p-smith Oct 5, 2023
08ea202
Added the preview version of apim
ross-p-smith Oct 5, 2023
d81d9ed
KeyVaultId is an armReference
ross-p-smith Oct 5, 2023
bfc8041
Backend Proxy Password is now a secret
ross-p-smith Oct 5, 2023
de8e4f1
Merge branch 'main' into ross/simpleTypes
ross-p-smith Oct 5, 2023
294ff1e
Backend ResorceId is now an armReference
ross-p-smith Oct 5, 2023
a716ff9
Merge branch 'main' into ross/simpleTypes
ross-p-smith Oct 6, 2023
b0fd6bc
PrimaryKey/SecondaryKey importConfigMap
ross-p-smith Oct 6, 2023
c36aa75
Add comment for BackendCredentialsContract
ross-p-smith Oct 9, 2023
032985f
Merge branch 'main' into ross/simpleTypes
ross-p-smith Oct 9, 2023
170bcad
Index md new format
ross-p-smith Oct 9, 2023
d60f634
Merge branch 'ross/simpleTypes' into ross/Backbaseminimum
ross-p-smith Oct 9, 2023
7146de4
KeyVault is not a real ARM Id
ross-p-smith Oct 9, 2023
4f43258
Whoops!
ross-p-smith Oct 9, 2023
b670214
Merge branch 'ross/simpleTypes' into ross/Backbaseminimum
ross-p-smith Oct 9, 2023
0fc4379
keys should be secrets
matthchr Oct 9, 2023
4253fd6
Merge pull request #1 from matthchr/matthchr/help
ross-p-smith Oct 9, 2023
479f065
Adding CRD tests
ross-p-smith Oct 9, 2023
09e2bd7
WIP - testing
ross-p-smith Oct 9, 2023
3e77eeb
Removed the azureGeneratedSecrets
ross-p-smith Oct 9, 2023
7fd1a52
AzureGeneratedSecrets for APIM
matthchr Oct 9, 2023
ee44d66
Merge branch 'main' into ross/simpleTypes
ross-p-smith Oct 10, 2023
ca3a423
OwnerId (UserId) is an ARM Reference
ross-p-smith Oct 10, 2023
8b057f7
Merge branch 'ross/simpleTypes' into ross/Backbaseminimum
ross-p-smith Oct 10, 2023
2516f89
Working samples
ross-p-smith Oct 10, 2023
252926b
Merge branch 'Azure:main' into ross/simpleTypes
ross-p-smith Oct 10, 2023
12abd3c
Merge pull request #2 from matthchr/matthchr/help-2
ross-p-smith Oct 10, 2023
ed68031
Comment future APIM
ross-p-smith Oct 10, 2023
d065d6a
Merge branch 'ross/simpleTypes' into ross/Backbaseminimum
ross-p-smith Oct 10, 2023
43d5df6
Remove preview version
ross-p-smith Oct 10, 2023
41ea16c
Add Azure Generated Secrets back in
ross-p-smith Oct 10, 2023
0e101f8
Adding Policy Fragment test
ross-p-smith Oct 10, 2023
4fd5ded
Fixed up ARM References
ross-p-smith Oct 10, 2023
29fbcdb
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 11, 2023
0d5fda8
Added Secret tests
ross-p-smith Oct 11, 2023
897ce47
Tests that delete the resourec group after
ross-p-smith Oct 11, 2023
5db170b
Remove comments of stuff that is implemented
ross-p-smith Oct 11, 2023
dbae3cc
Better comments for authoring apim tests
ross-p-smith Oct 11, 2023
892f46d
Put samples test back
ross-p-smith Oct 11, 2023
9e247ce
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 12, 2023
7dc4b80
Comment out 2 sample tests
ross-p-smith Oct 12, 2023
66201e3
Merge branch 'ross/Backbaseminimum' of https://github.com/ross-p-smit…
ross-p-smith Oct 12, 2023
4fe1f5d
Renamed VersionSet ApiVersionSet
ross-p-smith Oct 12, 2023
f75b328
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 12, 2023
e2660ff
Api VersionSet samples
ross-p-smith Oct 12, 2023
fa953c6
Working CRD recording
ross-p-smith Oct 12, 2023
f279e10
Update v2/internal/controllers/crd_apimanagement_20220801_test.go
ross-p-smith Oct 13, 2023
aca2645
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 13, 2023
de41094
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 16, 2023
41a1272
Removed restore comment
ross-p-smith Oct 16, 2023
41b7ba2
Format on save for linters
ross-p-smith Oct 16, 2023
9bc92ba
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 17, 2023
a23c9f5
Added go.sum fix
ross-p-smith Oct 17, 2023
2dc04ad
Merge branch 'ross/Backbaseminimum' of https://github.com/ross-p-smit…
ross-p-smith Oct 17, 2023
0a633dd
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 19, 2023
f6195b3
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 23, 2023
349dedc
Merge branch 'main' into ross/Backbaseminimum
ross-p-smith Oct 24, 2023
523adae
Better comment about running subtests in sequence
ross-p-smith Oct 24, 2023
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
1 change: 1 addition & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"icon": "terminal-bash"
}
},
"editor.formatOnSave": true,
"go.gopath": "/go",
"go.useLanguageServer": true,
"go.lintTool": "golangci-lint",
Expand Down
17 changes: 11 additions & 6 deletions docs/hugo/content/reference/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,17 @@ To install the CRDs for these resources, your ASO configuration must include `ap

Development of these new resources is complete and they will be available in the next release of ASO.

| Resource | ARM Version | CRD Version | Supported From | Sample |
|----------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------|
| [Backend](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Backend) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_backend.yaml) |
| [NamedValue](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.NamedValue) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_namedvalue.yaml) |
| [Service](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Service) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_service.yaml) |
| [Subscription](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Subscription) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_subscription.yaml) |
| Resource | ARM Version | CRD Version | Supported From | Sample |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------|
| [Api](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Api) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_api.yaml) |
| [ApiVersionSet](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.ApiVersionSet) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_apiversionset.yaml) |
| [Backend](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Backend) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_backend.yaml) |
| [NamedValue](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.NamedValue) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_namedvalue.yaml) |
| [Policy](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Policy) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_policy.yaml) |
| [PolicyFragment](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.PolicyFragment) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_policyfragment.yaml) |
| [Product](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Product) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_product.yaml) |
| [Service](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Service) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_service.yaml) |
| [Subscription](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Subscription) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_subscription.yaml) |

## AppConfiguration

Expand Down
17 changes: 11 additions & 6 deletions docs/hugo/content/reference/apimanagement/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,15 @@ To install the CRDs for these resources, your ASO configuration must include `ap

Development of these new resources is complete and they will be available in the next release of ASO.

| Resource | ARM Version | CRD Version | Supported From | Sample |
|----------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|------------------------------------------------------------------------------------------------------------------------------------------|
| [Backend](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Backend) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_backend.yaml) |
| [NamedValue](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.NamedValue) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_namedvalue.yaml) |
| [Service](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Service) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_service.yaml) |
| [Subscription](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Subscription) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_subscription.yaml) |
| Resource | ARM Version | CRD Version | Supported From | Sample |
|--------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------|---------------|----------------|--------------------------------------------------------------------------------------------------------------------------------------------|
| [Api](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Api) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_api.yaml) |
| [ApiVersionSet](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.ApiVersionSet) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_apiversionset.yaml) |
| [Backend](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Backend) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_backend.yaml) |
| [NamedValue](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.NamedValue) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_namedvalue.yaml) |
| [Policy](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Policy) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_policy.yaml) |
| [PolicyFragment](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.PolicyFragment) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_policyfragment.yaml) |
| [Product](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Product) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_product.yaml) |
| [Service](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Service) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_service.yaml) |
| [Subscription](https://azure.github.io/azure-service-operator/reference/apimanagement/v1api20220801/#apimanagement.azure.com/v1api20220801.Subscription) | 2022-08-01 | v1api20220801 | v2.4.0 | [View](https://github.com/Azure/azure-service-operator/tree/main/v2/samples/apimanagement/v1api20220801/v1api20220801_subscription.yaml) |

20 changes: 20 additions & 0 deletions v2/api/apimanagement/customizations/api_extension_types_gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions v2/api/apimanagement/customizations/structure.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
// Code generated by azure-service-operator-codegen. DO NOT EDIT.
github.com/Azure/azure-service-operator/v2/api/apimanagement/customizations
├── ApiExtension: Object (0 properties)
├── ApiVersionSetExtension: Object (0 properties)
├── BackendExtension: Object (0 properties)
├── NamedValueExtension: Object (0 properties)
├── PolicyExtension: Object (0 properties)
├── PolicyFragmentExtension: Object (0 properties)
├── ProductExtension: Object (0 properties)
├── ServiceExtension: Object (0 properties)
└── SubscriptionExtension: Object (0 properties)
Loading