Commit d623f45
committed
docs: route applications by host/urlPath in the root config
Follow-up to #595. That PR documented `host`/`urlPath` as a component-`config.yaml`
setting, which described the mechanism but put the routing in the wrong place: where an
application is served is a deployment concern, and a value checked into the application
cannot be remapped per environment (the env-config overlay is root-config-only).
Harper now treats the application's root-config entry as authoritative (HarperFast/harper
PR pending), so lead with that placement:
- `reference/http/overview.md` — mount an application from the root `harper-config.yaml`;
a plugin's own `urlPath` positions it within the app and the mount is prefixed onto it,
while a root-config `host` overrides one the app shipped.
- `reference/components/plugin-api.md` — scope the plugin-level options to "within the
application" and point at the root-config mount.
- `reference/operations-api/operations.md` — document `host` on `deploy_component` and
note that both it and `urlPath` are persisted to the root-config entry.
- 5.2 release notes — lead with the application mount.1 parent a352139 commit d623f45
4 files changed
Lines changed: 33 additions & 7 deletions
File tree
- reference
- components
- http
- operations-api
- release-notes/v5-lincoln
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
46 | 48 | | |
47 | 49 | | |
48 | 50 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
39 | 58 | | |
40 | 59 | | |
41 | | - | |
| 60 | + | |
42 | 61 | | |
43 | 62 | | |
44 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
45 | 66 | | |
46 | 67 | | |
47 | 68 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | | - | |
| 607 | + | |
| 608 | + | |
608 | 609 | | |
609 | 610 | | |
610 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
0 commit comments