-
Notifications
You must be signed in to change notification settings - Fork 28
[uss_qualifier] make PlanningAreaResource a non-standard-specific resource #1048
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] make PlanningAreaResource a non-standard-specific resource #1048
Conversation
ac1c57f to
56587be
Compare
56587be to
318bb89
Compare
mickmis
left a comment
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 modulo minor comments.
| utm_client_identity: {$ref: 'library/resources.yaml#/utm_client_identity'} | ||
| id_generator: {$ref: 'library/resources.yaml#/id_generator'} | ||
| kentland_service_area: {$ref: 'library/resources.yaml#/kentland_service_area'} | ||
| kentland_planning_area: {$ref: 'library/resources.yaml#/kentland_planning_area'} |
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.
Changes in this file look unintended?
| utm_client_identity: {$ref: 'library/resources.yaml#/utm_client_identity'} | ||
| id_generator: {$ref: 'library/resources.yaml#/id_generator'} | ||
| kentland_service_area: {$ref: 'library/resources.yaml#/kentland_service_area'} | ||
| kentland_planning_area: {$ref: 'library/resources.yaml#/kentland_planning_area'} |
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.
Changes in this file look unintended?
318bb89 to
f626936
Compare
|
Since this change will break customers' test configurations unless they update |
|
Oh my, that's an important oversight. I'll quickly prepare a PR that adds something back at |
|
@BenjaminPelletier here is a first fix. I'm not versed enough in Python to know if there's a better way, but for the moment it allows importing the resource via the old path and will trigger a warning in that situation. |
@BenjaminPelletier My bad! I did not consider that part, I will keep that in mind for future reviews. |
This is a preparatory step towards re-using the PlanningAreaResource for f3411 scenarios (eg in #1041).
It is moved from to
monitoring/uss_qualifier/resources/astm/f3548/v21/planning_area.pytomonitoring/uss_qualifier/resources/planning_area.py.All other changes are adaptations of import paths.