| // Copyright 2022 The Fuchsia Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| // Integration test realm that hosts a trigger component. |
| { |
| include: [ |
| "inspect/offer.shard.cml", |
| "syslog/offer.shard.cml", |
| ], |
| children: [ |
| { |
| name: "trigger", |
| url: "#meta/trigger_a.cm", |
| }, |
| ], |
| |
| // Route Echo service to child. |
| offer: [ |
| { |
| protocol: [ "fidl.examples.routing.echo.Echo" ], |
| from: "parent", |
| to: "#trigger", |
| }, |
| ], |
| |
| // Expose Trigger service from child. |
| expose: [ |
| { |
| protocol: "fidl.test.components.Trigger", |
| from: "#trigger", |
| }, |
| ], |
| } |