| // Copyright 2023 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. |
| |
| // This realm is invalid as it does not expose fuchsia.component.Realm protocol. |
| { |
| include: [ |
| "inspect/offer.shard.cml", |
| "sys/component/realm_builder.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| children: [ |
| { |
| name: "echo_server", |
| url: "#meta/echo_server.cm", |
| }, |
| ], |
| collections: [ |
| { |
| name: "echo_test_coll", |
| environment: "#realm_builder_env", |
| durability: "transient", |
| }, |
| { |
| name: "hermetic_test_coll", |
| environment: "#realm_builder_env", |
| durability: "transient", |
| }, |
| ], |
| offer: [ |
| { |
| protocol: "fidl.examples.routing.echo.Echo", |
| from: "#echo_server", |
| to: "#echo_test_coll", |
| }, |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ "#echo_server" ], |
| }, |
| { |
| event_stream: [ "capability_requested" ], |
| from: "parent", |
| to: "#echo_test_coll", |
| scope: "#echo_test_coll", |
| }, |
| { |
| event_stream: [ "capability_requested" ], |
| from: "parent", |
| to: "#hermetic_test_coll", |
| scope: "#hermetic_test_coll", |
| }, |
| ], |
| } |