blob: 6d79f38b231c9b7a78fd7c7f18187e188525aa98 [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.
{
include: [
"//sdk/lib/syslog/client.shard.cml",
"//src/sys/test_runners/rust/default.shard.cml",
"inspect/offer.shard.cml",
"sys/component/realm_builder.shard.cml",
],
program: {
binary: "bin/filtered_service_routing_test_bin",
},
children: [
{
name: "echo_provider_a",
url: "#meta/multi-instance-echo-provider.cm",
},
{
name: "echo_provider_b",
url: "#meta/multi-instance-echo-provider.cm",
},
],
collections: [
{
name: "test_collection",
durability: "transient",
allowed_offers: "static_and_dynamic",
},
],
capabilities: [
{ service: "fuchsia.examples.EchoService" },
],
use: [
// Needed to create children
{
protocol: "fuchsia.component.Realm",
from: "framework",
},
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#echo_provider_a",
"#echo_provider_b",
"#test_collection",
],
},
],
}