-
Notifications
You must be signed in to change notification settings - Fork 15
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
Discover angi architecture #2761
Conversation
08d67c8
to
2e7e789
Compare
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.
Good job 🚀
I left some comments, up to you, they are code style comments
lib/trento/discovery/payloads/cluster/cluster_discovery_payload.ex
Outdated
Show resolved
Hide resolved
lib/trento/discovery/payloads/cluster/cluster_discovery_payload.ex
Outdated
Show resolved
Hide resolved
lib/trento/discovery/payloads/cluster/cluster_discovery_payload.ex
Outdated
Show resolved
Hide resolved
|
||
# angi architecture follows a really similar configuration to the scale out one. | ||
# That's why some functions are shared with classic scale out setup | ||
defp parse_cluster_details( |
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.
Totally ok with the comment, the other option was to override any of the shared function, with the prefix angi and proxy them
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.
At the end, i was having already enough code duplication hehe
In any case, whoever looked for the proxy, would have the same questions, why angi is using scale out code XD
Hey @CDimonaco |
Damn, clicked wrong button XD |
6d08c98
to
78d6bcb
Compare
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.
Beautiful!
Thanks for addressing the feedbacks, I left a very little nitpick, as you prefer
LGTM! 🚀
lib/trento/discovery/payloads/cluster/cluster_discovery_payload.ex
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.
Hey man, code wise lgtm!
Description
Discovery of
angi
architecture HANA clusters.A new field,
architecture_type
has been added to the hana cluster details, being "classic" and "angi" the possible values.The
architecture_type
field is now available in the clusters api.@abravosuse What do you think of the field name
architecture_type
?How was this tested?
UT added