-
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
Added the cro reports to es #685
Added the cro reports to es #685
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.
I think that we can create same abstract interface class for AWS and Azure
...overnance/cloud_resource_orchestration/clouds/azure/resource_groups/azure_monitor_tickets.py
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,66 @@ | |||
|
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.
Can we have the same abstract class interface for Azure and AWS ?
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.
yes, same interface class used
def __init__(self, region_name: str = ''): | ||
super().__init__() | ||
|
||
# Todo All the below methods will be implement in future releases |
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.
Missing documentation
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.
This is the Todo statement
...rnance/cloud_resource_orchestration/clouds/azure/resource_groups/azure_tagging_operations.py
Outdated
Show resolved
Hide resolved
from cloud_governance.main.environment_variables import environment_variables | ||
|
||
|
||
class CollectCROReports(AbstractCollectCROReports): |
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 question, why we need separate CRO class for Azure ?
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.
yes, the interface is same
cloud_governance/cloud_resource_orchestration/common/run_cro.py
Outdated
Show resolved
Hide resolved
cloud_governance/cloud_resource_orchestration/common/run_cro.py
Outdated
Show resolved
Hide resolved
cloud_governance/cloud_resource_orchestration/common/run_cro.py
Outdated
Show resolved
Hide resolved
f5499cc
to
d446cfc
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.
You have a lot of common folders, need to verify it that correct approach
cloud_governance/cloud_resource_orchestration/clouds/common/abstract_collect_cro_reports.py
Outdated
Show resolved
Hide resolved
...rnance/cloud_resource_orchestration/clouds/azure/resource_groups/azure_tagging_operations.py
Outdated
Show resolved
Hide resolved
..._governance/cloud_resource_orchestration/clouds/azure/resource_groups/collect_cro_reports.py
Outdated
Show resolved
Hide resolved
d446cfc
to
5b3ac06
Compare
Yeah sure. |
@athiruma, are we ok with the nested common folder ? |
I am ok with this. Will be renamed it according to the requirements. |
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
Type of change
Note: Fill x in []
Description
For security reasons, all pull requests need to be approved first before running any automated CI