From e8db82f7b318d9d411204d159754c2eec7cbb5d4 Mon Sep 17 00:00:00 2001 From: Rafael Almeida Date: Fri, 8 Mar 2024 11:56:34 +1300 Subject: [PATCH] chore test snapshot updates --- ...t-func1-1-1-aquaBroker-KnownEventListeners | 13 ++ ...roker-init-func1-1-1-aquaBroker-KnownNodes | 5 + ...ker-init-func1-1-1-soundsBroker-KnownNodes | 3 + ...soundsBroker-Stopped-aquaBroker-KnownNodes | 6 + ...undsBroker-Stopped-visualBroker-KnownNodes | 6 + ...-func1-1-1-stormBroker-KnownEventListeners | 16 ++ ...oker-init-func1-1-1-stormBroker-KnownNodes | 6 + ...-stormBroker-stopped-aquaBroker-KnownNodes | 6 + ...tormBroker-stopped-soundsBroker-KnownNodes | 6 + ...tormBroker-stopped-visualBroker-KnownNodes | 6 + ...ker-init-func1-1-1-visualBroker-KnownNodes | 4 + .../payload_test-init-func1-1-Remove() | 1 + .../payload_test-init-func1-2-Bson() | 6 + .../payload_test-init-func1-3-Add() | 1 + ...yload_test-init-func1-4-CustomMap()-Bson() | 16 ++ ...oad_test-init-func1-4-CustomMap()-RawMap() | 16 ++ .../payload_test-init-func1-5-Bson-values | 16 ++ .../payload_test-init-func1-7-RawMap() | 51 +++++ .../payload_test-init-func1-8-Only() | 1 + ..._test-init-func1-9-PayloadError() .Error() | 1 + ...nit-func1-9-PayloadError() .ErrorPayload() | 1 + ...nc3-1-1-1-all-false-$node.actionscpuBroker | 65 ++++++ ...1-1-1-all-false-$node.actionsprinterBroker | 51 +++++ ...1-1-1-all-false-$node.actionsscannerBroker | 58 +++++ ...unc3-1-1-1-all-false-$node.eventscpuBroker | 6 + ...-1-1-1-all-false-$node.eventsprinterBroker | 6 + ...-1-1-1-all-false-$node.eventsscannerBroker | 6 + ...c3-1-1-1-all-false-$node.servicescpuBroker | 50 +++++ ...-1-1-all-false-$node.servicesprinterBroker | 30 +++ ...-1-1-all-false-$node.servicesscannerBroker | 40 ++++ ...unc3-1-1-1-all-true-$node.actionscpuBroker | 30 +++ ...-1-1-1-all-true-$node.actionsprinterBroker | 23 ++ ...-1-1-1-all-true-$node.actionsscannerBroker | 23 ++ ...func3-1-1-1-all-true-$node.eventscpuBroker | 6 + ...3-1-1-1-all-true-$node.eventsprinterBroker | 6 + ...3-1-1-1-all-true-$node.eventsscannerBroker | 6 + ...nc3-1-1-1-all-true-$node.servicescpuBroker | 70 ++++++ ...1-1-1-all-true-$node.servicesprinterBroker | 40 ++++ ...1-1-1-all-true-$node.servicesscannerBroker | 40 ++++ ...unc3-1-1-1-no-services-$node.listcpuBroker | 56 +++++ ...-1-1-1-no-services-$node.listprinterBroker | 22 ++ ...-1-1-1-no-services-$node.listscannerBroker | 39 ++++ ...1-1-1-onlyAvailable-$node.actionscpuBroker | 65 ++++++ ...1-onlyAvailable-$node.actionsprinterBroker | 51 +++++ ...1-onlyAvailable-$node.actionsscannerBroker | 58 +++++ ...-1-1-onlyAvailable-$node.servicescpuBroker | 50 +++++ ...-onlyAvailable-$node.servicesprinterBroker | 30 +++ ...-onlyAvailable-$node.servicesscannerBroker | 40 ++++ ...nc3-1-1-1-onlyLocal-$node.actionscpuBroker | 58 +++++ ...1-1-1-onlyLocal-$node.actionsprinterBroker | 51 +++++ ...1-1-1-onlyLocal-$node.actionsscannerBroker | 51 +++++ ...c3-1-1-1-onlyLocal-$node.servicescpuBroker | 40 ++++ ...-1-1-onlyLocal-$node.servicesprinterBroker | 30 +++ ...-1-1-onlyLocal-$node.servicesscannerBroker | 30 +++ ...-1-1-1-skipInternal-$node.actionscpuBroker | 37 ++++ ...-1-skipInternal-$node.actionsprinterBroker | 23 ++ ...-1-skipInternal-$node.actionsscannerBroker | 30 +++ ...1-1-1-skipInternal-$node.servicescpuBroker | 40 ++++ ...1-skipInternal-$node.servicesprinterBroker | 20 ++ ...1-skipInternal-$node.servicesscannerBroker | 30 +++ ...c3-1-1-1-with-services-$node.listcpuBroker | 199 ++++++++++++++++++ ...-1-1-with-services-$node.listprinterBroker | 96 +++++++++ ...-1-1-with-services-$node.listscannerBroker | 138 ++++++++++++ ...-1-1-1-withActions-$node.servicescpuBroker | 112 ++++++++++ ...-1-withActions-$node.servicesprinterBroker | 76 +++++++ ...-1-withActions-$node.servicesscannerBroker | 94 +++++++++ ...1-1-1-withEndpoints-$node.actionscpuBroker | 65 ++++++ ...1-withEndpoints-$node.actionsprinterBroker | 51 +++++ ...1-withEndpoints-$node.actionsscannerBroker | 58 +++++ ...-1-1-withEndpoints-$node.servicescpuBroker | 86 ++++++++ ...-withEndpoints-$node.servicesprinterBroker | 42 ++++ ...-withEndpoints-$node.servicesscannerBroker | 62 ++++++ ...3-1-1-1-withEvents-$node.servicescpuBroker | 66 ++++++ ...1-1-withEvents-$node.servicesprinterBroker | 38 ++++ ...1-1-withEvents-$node.servicesscannerBroker | 54 +++++ .../serializer_test-init-func1-1-Remove() | 4 + .../serializer_test-init-func1-2-Bson() | 6 + .../serializer_test-init-func1-3-Add() | 8 + .../serializer_test-init-func1-4-RawMap() | 24 +++ service/.snapshots/service-init-func19-12 | 88 ++++++++ service/.snapshots/service-init-func19-34 | 72 +++++++ service/.snapshots/service-init-func19-7 | 16 ++ service/.snapshots/service-init-func19-8 | 12 ++ 83 files changed, 3061 insertions(+) create mode 100644 broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownEventListeners create mode 100644 broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-soundsBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-aquaBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-visualBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownEventListeners create mode 100644 broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-aquaBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-soundsBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-visualBroker-KnownNodes create mode 100644 broker/.snapshots/broker-init-func1-1-1-visualBroker-KnownNodes create mode 100644 payload/.snapshots/payload_test-init-func1-1-Remove() create mode 100644 payload/.snapshots/payload_test-init-func1-2-Bson() create mode 100644 payload/.snapshots/payload_test-init-func1-3-Add() create mode 100644 payload/.snapshots/payload_test-init-func1-4-CustomMap()-Bson() create mode 100644 payload/.snapshots/payload_test-init-func1-4-CustomMap()-RawMap() create mode 100644 payload/.snapshots/payload_test-init-func1-5-Bson-values create mode 100644 payload/.snapshots/payload_test-init-func1-7-RawMap() create mode 100644 payload/.snapshots/payload_test-init-func1-8-Only() create mode 100644 payload/.snapshots/payload_test-init-func1-9-PayloadError() .Error() create mode 100644 payload/.snapshots/payload_test-init-func1-9-PayloadError() .ErrorPayload() create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listcpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listcpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionscpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesscannerBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicescpuBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesprinterBroker create mode 100644 registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesscannerBroker create mode 100644 serializer/.snapshots/serializer_test-init-func1-1-Remove() create mode 100644 serializer/.snapshots/serializer_test-init-func1-2-Bson() create mode 100644 serializer/.snapshots/serializer_test-init-func1-3-Add() create mode 100644 serializer/.snapshots/serializer_test-init-func1-4-RawMap() create mode 100644 service/.snapshots/service-init-func19-12 create mode 100644 service/.snapshots/service-init-func19-34 create mode 100644 service/.snapshots/service-init-func19-7 create mode 100644 service/.snapshots/service-init-func19-8 diff --git a/broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownEventListeners b/broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownEventListeners new file mode 100644 index 00000000..edd5628c --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownEventListeners @@ -0,0 +1,13 @@ +([]string) (len=11) { + (string) (len=24) "AquaBroker.vj.music.tone", + (string) (len=25) "AquaBroker.vj.music.verse", + (string) (len=26) "AquaBroker.vj.music.chorus", + (string) (len=26) "SoundsBroker.dj.music.tone", + (string) (len=26) "VisualBroker.vj.music.tone", + (string) (len=27) "SoundsBroker.dj.music.verse", + (string) (len=27) "VisualBroker.vj.music.verse", + (string) (len=28) "SoundsBroker.dj.music.chorus", + (string) (len=28) "VisualBroker.vj.music.chorus", + (string) (len=30) "SoundsBroker.music.music.verse", + (string) (len=31) "SoundsBroker.music.music.chorus" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownNodes new file mode 100644 index 00000000..8861e740 --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-aquaBroker-KnownNodes @@ -0,0 +1,5 @@ +([]string) (len=3) { + (string) (len=10) "AquaBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-soundsBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-soundsBroker-KnownNodes new file mode 100644 index 00000000..6fce9f48 --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-soundsBroker-KnownNodes @@ -0,0 +1,3 @@ +([]string) (len=1) { + (string) (len=12) "SoundsBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-aquaBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-aquaBroker-KnownNodes new file mode 100644 index 00000000..1ccf36bb --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-aquaBroker-KnownNodes @@ -0,0 +1,6 @@ +([]string) (len=4) { + (string) (len=10) "AquaBroker", + (string) (len=11) "StormBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-visualBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-visualBroker-KnownNodes new file mode 100644 index 00000000..1ccf36bb --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-soundsBroker-Stopped-visualBroker-KnownNodes @@ -0,0 +1,6 @@ +([]string) (len=4) { + (string) (len=10) "AquaBroker", + (string) (len=11) "StormBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownEventListeners b/broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownEventListeners new file mode 100644 index 00000000..2ca05b1c --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownEventListeners @@ -0,0 +1,16 @@ +([]string) (len=14) { + (string) (len=24) "AquaBroker.vj.music.tone", + (string) (len=25) "AquaBroker.vj.music.verse", + (string) (len=25) "StormBroker.dj.music.tone", + (string) (len=26) "AquaBroker.vj.music.chorus", + (string) (len=26) "SoundsBroker.dj.music.tone", + (string) (len=26) "StormBroker.dj.music.verse", + (string) (len=26) "VisualBroker.vj.music.tone", + (string) (len=27) "SoundsBroker.dj.music.verse", + (string) (len=27) "StormBroker.dj.music.chorus", + (string) (len=27) "VisualBroker.vj.music.verse", + (string) (len=28) "SoundsBroker.dj.music.chorus", + (string) (len=28) "VisualBroker.vj.music.chorus", + (string) (len=30) "SoundsBroker.music.music.verse", + (string) (len=31) "SoundsBroker.music.music.chorus" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownNodes new file mode 100644 index 00000000..1ccf36bb --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-stormBroker-KnownNodes @@ -0,0 +1,6 @@ +([]string) (len=4) { + (string) (len=10) "AquaBroker", + (string) (len=11) "StormBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-aquaBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-aquaBroker-KnownNodes new file mode 100644 index 00000000..1ccf36bb --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-aquaBroker-KnownNodes @@ -0,0 +1,6 @@ +([]string) (len=4) { + (string) (len=10) "AquaBroker", + (string) (len=11) "StormBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-soundsBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-soundsBroker-KnownNodes new file mode 100644 index 00000000..1ccf36bb --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-soundsBroker-KnownNodes @@ -0,0 +1,6 @@ +([]string) (len=4) { + (string) (len=10) "AquaBroker", + (string) (len=11) "StormBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-visualBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-visualBroker-KnownNodes new file mode 100644 index 00000000..1ccf36bb --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-stormBroker-stopped-visualBroker-KnownNodes @@ -0,0 +1,6 @@ +([]string) (len=4) { + (string) (len=10) "AquaBroker", + (string) (len=11) "StormBroker", + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/broker/.snapshots/broker-init-func1-1-1-visualBroker-KnownNodes b/broker/.snapshots/broker-init-func1-1-1-visualBroker-KnownNodes new file mode 100644 index 00000000..efb95d0d --- /dev/null +++ b/broker/.snapshots/broker-init-func1-1-1-visualBroker-KnownNodes @@ -0,0 +1,4 @@ +([]string) (len=2) { + (string) (len=12) "SoundsBroker", + (string) (len=12) "VisualBroker" +} diff --git a/payload/.snapshots/payload_test-init-func1-1-Remove() b/payload/.snapshots/payload_test-init-func1-1-Remove() new file mode 100644 index 00000000..d20fbd4f --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-1-Remove() @@ -0,0 +1 @@ +(*payload.RawPayload)(map[faction:Stark lastname:Snow]) diff --git a/payload/.snapshots/payload_test-init-func1-2-Bson() b/payload/.snapshots/payload_test-init-func1-2-Bson() new file mode 100644 index 00000000..cd5e14c9 --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-2-Bson() @@ -0,0 +1,6 @@ +(primitive.M) (len=4) { + (string) (len=4) "name": (string) (len=4) "John", + (string) (len=6) "Winter": (string) (len=10) "is coming!", + (string) (len=7) "faction": (string) (len=5) "Stark", + (string) (len=8) "lastname": (string) (len=4) "Snow" +} diff --git a/payload/.snapshots/payload_test-init-func1-3-Add() b/payload/.snapshots/payload_test-init-func1-3-Add() new file mode 100644 index 00000000..35bf2cd7 --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-3-Add() @@ -0,0 +1 @@ +(*payload.RawPayload)(map[Winter:is coming! faction:Stark lastname:Snow name:John page:1 pageSize:15]) diff --git a/payload/.snapshots/payload_test-init-func1-4-CustomMap()-Bson() b/payload/.snapshots/payload_test-init-func1-4-CustomMap()-Bson() new file mode 100644 index 00000000..52397ac3 --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-4-CustomMap()-Bson() @@ -0,0 +1,16 @@ +(primitive.M) (len=3) { + (string) (len=3) "sub": (primitive.M) (len=3) { + (string) (len=3) "sub": (primitive.M) (len=1) { + (string) (len=5) "level": (int) 2 + }, + (string) (len=5) "level": (int) 1, + (string) (len=7) "subList": (primitive.A) (len=1) { + (primitive.M) (len=2) { + (string) (len=4) "name": (string) (len=28) "sub item inside custom array", + (string) (len=5) "level": (int) 3 + } + } + }, + (string) (len=4) "name": (string) (len=4) "John", + (string) (len=8) "lastname": (string) (len=4) "Snow" +} diff --git a/payload/.snapshots/payload_test-init-func1-4-CustomMap()-RawMap() b/payload/.snapshots/payload_test-init-func1-4-CustomMap()-RawMap() new file mode 100644 index 00000000..0cd3bee8 --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-4-CustomMap()-RawMap() @@ -0,0 +1,16 @@ +(map[string]interface {}) (len=3) { + (string) (len=3) "sub": (payload_test.customMap) (len=3) { + (string) (len=3) "sub": (payload_test.customMap) (len=1) { + (string) (len=5) "level": (int) 2 + }, + (string) (len=5) "level": (int) 1, + (string) (len=7) "subList": (payload_test.customArray) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=28) "sub item inside custom array", + (string) (len=5) "level": (int) 3 + } + } + }, + (string) (len=4) "name": (string) (len=4) "John", + (string) (len=8) "lastname": (string) (len=4) "Snow" +} diff --git a/payload/.snapshots/payload_test-init-func1-5-Bson-values b/payload/.snapshots/payload_test-init-func1-5-Bson-values new file mode 100644 index 00000000..d844d9eb --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-5-Bson-values @@ -0,0 +1,16 @@ +(primitive.M) (len=3) { + (string) (len=3) "sub": (primitive.M) (len=3) { + (string) (len=3) "sub": (primitive.M) (len=1) { + (string) (len=5) "level": (int) 2 + }, + (string) (len=5) "level": (int) 1, + (string) (len=7) "subList": ([]primitive.M) (len=1) { + (primitive.M) (len=2) { + (string) (len=4) "name": (string) (len=28) "sub item inside custom array", + (string) (len=5) "level": (int) 3 + } + } + }, + (string) (len=4) "name": (string) (len=4) "John", + (string) (len=8) "lastname": (string) (len=4) "Snow" +} diff --git a/payload/.snapshots/payload_test-init-func1-7-RawMap() b/payload/.snapshots/payload_test-init-func1-7-RawMap() new file mode 100644 index 00000000..c18ae3c9 --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-7-RawMap() @@ -0,0 +1,51 @@ +(map[string]interface {}) (len=14) { + (string) (len=10) "int64Array": ([]int64) (len=3) { + (int64) 100, + (int64) 200, + (int64) 300 + }, + (string) (len=10) "valueArray": ([]interface {}) (len=3) { + (float64) 25.5, + (int) 20, + (string) (len=6) "value1" + }, + (string) (len=11) "stringArray": ([]string) (len=3) { + (string) (len=6) "value1", + (string) (len=6) "value2", + (string) (len=6) "value3" + }, + (string) (len=12) "float32Array": ([]float32) (len=3) { + (float32) 100.45, + (float32) 200.56, + (float32) 300.67 + }, + (string) (len=12) "float64Array": ([]float64) (len=3) { + (float64) 100.45, + (float64) 200.56, + (float64) 300.67 + }, + (string) (len=3) "int": (int) 12345678910, + (string) (len=3) "map": (map[string]string) (len=2) { + (string) (len=4) "sub1": (string) (len=10) "value-sub1", + (string) (len=4) "sub2": (string) (len=10) "value-sub2" + }, + (string) (len=5) "int64": (int64) 345356436, + (string) (len=6) "string": (string) (len=13) "Hellow Night!", + (string) (len=7) "float32": (float32) 3.4535645e+08, + (string) (len=7) "float64": (float64) 3.453564365623453e+08, + (string) (len=8) "intArray": ([]int) (len=3) { + (int) 10, + (int) 20, + (int) 30 + }, + (string) (len=9) "boolArray": ([]bool) (len=3) { + (bool) false, + (bool) true, + (bool) true + }, + (string) (len=9) "uintArray": ([]uint64) (len=3) { + (uint64) 1000, + (uint64) 2000, + (uint64) 3000 + } +} diff --git a/payload/.snapshots/payload_test-init-func1-8-Only() b/payload/.snapshots/payload_test-init-func1-8-Only() new file mode 100644 index 00000000..88d4c56c --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-8-Only() @@ -0,0 +1 @@ +(*payload.RawPayload)(map[Winter:is coming!]) diff --git a/payload/.snapshots/payload_test-init-func1-9-PayloadError() .Error() b/payload/.snapshots/payload_test-init-func1-9-PayloadError() .Error() new file mode 100644 index 00000000..d8b791c2 --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-9-PayloadError() .Error() @@ -0,0 +1 @@ +(payload.payloadError) Custom error message diff --git a/payload/.snapshots/payload_test-init-func1-9-PayloadError() .ErrorPayload() b/payload/.snapshots/payload_test-init-func1-9-PayloadError() .ErrorPayload() new file mode 100644 index 00000000..1c150f8c --- /dev/null +++ b/payload/.snapshots/payload_test-init-func1-9-PayloadError() .ErrorPayload() @@ -0,0 +1 @@ +(*payload.RawPayload)(map[code:12321321 root_Cause:root cause description]) diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionscpuBroker new file mode 100644 index 00000000..80aa4f4b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionscpuBroker @@ -0,0 +1,65 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsprinterBroker new file mode 100644 index 00000000..30521cf1 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsprinterBroker @@ -0,0 +1,51 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsscannerBroker new file mode 100644 index 00000000..1a3da62f --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.actionsscannerBroker @@ -0,0 +1,58 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventscpuBroker new file mode 100644 index 00000000..ad967125 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventscpuBroker @@ -0,0 +1,6 @@ +([][]map[string]interface {}) (len=2) { + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsprinterBroker new file mode 100644 index 00000000..ad967125 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsprinterBroker @@ -0,0 +1,6 @@ +([][]map[string]interface {}) (len=2) { + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsscannerBroker new file mode 100644 index 00000000..ad967125 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.eventsscannerBroker @@ -0,0 +1,6 @@ +([][]map[string]interface {}) (len=2) { + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicescpuBroker new file mode 100644 index 00000000..284a676f --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicescpuBroker @@ -0,0 +1,50 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesprinterBroker new file mode 100644 index 00000000..54440e4b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesprinterBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesscannerBroker new file mode 100644 index 00000000..16247c90 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-false-$node.servicesscannerBroker @@ -0,0 +1,40 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionscpuBroker new file mode 100644 index 00000000..1a18f1d5 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionscpuBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsprinterBroker new file mode 100644 index 00000000..9c252e5b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsprinterBroker @@ -0,0 +1,23 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsscannerBroker new file mode 100644 index 00000000..f29bcfd5 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.actionsscannerBroker @@ -0,0 +1,23 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventscpuBroker new file mode 100644 index 00000000..ad967125 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventscpuBroker @@ -0,0 +1,6 @@ +([][]map[string]interface {}) (len=2) { + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsprinterBroker new file mode 100644 index 00000000..ad967125 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsprinterBroker @@ -0,0 +1,6 @@ +([][]map[string]interface {}) (len=2) { + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsscannerBroker new file mode 100644 index 00000000..ad967125 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.eventsscannerBroker @@ -0,0 +1,6 @@ +([][]map[string]interface {}) (len=2) { + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicescpuBroker new file mode 100644 index 00000000..82401a23 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicescpuBroker @@ -0,0 +1,70 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=9) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=11) "cpu.compute": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "compute" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=9) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=2) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=9) "available": (bool) true + }, + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesprinterBroker new file mode 100644 index 00000000..874b0fe8 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesprinterBroker @@ -0,0 +1,40 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=9) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesscannerBroker new file mode 100644 index 00000000..d328a794 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-all-true-$node.servicesscannerBroker @@ -0,0 +1,40 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=9) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "scanned": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "scanned", + (string) (len=5) "group": (string) (len=7) "scanner" + } + }, + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=12) "scanner.scan": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "scan" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listcpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listcpuBroker new file mode 100644 index 00000000..8104e041 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listcpuBroker @@ -0,0 +1,56 @@ +(map[string]map[string]interface {}) (len=3) { + (string) (len=13) "nodeCpuBroker": (map[string]interface {}) (len=9) { + (string) (len=2) "id": (string) (len=14) "node_cpuBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodePrinterBroker": (map[string]interface {}) (len=9) { + (string) (len=2) "id": (string) (len=18) "node_printerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodeScannerBroker": (map[string]interface {}) (len=9) { + (string) (len=2) "id": (string) (len=18) "node_scannerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listprinterBroker new file mode 100644 index 00000000..2d00ad71 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listprinterBroker @@ -0,0 +1,22 @@ +(map[string]map[string]interface {}) (len=3) { + (string) (len=13) "nodeCpuBroker": (map[string]interface {}) , + (string) (len=17) "nodePrinterBroker": (map[string]interface {}) (len=9) { + (string) (len=2) "id": (string) (len=18) "node_printerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodeScannerBroker": (map[string]interface {}) +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listscannerBroker new file mode 100644 index 00000000..72837a71 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-no-services-$node.listscannerBroker @@ -0,0 +1,39 @@ +(map[string]map[string]interface {}) (len=3) { + (string) (len=13) "nodeCpuBroker": (map[string]interface {}) , + (string) (len=17) "nodePrinterBroker": (map[string]interface {}) (len=9) { + (string) (len=2) "id": (string) (len=18) "node_printerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodeScannerBroker": (map[string]interface {}) (len=9) { + (string) (len=2) "id": (string) (len=18) "node_scannerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionscpuBroker new file mode 100644 index 00000000..80aa4f4b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionscpuBroker @@ -0,0 +1,65 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsprinterBroker new file mode 100644 index 00000000..30521cf1 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsprinterBroker @@ -0,0 +1,51 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsscannerBroker new file mode 100644 index 00000000..1a3da62f --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.actionsscannerBroker @@ -0,0 +1,58 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicescpuBroker new file mode 100644 index 00000000..284a676f --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicescpuBroker @@ -0,0 +1,50 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesprinterBroker new file mode 100644 index 00000000..54440e4b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesprinterBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesscannerBroker new file mode 100644 index 00000000..16247c90 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyAvailable-$node.servicesscannerBroker @@ -0,0 +1,40 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionscpuBroker new file mode 100644 index 00000000..74e552c2 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionscpuBroker @@ -0,0 +1,58 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsprinterBroker new file mode 100644 index 00000000..30521cf1 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsprinterBroker @@ -0,0 +1,51 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsscannerBroker new file mode 100644 index 00000000..84666b26 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.actionsscannerBroker @@ -0,0 +1,51 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicescpuBroker new file mode 100644 index 00000000..aafcceb6 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicescpuBroker @@ -0,0 +1,40 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesprinterBroker new file mode 100644 index 00000000..54440e4b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesprinterBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesscannerBroker new file mode 100644 index 00000000..0ec3917a --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-onlyLocal-$node.servicesscannerBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionscpuBroker new file mode 100644 index 00000000..855cfbae --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionscpuBroker @@ -0,0 +1,37 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsprinterBroker new file mode 100644 index 00000000..2f68ebe2 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsprinterBroker @@ -0,0 +1,23 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsscannerBroker new file mode 100644 index 00000000..60d7ef81 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.actionsscannerBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) false + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicescpuBroker new file mode 100644 index 00000000..51bf8569 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicescpuBroker @@ -0,0 +1,40 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesprinterBroker new file mode 100644 index 00000000..a95c1c18 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesprinterBroker @@ -0,0 +1,20 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesscannerBroker new file mode 100644 index 00000000..e9159f04 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-skipInternal-$node.servicesscannerBroker @@ -0,0 +1,30 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=6) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listcpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listcpuBroker new file mode 100644 index 00000000..c49a99f5 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listcpuBroker @@ -0,0 +1,199 @@ +(map[string]map[string]interface {}) (len=3) { + (string) (len=13) "nodeCpuBroker": (map[string]interface {}) (len=10) { + (string) (len=2) "id": (string) (len=14) "node_cpuBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "services": ([]map[string]interface {}) (len=3) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=11) "cpu.compute": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "compute" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + }, + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=6) { + (string) (len=10) "$node.list": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "list" + }, + (string) (len=12) "$node.events": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "events" + }, + (string) (len=12) "$node.health": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.health", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "health" + }, + (string) (len=13) "$node.actions": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "actions" + }, + (string) (len=13) "$node.options": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.options", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "options" + }, + (string) (len=14) "$node.services": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=8) "services" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + }, + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + } + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodePrinterBroker": (map[string]interface {}) (len=10) { + (string) (len=2) "id": (string) (len=18) "node_printerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "services": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=7) "actions": (map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + } + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodeScannerBroker": (map[string]interface {}) (len=10) { + (string) (len=2) "id": (string) (len=18) "node_scannerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "services": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=6) "events": (map[string]interface {}) (len=1) { + (string) (len=7) "scanned": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "scanned", + (string) (len=5) "group": (string) (len=7) "scanner" + } + }, + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=7) "actions": (map[string]interface {}) (len=1) { + (string) (len=12) "scanner.scan": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "scan" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + } + }, + (string) (len=9) "available": (bool) true + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listprinterBroker new file mode 100644 index 00000000..edb3502e --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listprinterBroker @@ -0,0 +1,96 @@ +(map[string]map[string]interface {}) (len=3) { + (string) (len=13) "nodeCpuBroker": (map[string]interface {}) , + (string) (len=17) "nodePrinterBroker": (map[string]interface {}) (len=10) { + (string) (len=2) "id": (string) (len=18) "node_printerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "services": ([]map[string]interface {}) (len=2) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=6) { + (string) (len=10) "$node.list": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "list" + }, + (string) (len=12) "$node.events": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "events" + }, + (string) (len=12) "$node.health": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.health", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "health" + }, + (string) (len=13) "$node.actions": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "actions" + }, + (string) (len=13) "$node.options": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.options", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "options" + }, + (string) (len=14) "$node.services": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=8) "services" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + }, + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + } + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodeScannerBroker": (map[string]interface {}) +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listscannerBroker new file mode 100644 index 00000000..25d21167 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-with-services-$node.listscannerBroker @@ -0,0 +1,138 @@ +(map[string]map[string]interface {}) (len=3) { + (string) (len=13) "nodeCpuBroker": (map[string]interface {}) , + (string) (len=17) "nodePrinterBroker": (map[string]interface {}) (len=10) { + (string) (len=2) "id": (string) (len=18) "node_printerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "services": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=7) "actions": (map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + } + }, + (string) (len=9) "available": (bool) true + }, + (string) (len=17) "nodeScannerBroker": (map[string]interface {}) (len=10) { + (string) (len=2) "id": (string) (len=18) "node_scannerBroker", + (string) (len=3) "cpu": (int64) 0, + (string) (len=3) "seq": (string) (len=7) "removed", + (string) (len=6) "client": (map[string]interface {}) (len=3) { + (string) (len=11) "langVersion": (string) (len=3) "1.5", + (string) (len=4) "type": (string) (len=12) "moleculer-go", + (string) (len=7) "version": (string) (len=5) "0.1.0" + }, + (string) (len=6) "cpuSeq": (int64) 0, + (string) (len=6) "ipList": ([]string) (len=1) { + (string) (len=13) "100.100.0.100" + }, + (string) (len=8) "hostname": (string) (len=7) "removed", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "services": ([]map[string]interface {}) (len=2) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=6) { + (string) (len=10) "$node.list": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "list" + }, + (string) (len=12) "$node.events": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "events" + }, + (string) (len=12) "$node.health": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.health", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "health" + }, + (string) (len=13) "$node.actions": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "actions" + }, + (string) (len=13) "$node.options": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.options", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "options" + }, + (string) (len=14) "$node.services": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=8) "services" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + }, + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "scanned": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "scanned", + (string) (len=5) "group": (string) (len=7) "scanner" + } + }, + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=12) "scanner.scan": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "scan" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + } + } + }, + (string) (len=9) "available": (bool) true + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicescpuBroker new file mode 100644 index 00000000..a80c8668 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicescpuBroker @@ -0,0 +1,112 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=11) "cpu.compute": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "compute" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=6) { + (string) (len=10) "$node.list": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "list" + }, + (string) (len=12) "$node.events": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "events" + }, + (string) (len=12) "$node.health": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.health", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "health" + }, + (string) (len=13) "$node.actions": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "actions" + }, + (string) (len=13) "$node.options": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.options", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "options" + }, + (string) (len=14) "$node.services": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=8) "services" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=12) "scanner.scan": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "scan" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesprinterBroker new file mode 100644 index 00000000..07a3ca87 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesprinterBroker @@ -0,0 +1,76 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=6) { + (string) (len=10) "$node.list": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "list" + }, + (string) (len=12) "$node.events": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "events" + }, + (string) (len=12) "$node.health": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.health", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "health" + }, + (string) (len=13) "$node.actions": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "actions" + }, + (string) (len=13) "$node.options": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.options", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "options" + }, + (string) (len=14) "$node.services": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=8) "services" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesscannerBroker new file mode 100644 index 00000000..e69b127e --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withActions-$node.servicesscannerBroker @@ -0,0 +1,94 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=6) { + (string) (len=10) "$node.list": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "list" + }, + (string) (len=12) "$node.events": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "events" + }, + (string) (len=12) "$node.health": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "$node.health", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=6) "health" + }, + (string) (len=13) "$node.actions": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "actions" + }, + (string) (len=13) "$node.options": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "$node.options", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=7) "options" + }, + (string) (len=14) "$node.services": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=8) "services" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=13) "printer.print": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=5) "print" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "actions": (map[string]map[string]interface {}) (len=1) { + (string) (len=12) "scanner.scan": (map[string]interface {}) (len=3) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=6) "params": (map[string]interface {}) { + }, + (string) (len=7) "rawName": (string) (len=4) "scan" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionscpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionscpuBroker new file mode 100644 index 00000000..7d5ad22e --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionscpuBroker @@ -0,0 +1,65 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=11) "cpu.compute", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsprinterBroker new file mode 100644 index 00000000..0fb63b5e --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsprinterBroker @@ -0,0 +1,51 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsscannerBroker new file mode 100644 index 00000000..2ae52a1f --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.actionsscannerBroker @@ -0,0 +1,58 @@ +([][]map[string]interface {}) (len=7) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=10) "$node.list", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "$node.events", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=12) "scanner.scan", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "$node.actions", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=13) "printer.print", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=5) { + (string) (len=4) "name": (string) (len=14) "$node.services", + (string) (len=5) "count": (string) (len=7) "removed", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicescpuBroker new file mode 100644 index 00000000..7f654a4e --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicescpuBroker @@ -0,0 +1,86 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=3) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=9) "available": (bool) true + }, + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + }, + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=2) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=14) "node_cpuBroker", + (string) (len=9) "available": (bool) true + }, + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=9) "available": (bool) true + } + } + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesprinterBroker new file mode 100644 index 00000000..2df5a45a --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesprinterBroker @@ -0,0 +1,42 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesscannerBroker new file mode 100644 index 00000000..8a062a51 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEndpoints-$node.servicesscannerBroker @@ -0,0 +1,62 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=2) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + }, + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_printerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true, + (string) (len=9) "endpoints": ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=2) { + (string) (len=6) "nodeID": (string) (len=18) "node_scannerBroker", + (string) (len=9) "available": (bool) true + } + } + } + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicescpuBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicescpuBroker new file mode 100644 index 00000000..37e5e44b --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicescpuBroker @@ -0,0 +1,66 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=3) "cpu", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "scanned": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "scanned", + (string) (len=5) "group": (string) (len=7) "scanner" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesprinterBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesprinterBroker new file mode 100644 index 00000000..ea439a0e --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesprinterBroker @@ -0,0 +1,38 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + }, + ([]map[string]interface {}) { + } +} diff --git a/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesscannerBroker b/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesscannerBroker new file mode 100644 index 00000000..e69fd849 --- /dev/null +++ b/registry/.snapshots/registry_test-init-func3-1-1-1-withEvents-$node.servicesscannerBroker @@ -0,0 +1,54 @@ +([][]map[string]interface {}) (len=4) { + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=5) "$node", + (string) (len=6) "events": (map[string]map[string]interface {}) { + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "printer", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "printed": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "printed", + (string) (len=5) "group": (string) (len=7) "printer" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) false, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) (len=1) { + (map[string]interface {}) (len=7) { + (string) (len=4) "name": (string) (len=7) "scanner", + (string) (len=6) "events": (map[string]map[string]interface {}) (len=1) { + (string) (len=7) "scanned": (map[string]interface {}) (len=2) { + (string) (len=4) "name": (string) (len=7) "scanned", + (string) (len=5) "group": (string) (len=7) "scanner" + } + }, + (string) (len=7) "version": (string) "", + (string) (len=8) "hasLocal": (bool) true, + (string) (len=8) "metadata": (map[string]interface {}) { + }, + (string) (len=8) "settings": (map[string]interface {}) { + }, + (string) (len=9) "available": (bool) true + } + }, + ([]map[string]interface {}) { + } +} diff --git a/serializer/.snapshots/serializer_test-init-func1-1-Remove() b/serializer/.snapshots/serializer_test-init-func1-1-Remove() new file mode 100644 index 00000000..700cf5a1 --- /dev/null +++ b/serializer/.snapshots/serializer_test-init-func1-1-Remove() @@ -0,0 +1,4 @@ +(serializer.JSONPayload) (len=2) { + "faction": Stark, + "lastname": Snow, +} diff --git a/serializer/.snapshots/serializer_test-init-func1-2-Bson() b/serializer/.snapshots/serializer_test-init-func1-2-Bson() new file mode 100644 index 00000000..cd5e14c9 --- /dev/null +++ b/serializer/.snapshots/serializer_test-init-func1-2-Bson() @@ -0,0 +1,6 @@ +(primitive.M) (len=4) { + (string) (len=4) "name": (string) (len=4) "John", + (string) (len=6) "Winter": (string) (len=10) "is coming!", + (string) (len=7) "faction": (string) (len=5) "Stark", + (string) (len=8) "lastname": (string) (len=4) "Snow" +} diff --git a/serializer/.snapshots/serializer_test-init-func1-3-Add() b/serializer/.snapshots/serializer_test-init-func1-3-Add() new file mode 100644 index 00000000..59dbb8c0 --- /dev/null +++ b/serializer/.snapshots/serializer_test-init-func1-3-Add() @@ -0,0 +1,8 @@ +(serializer.JSONPayload) (len=6) { + "Winter": is coming!, + "faction": Stark, + "lastname": Snow, + "name": John, + "page": 1, + "pageSize": 15, +} diff --git a/serializer/.snapshots/serializer_test-init-func1-4-RawMap() b/serializer/.snapshots/serializer_test-init-func1-4-RawMap() new file mode 100644 index 00000000..2ea58d88 --- /dev/null +++ b/serializer/.snapshots/serializer_test-init-func1-4-RawMap() @@ -0,0 +1,24 @@ +(map[string]interface {}) (len=1) { + (string) (len=7) "rootMap": (map[string]interface {}) (len=3) { + (string) (len=4) "text": (string) (len=14) "shit happened!", + (string) (len=7) "objList": ([]interface {}) (len=2) { + (map[string]interface {}) (len=1) { + (string) (len=6) "subMap": (map[string]interface {}) (len=1) { + (string) (len=5) "prop1": (string) (len=5) "value" + } + }, + (map[string]interface {}) (len=2) { + (string) (len=4) "list": ([]interface {}) (len=3) { + (float64) 1, + (float64) 2, + (float64) 3 + }, + (string) (len=4) "name": (string) (len=4) "john" + } + }, + (string) (len=8) "textList": ([]interface {}) (len=2) { + (string) (len=5) "item1", + (string) (len=5) "item2" + } + } +} diff --git a/service/.snapshots/service-init-func19-12 b/service/.snapshots/service-init-func19-12 new file mode 100644 index 00000000..70a441f9 --- /dev/null +++ b/service/.snapshots/service-init-func19-12 @@ -0,0 +1,88 @@ +(moleculer.ServiceSchema) { + Name: (string) (len=5) "earth", + Version: (string) (len=3) "0.2", + Dependencies: ([]string) { + }, + Settings: (map[string]interface {}) (len=2) { + (string) (len=10) "dinosauros": (bool) true, + (string) (len=7) "craters": (bool) true + }, + Metadata: (map[string]interface {}) (len=2) { + (string) (len=10) "resolution": (string) (len=4) "high", + (string) (len=11) "star-system": (string) (len=3) "sun" + }, + Hooks: (map[string]interface {}) (len=2) { + (string) (len=12) "solar-system": (string) (len=4) "true", + (string) (len=5) "earth": (string) (len=4) "true" + }, + Mixins: ([]moleculer.Mixin) (len=1) { + (moleculer.Mixin) { + Name: (string) (len=4) "moon", + Dependencies: ([]string) , + Settings: (map[string]interface {}) (len=1) { + (string) (len=7) "craters": (bool) true + }, + Metadata: (map[string]interface {}) (len=1) { + (string) (len=10) "resolution": (string) (len=4) "high" + }, + Hooks: (map[string]interface {}) (len=1) { + (string) (len=5) "earth": (string) (len=4) "true" + }, + Actions: ([]moleculer.Action) (len=1) { + (moleculer.Action) { + Name: (string) (len=4) "tide", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + } + }, + Events: ([]moleculer.Event) (len=2) { + (moleculer.Event) { + Name: (string) (len=12) "moon.isClose", + Group: (string) "", + Handler: (moleculer.EventHandler) + }, + (moleculer.Event) { + Name: (string) (len=13) "earth.rotates", + Group: (string) "", + Handler: (moleculer.EventHandler) + } + }, + Created: (moleculer.CreatedFunc) , + Started: (moleculer.LifecycleFunc) , + Stopped: (moleculer.LifecycleFunc) + } + }, + Actions: ([]moleculer.Action) (len=2) { + (moleculer.Action) { + Name: (string) (len=4) "tide", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=6) "rotate", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + } + }, + Events: ([]moleculer.Event) (len=2) { + (moleculer.Event) { + Name: (string) (len=12) "moon.isClose", + Group: (string) "", + Handler: (moleculer.EventHandler) + }, + (moleculer.Event) { + Name: (string) (len=13) "earth.rotates", + Group: (string) "", + Handler: (moleculer.EventHandler) + } + }, + Created: (moleculer.CreatedFunc) , + Started: (moleculer.LifecycleFunc) , + Stopped: (moleculer.LifecycleFunc) +} diff --git a/service/.snapshots/service-init-func19-34 b/service/.snapshots/service-init-func19-34 new file mode 100644 index 00000000..d6d17124 --- /dev/null +++ b/service/.snapshots/service-init-func19-34 @@ -0,0 +1,72 @@ +([]moleculer.Action) (len=10) { + (moleculer.Action) { + Name: (string) (len=10) "justParams", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=11) "justContext", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=14) "completeAction", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=14) "noArgsNoReturn", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=18) "justParamsNoReturn", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=19) "justContextNoReturn", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=22) "completeActionNoReturn", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=24) "nonPointerCompleteAction", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=3) "add", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=6) "noArgs", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + } +} diff --git a/service/.snapshots/service-init-func19-7 b/service/.snapshots/service-init-func19-7 new file mode 100644 index 00000000..1650c49e --- /dev/null +++ b/service/.snapshots/service-init-func19-7 @@ -0,0 +1,16 @@ +([]moleculer.Action) (len=2) { + (moleculer.Action) { + Name: (string) (len=4) "tide", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + }, + (moleculer.Action) { + Name: (string) (len=6) "rotate", + Handler: (moleculer.ActionHandler) , + Schema: (moleculer.ActionSchema) , + Settings: (map[string]interface {}) , + Description: (string) "" + } +} diff --git a/service/.snapshots/service-init-func19-8 b/service/.snapshots/service-init-func19-8 new file mode 100644 index 00000000..37d4eede --- /dev/null +++ b/service/.snapshots/service-init-func19-8 @@ -0,0 +1,12 @@ +([]moleculer.Event) (len=2) { + (moleculer.Event) { + Name: (string) (len=12) "moon.isClose", + Group: (string) "", + Handler: (moleculer.EventHandler) + }, + (moleculer.Event) { + Name: (string) (len=13) "earth.rotates", + Group: (string) "", + Handler: (moleculer.EventHandler) + } +}