blob: 57888bb7a9d591741774507d9f16d345bc5b82e6 [file] [log] [blame]
// Copyright 2020 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.
// Example realm that provisions an Echo client and service and eagerly runs the client.
// There is an "intended" capability route between the client and server, but it is broken.
{
children: [
{
name: "echo_server",
url: "#meta/echo_server.cm",
},
{
name: "echo_server_bad",
url: "#meta/echo_server_bad.cm",
},
{
name: "echo_client",
url: "#meta/echo_client.cm",
},
],
offer: [
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#echo_client",
"#echo_server",
],
},
{
protocol: "fidl.examples.routing.echo.Echo.oops",
from: "#echo_server",
to: "#echo_client",
},
{
protocol: "fidl.examples.routing.echo.Echo2",
from: "#echo_server_bad",
to: "#echo_client",
},
],
}