-
Notifications
You must be signed in to change notification settings - Fork 27
[uss_qualifier] migrate planning_area_resource to new volume resource #1192
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
[uss_qualifier] migrate planning_area_resource to new volume resource #1192
Conversation
79fa598
to
d041b1c
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.
Looks good -- just two comments
specification: PlanningAreaSpecification, | ||
volume: VolumeResource, | ||
resource_origin: str, |
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.
resource_origin
is an infrastructure argument and should [come before](
self, specification: SpecificationType, resource_origin: str, **dependencies |
specification: PlanningAreaSpecification, | |
volume: VolumeResource, | |
resource_origin: str, | |
specification: PlanningAreaSpecification, | |
resource_origin: str, | |
volume: VolumeResource, |
from monitoring.uss_qualifier.resources.volume import VolumeResource | ||
|
||
|
||
class PlanningAreaSpecification(ImplicitDict): |
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.
Let's update the description rather than removing it
1687d4e
to
9d3dcbe
Compare
9d3dcbe
to
70fd34a
Compare
Update
PlanningAreaResource
to wrap the recently introducedVolumeResource
as a dependency:The PR leaves a few TODOs related to the resolution of the volume resource, which will be tackled later on.
Note that this is a breaking change of relevant resource configurations.
Part of #1053