ray/dashboard/modules
shrekris-anyscale 521298e093
[serve] Make route prefix the deployment name by default (#22840)
The REST API's schema default denies HTTP access to deployments when `route_prefix` is omitted. This doesn't match `@serve.deployment`'s behavior, which make `route_prefix` the deployment's name when omitted.

This change matches the schema's behavior to the decorator. When `route_prefix` is omitted from the config, the deployment's `route_prefix` defaults to its name. When the `route_prefix` is specified as `null`, the deployment won't have HTTP access.

This change also fixes a bug in Serve where when a deployment is updated from a non-`None` `route_prefix` to a `None` `route_prefix`, its `route_prefix` does not change. This bug meant that a deployment available over HTTP would continue to be available at the same route even when deployed again with `route_prefix=None`.
2022-03-06 20:03:31 -06:00
..
actor [dashboard] Remove redis in dashboard (#22788) 2022-03-04 12:32:17 -08:00
event [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
job [Job submission] Add list_jobs API (#22679) 2022-03-01 21:27:09 -06:00
log [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
node [dashboard] Remove redis in dashboard (#22788) 2022-03-04 12:32:17 -08:00
reporter [dashboard] Remove redis in dashboard (#22788) 2022-03-04 12:32:17 -08:00
runtime_env [runtime env] Make plugin setup process that has not been refactor run in threads. (#22588) 2022-02-28 17:33:13 +08:00
serve [serve] Make route prefix the deployment name by default (#22840) 2022-03-06 20:03:31 -06:00
snapshot [runtime env][strong-typed API] Combine ParsedRuntimeEnv and RuntimeEnv into ray.runtime.RuntimeEnv (#22522) 2022-02-28 16:18:10 +08:00
test [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
tune [CI] Format Python code with Black (#21975) 2022-01-29 18:41:57 -08:00
usage_stats [Usage Stats] Implement usage stats report "Turned off by default". (#22249) 2022-02-22 15:32:02 -08:00
__init__.py [Dashboard] New dashboard skeleton (#9099) 2020-07-27 11:34:47 +08:00