Skip to content

Route policies follow ups#5242

Draft
philippthun wants to merge 1 commit into
cloudfoundry:mainfrom
sap-contributions:route-policies-follow-ups
Draft

Route policies follow ups#5242
philippthun wants to merge 1 commit into
cloudfoundry:mainfrom
sap-contributions:route-policies-follow-ups

Conversation

@philippthun

Copy link
Copy Markdown
Member

Thanks for contributing to cloud_controller_ng. To speed up the process of reviewing your pull request please provide us with:

  • A short explanation of the proposed change:

  • An explanation of the use cases your change solves

  • Links to any other associated PRs

  • I have reviewed the contributing guide

  • I have viewed, signed, and submitted the Contributor License Agreement

  • I have made this pull request to the main branch

  • I have run all the unit tests using bundle exec rake

  • I have run CF Acceptance Tests

Move the cf:any exclusivity check into RoutePolicy#validate, drop the
after_create/after_destroy callbacks in favor of a public notify_diego,
and record audit events transactionally inside new RoutePolicyUpdate
and RoutePolicyDestroy actions. Drop the redundant reload in the
controller's update path.

Add route_policy, route_policy_label_model, and
route_policy_annotation_model factories and route all specs through them
instead of raw model creates. Rename the leftover 'rule' terminology to
'policy' throughout the specs.
@philippthun philippthun force-pushed the route-policies-follow-ups branch from a92962e to 0b5876f Compare July 10, 2026 11:24
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.

1 participant