[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
1 file changed
tree: 4155e7b7a61576203d58e9b2f36b68ea81313041
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

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.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.