blob: 7bd5c1ea49dd370622bce62bcce16a76727b2a14 [file] [log] [blame]
// Realm for integration test that provisions an Echo client and service and eagerly runs the
// client. We don't use the routing examples's echo_realm.cml because we need the component URIs
// to refer to the test package.
{
// Route Echo service from server to client.
"offer": [
{
"service": "/svc/fidl.examples.routing.echo.Echo",
"from": "#echo_server",
"to": [
{
"dest": "#echo_client",
},
],
},
],
// Two children: a server and client. "echo_client" has "eager" startup so it
// will be started along with the realm.
"children": [
{
"name": "echo_server",
"url": "fuchsia-pkg://fuchsia.com/routing_integration_test#meta/echo_server.cm",
},
{
"name": "echo_client",
"url": "fuchsia-pkg://fuchsia.com/routing_integration_test#meta/echo_client.cm",
"startup": "eager",
},
],
}