blob: 9edc121ebf88e22242ab3967a9fc085f15a71961 [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 URLs
// 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/hub_integration_test#meta/echo_server.cm",
},
{
"name": "echo_client",
"url": "fuchsia-pkg://fuchsia.com/hub_integration_test#meta/echo_client.cm",
"startup": "eager",
},
],
}