-
Notifications
You must be signed in to change notification settings - Fork 188
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
Authorization resource for APIM #3644
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A few notes - primarily because I believe this will only be in v2.6 since 2.4 is already released
v2/samples/apimanagement/v1api20220801/v1api20220801_authorizationprovider.yaml
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
PR looks good. Just a few minor suggestions below.
Also, we'll need #3435 to be resolved before we can support AuthorizationProvider
resource as it has collection of secrets which we don't support yet.
@ansulgoenka can you please also support 2023-05-01-preview please? |
v2/samples/apimanagement/v1api20220801/v1api20220801_authorizationprovider.yaml
Outdated
Show resolved
Hide resolved
Re-posting here to ensure we don't forget: #3644 (comment) and is tracked in #3435
@ansulgoenka Can you please add "Depends on #3435" in the PR comment please to clarify this? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this contribution! I've left some relatively minor comments. It looks pretty good overall.
v2/internal/controllers/recordings/Test_ApiManagement_20230501preview_CRUD.yaml
Outdated
Show resolved
Hide resolved
v2/samples/apimanagement/v1api20220801/v1api20220801_authorizationprovidersauthorization.yaml
Outdated
Show resolved
Hide resolved
...anagement/v1api20230501preview/v1api20230501preview_authorizationprovidersauthorization.yaml
Outdated
Show resolved
Hide resolved
│ │ │ ├── AuthorizationCode: map[string]string | ||
│ │ │ └── ClientCredentials: map[string]string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
│ │ ├── AuthorizationCode: map[string]string | ||
│ │ └── ClientCredentials: map[string]string |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here
v2/internal/controllers/crd_apimanagement_20230501preview_test.go
Outdated
Show resolved
Hide resolved
/ok-to-test sha=0775d12 |
/azp run |
Azure Pipelines successfully started running 1 pipeline(s). |
Closes #[issue number]
What this PR does / why we need it:
It adds authorization resource for APIM
Special notes for your reviewer:
How does this PR make you feel:
If applicable: