You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Enhance the LocationHierarchy endpoint to support two new query parameters:
recreate-lineage=true – Triggers the recalculation and updating of ancestor lineage tags for all Location resources in the hierarchy.
hierarchy-root-location=uuid – Specifies the UUID of the root location for the hierarchy to be updated.
If the hierarchy-root-location parameter is provided, the lineage recalculation process will start from the specified root location instead of automatically identifying the root.
Implementation
When the LocationHierarchy endpoint is called with recreate-lineage=true, the system should initiate a lineage recalculation process. The process should traverse the location hierarchy starting from the root location.
The root location must be explicitly specified using the hierarchy-root-location parameter.
his parameter is mandatory. If it is not provided, the endpoint should return an error response.
Context
recreate-lineage=true
– Triggers the recalculation and updating of ancestor lineage tags for all Location resources in the hierarchy.hierarchy-root-location=uuid
– Specifies the UUID of the root location for the hierarchy to be updated.hierarchy-root-location
parameter is provided, the lineage recalculation process will start from the specified root location instead of automatically identifying the root.Implementation
recreate-lineage=true
, the system should initiate a lineage recalculation process. The process should traverse the location hierarchy starting from the root location.hierarchy-root-location
parameter.Acceptance Criteria
hierarchy-root-location
is a mandatory parameter on the API ifrecreate-lineage=true
is available.The text was updated successfully, but these errors were encountered: