-
Notifications
You must be signed in to change notification settings - Fork 34
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
INTMDB-545!: add Azure support to cloudProviderAccess #507
Conversation
RoleID string `json:"roleId,omitempty"` // Unique ID of this role. | ||
RoleID string `json:"roleId,omitempty"` // Unique 24-hexadecimal digit string that identifies the role. | ||
ID *string `json:"_id,omitempty"` // Unique 24-hexadecimal digit string that identifies the Azure Service Principal in Atlas. | ||
AtlasAzureAppID *string `json:"atlasAzureAppId,omitempty"` // Azure Active Directory Application ID of Atlas. |
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.
Nit: Can we change the order of properties to make it easier to understand what comes from which polymorphic type? For example: Putting ID as first property or adding an Azure prefix in the comments
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.
Just to make sure I understood the suggestion here: you are proposing to update the description of each field and add Azure:desciption
or AWS: description
? What about the fields that are needed with both? Azure|AWS:description
?
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.
I have no strong opinion on this.
My suggestion was to add prefixes to Azure: specific properties. Adding AWS ones could be a bonus.
Otherwise no description update is needed.
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.
updated
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.
LGTM. We need to update release notes. Small comment to improve clarity
// IAMRole is the response from the CloudProviderAccessService.ListRoles. | ||
type IAMRole struct { |
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.
what about
// IAMRole is the response from the CloudProviderAccessService.ListRoles. | |
type IAMRole struct { | |
// CloudProviderAccessRole is the response from the CloudProviderAccessService.ListRoles. | |
type CloudProviderAccessRole struct { |
so it matches CloudProviderAccessRoleRequest
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.
updated
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.
Awesome change! Thank you
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.
Description
Ticket: INTMDB-545
This PR adds Azure support to cloudProviderAccess.
BREAKING CHANGE: Renamed
AWSIAMRole
toIAMRole
Type of change:
Required Checklist:
make fmt
and formatted my codeFurther comments