blob: 2ec97c243bd918ceabbbb47d93aa888a016108c8 [file] [log] [blame]
// 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/namespace_capabilities_trigger",
args: [ "Triggered" ],
},
capabilities: [
{ protocol: "fidl.test.components.Trigger" },
],
use: [
{
protocol: [ "fidl.examples.routing.echo.Echo" ],
},
{
directory: "test-pkg",
rights: [ "r*" ],
path: "/test-pkg",
},
],
expose: [
{
protocol: "fidl.test.components.Trigger",
from: "self",
},
],
}