| // 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 component that runs a Trigger service. When triggered, the |
| // component echoes a string using the Echo service and prints it. |
| { |
| include: [ "syslog/client.shard.cml" ], |
| program: { |
| runner: "elf", |
| binary: "bin/trigger", |
| args: [ |
| "Triggered", |
| "b", |
| ], |
| }, |
| capabilities: [ |
| { protocol: "fidl.test.components.Trigger" }, |
| ], |
| use: [ |
| { protocol: "fidl.examples.routing.echo.Echo" }, |
| ], |
| expose: [ |
| { |
| protocol: "fidl.test.components.Trigger", |
| from: "self", |
| }, |
| ], |
| } |