blob: ff87cb5c9a01916e6c3627900e1900f62eb870c1 [file] [log] [blame]
// 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" ],
},
{
event: "capability_ready",
from: "framework",
to: [ "#archivist" ],
filter: { name: "diagnostics" },
},
{
protocol: "fuchsia.diagnostics.ArchiveAccessor",
from: "#archivist",
to: [ "#reader" ],
},
],
}