commit | c48d5ba49705f8772aef21d42d1902d18383c793 | [log] [tgz] |
---|---|---|
author | Yifei Teng <yifeit@fuchsia.infra.roller.google.com> | Wed Feb 07 01:23:52 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Feb 06 17:25:45 2024 -0800 |
tree | 4155e7b7a61576203d58e9b2f36b68ea81313041 | |
parent | 47a8d592bc352c2af5b0e698ef97b573f76ffb94 [diff] |
[roll] Roll fuchsia [components] Use Router::into_open in serving namespace The primary motivation of this CL is to share code between the component controller and namespace serving. Router::into_open can convert a Router into an Open after specifying an appropriate Request. The component controller uses that to serve the exposed dictionary of a component. The model/namespace.rs code uses similar logic to call a Router, but that's wrapped in a much larger Open lambda since not all capabilities have been moved to bedrock. To follow the principle of component_manager using the same bedrock functionality to implement higher level functionality, this CL changes namespace serving to also use Router::into_open. Router::into_open sends open requests to an error handler so that we can run legacy routing a second time. Once bedrock routing supports all the route errors, we can remove the fallback entirely. Original-Bug: b/319542502 Original-Bug: b/322814416 Multiply: component-manager-stress-tests-short Multiply: component-manager-tests Run-All-Tests: True Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/972473 Original-Revision: 27b1e3520377ff1de8d6b197b0f98f96a640a571 GitOrigin-RevId: 4cca2d187aed09729a1c13ec22566029fbd0b7da Change-Id: I55b7e7e39b73db2aa10e228056d01ec652d1dea1
This repository contains Fuchsia's Global Integration manifest files.
All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.
Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia
on Freenode.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.