| { |
| include: [ "//sdk/lib/diagnostics/syslog/client.shard.cml" ], |
| children: [ |
| { |
| name: "archivist", |
| url: "fuchsia-pkg://fuchsia.com/archive-reader-integration-tests#meta/archivist.cm", |
| }, |
| { |
| name: "driver", |
| url: "fuchsia-pkg://fuchsia.com/archive-reader-integration-tests#meta/driver.cm", |
| }, |
| ], |
| capabilities: [], |
| offer: [ |
| { |
| protocol: "fuchsia.diagnostics.ArchiveAccessor", |
| from: "#archivist", |
| to: "#driver", |
| }, |
| { |
| protocol: "fuchsia.logger.LogSink", |
| from: "parent", |
| to: [ |
| "#archivist", |
| "#driver", |
| ], |
| }, |
| { |
| protocol: "fuchsia.sys2.EventSource", |
| from: "parent", |
| to: "#archivist", |
| }, |
| { |
| event: [ |
| "running", |
| "started", |
| "stopped", |
| ], |
| from: "framework", |
| to: "#archivist", |
| modes: [ "async" ], |
| }, |
| { |
| event: "directory_ready", |
| from: "framework", |
| to: "#archivist", |
| filter: { name: "diagnostics" }, |
| modes: [ "async" ], |
| }, |
| { |
| directory: "config-data", |
| from: "parent", |
| as: "config-data", |
| to: "#archivist", |
| subdir: "archivist", |
| }, |
| ], |
| expose: [ |
| { |
| protocol: "fuchsia.test.Suite", |
| from: "#driver", |
| }, |
| ], |
| } |