Skip to content

Commit 2ba24a4

Browse files
committed
rfc: be more specific on CC changes
1 parent 6f942f9 commit 2ba24a4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

toc/rfc/rfc-draft-generic-per-route-features.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,18 @@ applications:
6565
- route: tcp-example.com:1234
6666
```
6767
68+
The new fields MUST be supported by the already existing endpoints to create and update and get
69+
routes:
70+
* [`POST /v3/routes`](https://v3-apidocs.cloudfoundry.org/version/3.159.0/index.html#create-a-route)
71+
* [`GET /v3/routes/:guid`](https://v3-apidocs.cloudfoundry.org/version/3.159.0/index.html#get-a-route)
72+
* [`GET /v3/routes`](https://v3-apidocs.cloudfoundry.org/version/3.159.0/index.html#list-routes)
73+
* [`GET /v3/apps/:guid/routes`](https://v3-apidocs.cloudfoundry.org/version/3.159.0/index.html#list-routes-for-an-app)
74+
* [`PATCH /v3/routes/:guid`](https://v3-apidocs.cloudfoundry.org/version/3.159.0/index.html#update-a-route)
75+
6876
Implementation details:
6977
* Add a new field to the [route model](https://github.com/cloudfoundry/cloud_controller_ng/blob/main/app/models/runtime/route.rb).
7078
* Add validation to the [route validator](https://github.com/cloudfoundry/cloud_controller_ng/blob/e719d017ea4625397a97c2c14352ebdee66febe9/lib/cloud_controller/route_validator.rb#L2).
79+
* Use a mechanism similar to the [droplet](https://github.com/cloudfoundry/cloud_controller_ng/blob/e719d017ea4625397a97c2c14352ebdee66febe9/app/models/runtime/droplet_model.rb#L47-L48) to store the encoded map.
7180

7281
#### BBS, Rep, Executor, Route-Emitter
7382

0 commit comments

Comments
 (0)