| // Integration test realm that hosts a trigger component. |
| { |
| // Expose Trigger service from child. |
| "expose": [ |
| { |
| "protocol": "/svc/fidl.test.components.Trigger", |
| "from": "#trigger", |
| }, |
| ], |
| // Route Echo service to child. |
| "offer": [ |
| // Offer the ELF runner to children. |
| { |
| "runner": "elf", |
| "from": "realm", |
| "to": [ |
| "#trigger", |
| ] |
| }, |
| { |
| "protocol": [ |
| "/svc/fuchsia.logger.LogSink", |
| "/svc/fidl.examples.routing.echo.Echo", |
| ], |
| "from": "realm", |
| "to": [ "#trigger" ] |
| }, |
| ], |
| "children": [ |
| { |
| "name": "trigger", |
| "url": "fuchsia-pkg://fuchsia.com/collections_integration_test#meta/trigger_a.cm", |
| }, |
| ], |
| } |