Attention needed from Owners Override
Anirudh Mathukumilli has uploaded the change for review![Open in Gerrit]()
Anirudh Mathukumilli would like Owners Override to review this change.
Commit message
[role_manager] Add fuchsia.scheduler.RoleManager routes
Adds a fuchsia.scheduler.RoleManager route wherever there is an existing
fuchsia.scheduler.ProfileProvider route, except when routing from the
ProfileProvider itself or its tests. This is the first step of a
sof-transition from the ProfileProvider to the RoleManager. Future CLs
will swap clients over to the new service and then delete the
ProfileProvider routes.
This CL was mostly auto-generated by a python script that searched for
any fuchsia.scheduler.ProfileProvider route in a CML file and added a
fuchsia.scheduler.RoleManager route. This of course does not apply to
the bootstrap.cml/core.cml/root.cml/etc. files, which required some more
custom routing rules.
I then verified the output of the script with another script that
compared the existence of both routes and printed out the differences:
```
------------------------------------------------------------------
Places that have a role manager route but no profile provider one:
------------------------------------------------------------------
./src/sys/bootstrap/meta/bootstrap.cml:1386
./src/sys/bootstrap/meta/bootstrap.cml:673
./src/sys/bootstrap/meta/bootstrap.cml:777
./src/sys/bootstrap/meta/bootstrap.cml:793
./src/zircon/bin/role_manager/meta/role_manager.cml:12
./src/zircon/bin/role_manager/meta/role_manager.cml:27
./src/zircon/bin/role_manager/testing/fake/meta/fake_role_manager.cml:12
./src/zircon/bin/role_manager/testing/fake/meta/fake_role_manager.cml:17
------------------------------------------------------------------
Places that have a profile provider route but no role manager one:
------------------------------------------------------------------
./src/bringup/bin/svchost/meta/svchost.cml:15
./src/bringup/bin/svchost/meta/svchost.cml:45
./src/sys/bootstrap/meta/bootstrap.cml:1380
./src/sys/bootstrap/meta/bootstrap.cml:663
./src/sys/bootstrap/meta/bootstrap.cml:773
./src/sys/bootstrap/meta/bootstrap.cml:785
./src/zircon/tests/profile/meta/profile-test.cml:15
```
These are all expected differences (they either are bootstrap routes,
which must be unique, or unique to either the RoleManager or
ProfileProvider services and tests). Therefore, I believe this CL
correctly routes RoleManager to any realm/component that has access to
ProfileProvider.
Bug: 323262398
Change-Id: I687c91604826ce63529b8e0af46bc0bbb6d7c8ea
Change information
Change size: L
Delta: 127 files changed, 322 insertions(+), 37 deletions(-)
Open in GerritRelated details
Attention is currently required from:
Submit Requirements:
Code-Review
Review-Enforcement
Gerrit-MessageType: newchange
Gerrit-Project: fuchsia
Gerrit-Branch: main
Gerrit-Change-Id: I687c91604826ce63529b8e0af46bc0bbb6d7c8ea
Gerrit-Change-Number: 995272
Gerrit-PatchSet: 8
You received this message because you are subscribed to the Google Groups "owners-override" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
.