blob: ce01d9eeed7af12c5876e1cda5067fd3b5b7f5dd [file] [log] [blame]
{
include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ],
program: {
runner: "elf",
binary: "bin/storage_realm_coll",
},
children: [
{
name: "memfs",
url: "fuchsia-pkg://fuchsia.com/storage_integration_test#meta/memfs.cm",
startup: "eager",
},
],
collections: [
{
name: "coll",
durability: "transient",
},
],
capabilities: [
{
storage: "data",
from: "#memfs",
backing_dir: "memfs",
storage_id: "static_instance_id_or_moniker",
},
],
use: [
{
protocol: "fuchsia.sys2.Realm",
from: "framework",
},
{
protocol: "fuchsia.sys2.EventSource",
from: "parent",
},
{
event: [
"destroyed",
"stopped",
],
from: "framework",
modes: [ "async" ],
},
{
event_stream: "TestEventStream",
subscriptions: [
{
event: "stopped",
mode: "async",
},
{
event: "destroyed",
mode: "async",
},
],
},
{
directory: "hub",
from: "framework",
rights: [ "r*" ],
path: "/hub",
},
],
offer: [
{
storage: "data",
from: "self",
to: "#coll",
},
{
directory: "memfs",
from: "#memfs",
to: "#coll",
},
{
protocol: "fuchsia.logger.LogSink",
from: "parent",
to: [
"#coll",
"#memfs",
],
},
],
}