Skip to content

[uss_qualifier] migrate planning_area_resource to new volume resource#1192

Merged
BenjaminPelletier merged 2 commits intointeruss:mainfrom
Orbitalize:planning-area-uses-volume
Oct 8, 2025
Merged

[uss_qualifier] migrate planning_area_resource to new volume resource#1192
BenjaminPelletier merged 2 commits intointeruss:mainfrom
Orbitalize:planning-area-uses-volume

Conversation

@Shastick
Copy link
Copy Markdown
Contributor

@Shastick Shastick commented Sep 30, 2025

Update PlanningAreaResource to wrap the recently introduced VolumeResource as a dependency:

  • update all relevant configurations
  • move a bunch utility functions from the PlanningAreaSpecification to the PlanningAreaResource

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

@Shastick Shastick force-pushed the planning-area-uses-volume branch 5 times, most recently from 79fa598 to d041b1c Compare October 1, 2025 08:30
@Shastick Shastick marked this pull request as ready for review October 1, 2025 08:30
Copy link
Copy Markdown
Member

@BenjaminPelletier BenjaminPelletier left a 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

Comment on lines +46 to +48
specification: PlanningAreaSpecification,
volume: VolumeResource,
resource_origin: str,
Copy link
Copy Markdown
Member

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
any dependencies (like in DSSInstanceResource).

Suggested change
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):
Copy link
Copy Markdown
Member

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

@Shastick Shastick force-pushed the planning-area-uses-volume branch 2 times, most recently from 1687d4e to 9d3dcbe Compare October 7, 2025 08:17
@Shastick Shastick force-pushed the planning-area-uses-volume branch from 9d3dcbe to 70fd34a Compare October 7, 2025 08:23
@BenjaminPelletier BenjaminPelletier merged commit d8c2a81 into interuss:main Oct 8, 2025
21 checks passed
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.

2 participants