blob: 3bb33dcfe1c51201d8b9df348f3dc9c4054a6f76 [file]
// Copyright 2020 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.
{
children: [
{
name: "routing-tests",
url: "fuchsia-pkg://fuchsia.com/attributed-logging-test#meta/routing-tests.cm",
startup: "eager",
},
{
name: "archivist",
url: "fuchsia-pkg://fuchsia.com/attributed-logging-test#meta/archivist-for-embedding.cm",
},
{
name: "reader",
url: "fuchsia-pkg://fuchsia.com/attributed-logging-test#meta/reader.cm",
startup: "eager",
},
],
offer: [
{
protocol: [
"fuchsia.logger.LogSink",
"fuchsia.sys2.EventSource",
],
from: "parent",
to: "#archivist",
},
{
protocol: "fuchsia.logger.LogSink",
from: "#archivist",
to: "#routing-tests",
},
// These events are not needed for the test to pass, but including them
// reduces log noise.
{
event: [
"running",
"started",
"stopped",
],
from: "framework",
to: "#archivist",
modes: [ "async" ],
},
{
event: "directory_ready",
from: "framework",
to: "#archivist",
filter: { name: "diagnostics" },
modes: [ "async" ],
},
{
event: "capability_requested",
from: "framework",
to: "#archivist",
filter: { name: "fuchsia.logger.LogSink" },
},
{
protocol: "fuchsia.diagnostics.ArchiveAccessor",
from: "#archivist",
to: "#reader",
},
],
}