Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Shastick
Copy link
Contributor

@Shastick Shastick commented Jun 11, 2025

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.py to monitoring/uss_qualifier/resources/planning_area.py.

All other changes are adaptations of import paths.

@Shastick Shastick force-pushed the fix-move-planning-area-resources branch 4 times, most recently from ac1c57f to 56587be Compare June 11, 2025 21:15
@Shastick Shastick requested a review from mickmis June 11, 2025 21:22
@Shastick Shastick marked this pull request as ready for review June 11, 2025 21:28
@Shastick Shastick force-pushed the fix-move-planning-area-resources branch from 56587be to 318bb89 Compare June 11, 2025 21:29
Copy link
Contributor

@mickmis mickmis left a 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'}
Copy link
Contributor

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'}
Copy link
Contributor

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?

@Shastick Shastick force-pushed the fix-move-planning-area-resources branch from 318bb89 to f626936 Compare June 12, 2025 13:01
@Shastick Shastick requested a review from mickmis June 12, 2025 13:02
@mickmis mickmis merged commit 16931db into interuss:main Jun 12, 2025
20 checks passed
@mickmis mickmis deleted the fix-move-planning-area-resources branch June 12, 2025 13:08
@BenjaminPelletier
Copy link
Member

Since this change will break customers' test configurations unless they update resources.astm.f3548.v21.PlanningAreaResource to resources.PlanningAreaResource, we should figure out how to track these important migration notes and communicate them in the next release notes. We may also want to consider keeping something at resources.astm.f3548.v21.PlanningAreaResource for a while which would print some kind of deprecation message before actually using the object at resources.PlanningAreaResource. @mickmis @Shastick

@Shastick
Copy link
Contributor Author

Oh my, that's an important oversight. I'll quickly prepare a PR that adds something back at resources.astm.f3548.v21.PlanningAreaResource

@Shastick
Copy link
Contributor Author

@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.

@mickmis
Copy link
Contributor

mickmis commented Jun 13, 2025

Since this change will break customers' test configurations unless they update resources.astm.f3548.v21.PlanningAreaResource to resources.PlanningAreaResource, we should figure out how to track these important migration notes and communicate them in the next release notes.

@BenjaminPelletier My bad! I did not consider that part, I will keep that in mind for future reviews.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants