Commit a0ffff8
committed
Rebrand RFC terminology: access rules → route policies, selector → source
Complete terminology shift for identity-aware routing RFC implementation:
**Access Rules → Route Policies**
- API: /v3/access_rules → /v3/route_policies
- CLI commands:
- cf access-rules → cf route-policies
- cf add-access-rule → cf add-route-policy
- cf remove-access-rule → cf remove-route-policy
- Domain flags: --enforce-access-rules → --enforce-route-policies
- Domain fields: enforce_access_rules → enforce_route_policies,
access_rules_scope → route_policies_scope
**Selector → Source**
- API field: "selector" → "source"
- CLI flag: --selector → --source
- Query params: selectors → sources, selector_resource_guids → source_guids
- Table column headers: "selector/source" → "source/name"
- Internal types: AccessRule → RoutePolicy, AccessRuleWithRoute → RoutePolicyWithRoute
- Error types: AccessRuleNotFoundError → RoutePolicyNotFoundError
**Rationale (per RFC)**
- "Route policies" aligns with existing CF "network policies" terminology
- "Source" matches C2C network policy convention (source → destination)
- Improves clarity: policies define allowed sources that can reach routes
- Better mental model for users familiar with CF networking concepts
This is a breaking change but acceptable since RFC is pre-GA with only
POC/lab implementations. Clean terminology is preferred over backward
compatibility at this stage.
Co-authored-by: RFC Community <cloudfoundry/community#1438>
Aligns-with: cloudfoundry/community@be8d74c11 parent 3d46bb9 commit a0ffff8
95 files changed
Lines changed: 1281 additions & 2932 deletions
File tree
- actor
- actionerror
- v7action
- v7actionfakes
- v7pushaction
- api
- cfnetworking
- cfnetv1
- wrapper
- cloudcontroller/ccv3
- internal
- cf
- actors
- net
- command
- common
- internal
- flag
- v7
- v7fakes
- integration/v7/isolated
- resources
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
0 commit comments