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