| // 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. |
| { |
| include: [ |
| "inspect/client.shard.cml", |
| "syslog/client.shard.cml", |
| ], |
| program: { |
| runner: "elf", |
| binary: "bin/archivist_test_puppet", |
| }, |
| children: [ |
| { |
| name: "nested_one", |
| url: "#meta/puppet.cm", |
| }, |
| { |
| name: "nested_two", |
| url: "#meta/puppet.cm", |
| }, |
| ], |
| capabilities: [ |
| { protocol: "fuchsia.archivist.test.Puppet" }, |
| { protocol: "fuchsia.archivist.test.InspectPuppet" }, |
| ], |
| expose: [ |
| { |
| protocol: [ |
| "fuchsia.archivist.test.InspectPuppet", |
| "fuchsia.archivist.test.Puppet", |
| ], |
| from: "self", |
| }, |
| { |
| protocol: "fuchsia.archivist.test.InspectPuppet", |
| from: "#nested_one", |
| as: "fuchsia.archivist.test.InspectPuppet.nested_one", |
| }, |
| { |
| protocol: "fuchsia.archivist.test.InspectPuppet", |
| from: "#nested_two", |
| as: "fuchsia.archivist.test.InspectPuppet.nested_two", |
| }, |
| ], |
| } |