c0100_vvvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0100
Verbose -> vvvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0100
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc00000dde0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
}
})
(*core.Cache)(0xc00000e258)((len=3) {
(string) (len=10) "query_name": (string) (len=5) "jason",
(string) (len=7) "student": (map[string]interface {}) (len=3) {
(string) (len=6) "school": (string) (len=14) "Sydney Grammar",
(string) (len=4) "name": (string) (len=3) "Tom",
(string) (len=6) "gender": (string) (len=4) "Male"
},
(string) (len=3) "nsw": (map[string]interface {}) (len=2) {
(string) (len=6) "sydney": ([]interface {}) (len=2 cap=2) {
(map[interface {}]interface {}) (len=1) {
(string) (len=2) "sg": (map[interface {}]interface {}) (len=1) {
(string) (len=7) "student": (map[interface {}]interface {}) (len=3) {
(string) (len=4) "name": (string) (len=5) "Grace",
(string) (len=6) "gender": (string) (len=6) "Female",
(string) (len=6) "school": (string) (len=3) "MLC"
}
}
},
(map[interface {}]interface {}) (len=1) {
(string) (len=5) "kings": (map[interface {}]interface {}) (len=1) {
(string) (len=7) "student": (map[interface {}]interface {}) (len=3) {
(string) (len=4) "name": (string) (len=5) "Emily",
(string) (len=6) "gender": (string) (len=6) "Female",
(string) (len=6) "school": (string) (len=5) "KINGS"
}
}
}
},
(string) (len=9) "chatswood": ([]interface {}) (len=1 cap=1) {
(map[interface {}]interface {}) (len=1) {
(string) (len=14) "chatswood_high": (map[interface {}]interface {}) (len=1) {
(string) (len=7) "student": (map[interface {}]interface {}) (len=3) {
(string) (len=6) "school": (string) (len=18) "Public High School",
(string) (len=4) "name": (string) (len=5) "Jason",
(string) (len=6) "gender": (string) (len=4) "Mail"
}
}
}
}
}
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"query_name": "jason",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
}
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
{
"desc": "query using ref var ymlstr and query a registered var by default in global",
"cmd": {
"ymlkey": "ymlstr",
"path": "student.school",
"reg": "school_name"
},
"name": "query"
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n"
},
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n",
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n"
}
self: final context exec vars:
(*core.Cache)({
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n",
"query_name": "jason"
})
map[path:student.school reg:school_name ymlkey:ymlstr]
~SubStep1: [query: query using ref var ymlstr and query a registered var by default in global ]
-Step2:
{
Name: "",
Do: {
{
"cmd": "{{.school_name}}",
"name": "print"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
}
self: final context exec vars:
(*core.Cache)({
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
})
{{.school_name}}
~SubStep1: [print: ]
The Kings
-Step3:
{
Name: "",
Do: {
{
"cmd": {
"ymlkey": "ymlstr",
"path": "student",
"reg": "student_info"
},
"name": "query",
"desc": "query using ref var ymlstr and query a registered var by default in global"
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"ymlstr": "student: |\n name: jason\n gender: Male\n school: The Kings\n"
},
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"ymlstr": "student: |\n name: jason\n gender: Male\n school: The Kings\n",
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"ymlstr": "student: |\n name: jason\n gender: Male\n school: The Kings\n",
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"ymlstr": "student: |\n name: jason\n gender: Male\n school: The Kings\n",
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
}
})
map[path:student reg:student_info ymlkey:ymlstr]
~SubStep1: [query: query using ref var ymlstr and query a registered var by default in global ]
-Step4:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.student_info}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
}
}
self: final context exec vars:
(*core.Cache)({
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"query_name": "jason"
})
{{.student_info}}
~SubStep1: [print: ]
map[gender:Male name:jason school:The Kings]
-Step5:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query and query a registered var in local",
"cmd": {
"ymlkey": "ymlstr",
"path": "student.school",
"reg": "local_school_name"
},
"flags": {
"localOnly"
}
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n"
},
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n",
"school_name": (*string)("The Kings")
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n"
}
self: final context exec vars:
(*core.Cache)({
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"ymlstr": "student:\n name: jason\n gender: Male\n school: The Kings\n",
"school_name": (*string)("The Kings")
})
map[path:student.school reg:local_school_name ymlkey:ymlstr]
~SubStep1: [query: query and query a registered var in local ]
-Step6:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.local_school_name}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"up_runtime_task_layer_number": 0,
"query_name": "jason"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"query_name": "jason",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name": (*string)("The Kings")
})
{{.local_school_name}}
~SubStep1: [print: ]
None
-Step7:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query from cached vars only",
"cmd": {
"path": "nsw.sydney.sg.student.school",
"reg": "data_school_name"
}
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"query_name": "jason",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"up_runtime_task_layer_number": 0
})
map[path:nsw.sydney.sg.student.school reg:data_school_name]
~SubStep1: [query: query from cached vars only ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
-Step8:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.data_school_name}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"data_school_name": "",
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"data_school_name": "",
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
})
}
self: final context exec vars:
(*core.Cache)({
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"data_school_name": "",
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
}
})
{{.data_school_name}}
~SubStep1: [print: ]
-Step9:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query from cached vars and put result into a list/array",
"cmd": {
"path": "nsw.sydney.**.student.school",
"reg": "school_name_list"
},
"flags": {
"collect"
}
},
{
"cmd": "{{.school_name_list}}",
"name": "printObj"
},
{
"name": "print",
"cmd": "{{.school_name_list}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"data_school_name": "",
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"gender": "Male",
"school": "The Kings",
"name": "jason"
}),
"data_school_name": "",
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"school_name": (*string)("The Kings")
}
self: final context exec vars:
(*core.Cache)({
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"data_school_name": "",
"query_name": "jason"
})
map[path:nsw.sydney.**.student.school reg:school_name_list]
~SubStep1: [query: query from cached vars and put result into a list/array ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.school_name_list}}
~SubStep2: [printObj: ]
(string) (len=21) "{{.school_name_list}}"
object:
[MLC KINGS]: (interface {}) <nil>
{{.school_name_list}}
~SubStep3: [print: ]
[MLC KINGS]
-Step10:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query a sub node",
"cmd": {
"path": "nsw.sydney",
"reg": "city"
},
"flags": {
"collect"
}
},
{
"cmd": "{{.city}}",
"name": "printObj"
},
{
"name": "print",
"cmd": "{{.city}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"data_school_name": "",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"gender": "Male",
"school": "The Kings",
"name": "jason"
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"data_school_name": "",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
}
}
self: final context exec vars:
(*core.Cache)({
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"data_school_name": "",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"query_name": "jason"
})
map[path:nsw.sydney reg:city]
~SubStep1: [query: query a sub node ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.city}}
~SubStep2: [printObj: ]
(string) (len=9) "{{.city}}"
object:
[[map[sg:map[student:map[gender:Female name:Grace school:MLC]]] map[kings:map[student:map[gender:Female name:Emily school:KINGS]]]]]: (interface {}) <nil>
{{.city}}
~SubStep3: [print: ]
[[map[sg:map[student:map[gender:Female name:Grace school:MLC]]] map[kings:map[student:map[gender:Female name:Emily school:KINGS]]]]]
-Step11:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query a selected indexed node from a array",
"cmd": {
"reg": "city1",
"path": "nsw.sydney.[1]"
}
},
{
"name": "printObj",
"cmd": "{{.city1}}"
},
{
"name": "print",
"cmd": "{{.city1}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"school_name": (*string)("The Kings"),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"data_school_name": "",
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"query_name": "jason"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"school_name": (*string)("The Kings"),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"data_school_name": "",
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"query_name": "jason",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"data_school_name": "",
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"school_name": (*string)("The Kings"),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"query_name": "jason",
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
})
})
map[path:nsw.sydney.[1] reg:city1]
~SubStep1: [query: query a selected indexed node from a array ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.city1}}
~SubStep2: [printObj: ]
(string) (len=10) "{{.city1}}"
object:
map[kings:map[student:map[gender:Female name:Emily school:KINGS]]]: (interface {}) <nil>
{{.city1}}
~SubStep3: [print: ]
map[kings:map[student:map[gender:Female name:Emily school:KINGS]]]
-Step12:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query all nodes from an array",
"cmd": {
"path": "nsw.sydney.[*]",
"reg": "cityall"
}
},
{
"name": "printObj",
"cmd": "{{.cityall}}"
},
{
"cmd": "{{.cityall}}",
"name": "print"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"query_name": "jason",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"data_school_name": "",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"query_name": "jason",
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"data_school_name": "",
"up_runtime_task_layer_number": 0,
"school_name": (*string)("The Kings"),
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
}
}
self: final context exec vars:
(*core.Cache)({
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"up_runtime_task_layer_number": 0,
"school_name": (*string)("The Kings"),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"data_school_name": "",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"query_name": "jason"
})
map[path:nsw.sydney.[*] reg:cityall]
~SubStep1: [query: query all nodes from an array ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.cityall}}
~SubStep2: [printObj: ]
(string) (len=12) "{{.cityall}}"
object:
map[kings:map[student:map[gender:Female name:Emily school:KINGS]] sg:map[student:map[gender:Female name:Grace school:MLC]]]: (interface {}) <nil>
{{.cityall}}
~SubStep3: [print: ]
map[kings:map[student:map[gender:Female name:Emily school:KINGS]] sg:map[student:map[gender:Female name:Grace school:MLC]]]
-Step13:
{
Name: "",
Do: {
{
"desc": "query result matching the criteria",
"cmd": {
"path": "nsw.sydney.[*].*(name==Emily)",
"reg": "studentx"
},
"name": "query"
},
{
"name": "printObj",
"cmd": "{{.studentx}}"
},
{
"name": "print",
"cmd": "{{.studentx}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"query_name": "jason",
"data_school_name": "",
"up_runtime_task_layer_number": 0,
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"school_name": (*string)("The Kings"),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"data_school_name": "",
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"up_runtime_task_layer_number": 0,
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"school_name": (*string)("The Kings"),
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
}
}
self: final context exec vars:
(*core.Cache)({
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"up_runtime_task_layer_number": 0,
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"school_name": (*string)("The Kings"),
"data_school_name": "",
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
},
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}
}
}),
"query_name": "jason"
})
map[path:nsw.sydney.[*].*(name==Emily) reg:studentx]
~SubStep1: [query: query result matching the criteria ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.studentx}}
~SubStep2: [printObj: ]
(string) (len=13) "{{.studentx}}"
object:
map[gender:Female name:Emily school:KINGS]: (interface {}) <nil>
{{.studentx}}
~SubStep3: [print: ]
map[gender:Female name:Emily school:KINGS]
-Step14:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query result matching the criteria",
"cmd": {
"path": "nsw.sydney.[1].*(name==Emily)",
"reg": "studenty"
}
},
{
"name": "printObj",
"cmd": "{{.studenty}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"data_school_name": "",
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"school_name": (*string)("The Kings"),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
}),
"data_school_name": "",
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
})
}
self: final context exec vars:
(*core.Cache)({
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"data_school_name": "",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
},
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
})
})
map[path:nsw.sydney.[1].*(name==Emily) reg:studenty]
~SubStep1: [query: query result matching the criteria ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.studenty}}
~SubStep2: [printObj: ]
(string) (len=13) "{{.studenty}}"
object:
map[gender:Female name:Emily school:KINGS]: (interface {}) <nil>
-Step15:
{
Name: "",
Do: {
{
"desc": "query result matching the criteria",
"cmd": {
"path": "nsw.sydney.**(name==Emily)",
"reg": "studentz"
},
"name": "query"
},
{
"cmd": "{{.studentz}}",
"name": "printObj"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"data_school_name": "",
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name": (*string)("The Kings"),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
},
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
}),
"studenty": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"up_runtime_task_layer_number": 0,
"query_name": "jason",
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"data_school_name": "",
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
},
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
}),
"studenty": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"query_name": "jason",
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"school_name": (*string)("The Kings")
}
self: final context exec vars:
(*core.Cache)({
"studenty": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
},
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
}),
"data_school_name": "",
"query_name": "jason",
"studentx": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
}
})
map[path:nsw.sydney.**(name==Emily) reg:studentz]
~SubStep1: [query: query result matching the criteria ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.studentz}}
~SubStep2: [printObj: ]
(string) (len=13) "{{.studentz}}"
object:
map[gender:Female name:Emily school:KINGS]: (interface {}) <nil>
-Step16:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query result matching the criteria",
"cmd": {
"path": "nsw.sydney.[*].kings(name==Emily)",
"reg": "studentm"
}
},
{
"name": "printObj",
"cmd": "{{.studentm}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"data_school_name": "",
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"query_name": "jason",
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"studenty": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"data_school_name": "",
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"studentx": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}
}
}),
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"data_school_name": "",
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"school_name": (*string)("The Kings")
})
map[path:nsw.sydney.[*].kings(name==Emily) reg:studentm]
~SubStep1: [query: query result matching the criteria ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.studentm}}
~SubStep2: [printObj: ]
(string) (len=13) "{{.studentm}}"
object:
map[gender:Female name:Emily school:KINGS]: (interface {}) <nil>
-Step17:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query result matching the criteria",
"cmd": {
"path": "nsw.sydney.[*].*(name==Grace)",
"reg": "studentn"
}
},
{
"name": "printObj",
"cmd": "{{.studentn}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"data_school_name": "",
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studentm": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"school_name": (*string)("The Kings"),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studenty": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"studentx": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"up_runtime_task_layer_number": 0,
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
},
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"query_name": "jason"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studentm": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"data_school_name": "",
"studentz": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"school_name": (*string)("The Kings"),
"up_runtime_task_layer_number": 0,
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
})
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"data_school_name": "",
"query_name": "jason",
"school_name": (*string)("The Kings"),
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
},
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
})
})
map[path:nsw.sydney.[*].*(name==Grace) reg:studentn]
~SubStep1: [query: query result matching the criteria ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.studentn}}
~SubStep2: [printObj: ]
(string) (len=13) "{{.studentn}}"
object:
map[gender:Female name:Grace school:MLC]: (interface {}) <nil>
-Step18:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query result matching the criteria",
"cmd": {
"path": "nsw.chatswood.[*]",
"reg": "studento"
}
},
{
"cmd": "{{.studento}}",
"name": "printObj"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"query_name": "jason",
"student_info": (*map[interface {}]interface {})({
"gender": "Male",
"school": "The Kings",
"name": "jason"
}),
"up_runtime_task_layer_number": 0,
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"studentz": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"data_school_name": "",
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
},
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"school_name": (*string)("The Kings"),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"up_runtime_task_layer_number": 0,
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"studentm": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"studentz": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
}
},
"query_name": "jason",
"data_school_name": "",
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"school_name": (*string)("The Kings"),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
})
}
self: final context exec vars:
(*core.Cache)({
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"student_info": (*map[interface {}]interface {})({
"gender": "Male",
"school": "The Kings",
"name": "jason"
}),
"data_school_name": "",
"studenty": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"school_name": (*string)("The Kings"),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"query_name": "jason",
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"up_runtime_task_layer_number": 0
})
map[path:nsw.chatswood.[*] reg:studento]
~SubStep1: [query: query result matching the criteria ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
{{.studento}}
~SubStep2: [printObj: ]
(string) (len=13) "{{.studento}}"
object:
map[chatswood_high:map[student:map[gender:Mail name:Jason school:Public High School]]]: (interface {}) <nil>
-Step19:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query and register result as a yml string instead of object",
"cmd": {
"reg": "city2",
"path": "nsw."
},
"flags": {
"ymlOnly"
}
},
{
"name": "trace",
"cmd": "====>"
},
{
"name": "printObj",
"cmd": "{{.city2}}"
},
{
"name": "print",
"cmd": "{{.city2}}"
},
{
"name": "print",
"cmd": "{{.city2|len}}"
},
{
"name": "trace",
"cmd": "<===="
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"data_school_name": "",
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"up_runtime_task_layer_number": 0,
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"school": "Public High School",
"gender": "Mail",
"name": "Jason"
}
}
}),
"studentm": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
}),
"school_name": (*string)("The Kings"),
"studentn": (*map[interface {}]interface {})({
"school": "MLC",
"gender": "Female",
"name": "Grace"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"school_name": (*string)("The Kings"),
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"data_school_name": "",
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"query_name": "jason",
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"school_name": (*string)("The Kings"),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"query_name": "jason",
"up_runtime_task_layer_number": 0,
"studentm": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}
}
}),
"data_school_name": "",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
})
})
map[path:nsw. reg:city2]
~SubStep1: [query: query and register result as a yml string instead of object ]
(string) (len=11) "sub yml str"
(string) (len=277) "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n"
====>
~SubStep2: [trace: ]
Trace:====>
{{.city2}}
~SubStep3: [printObj: ]
(string) (len=10) "{{.city2}}"
object:
chatswood:
- chatswood_high:
student:
gender: Mail
name: Jason
school: Public High School
sydney:
- sg:
student:
gender: Female
name: Grace
school: MLC
- kings:
student:
gender: Female
name: Emily
school: KINGS
: (interface {}) <nil>
{{.city2}}
~SubStep4: [print: ]
chatswood:
- chatswood_high:
student:
gender: Mail
name: Jason
school: Public High School
sydney:
- sg:
student:
gender: Female
name: Grace
school: MLC
- kings:
student:
gender: Female
name: Emily
school: KINGS
{{.city2|len}}
~SubStep5: [print: ]
277
<====
~SubStep6: [trace: ]
Trace:<====
-Step20:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query result from yml file using refdir",
"cmd": {
"reg": "city2",
"ymlfile": "d0100.yml",
"refdir": "./tests/functests",
"path": "nsw."
},
"flags": {
"ymlOnly"
}
},
{
"cmd": "{{.city2}}",
"name": "print"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
},
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}),
"city2": "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n",
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}
}
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentx": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"student_info": (*map[interface {}]interface {})({
"gender": "Male",
"school": "The Kings",
"name": "jason"
}),
"data_school_name": "",
"studentn": (*map[interface {}]interface {})({
"name": "Grace",
"school": "MLC",
"gender": "Female"
}),
"school_name": (*string)("The Kings"),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"school": "Public High School",
"gender": "Mail",
"name": "Jason"
}
}
}),
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"query_name": "jason",
"up_runtime_task_layer_number": 0,
"studentz": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"query_name": "jason",
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"data_school_name": "",
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
},
"sg": {
"student": {
"school": "MLC",
"gender": "Female",
"name": "Grace"
}
}
}),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"up_runtime_task_layer_number": 0,
"school_name": (*string)("The Kings"),
"studenty": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"studentm": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"city2": "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n",
"nsw": {
"sydney": {
{
"sg": {
"student": {
"school": "MLC",
"name": "Grace",
"gender": "Female"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"gender": "Mail",
"school": "Public High School",
"name": "Jason"
}
}
}
}
},
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"studentz": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
})
}
self: final context exec vars:
(*core.Cache)({
"query_name": "jason",
"school_name": (*string)("The Kings"),
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"studentx": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"student_info": (*map[interface {}]interface {})({
"name": "jason",
"gender": "Male",
"school": "The Kings"
}),
"cityall": (*map[interface {}]interface {})({
"sg": {
"student": {
"name": "Grace",
"school": "MLC",
"gender": "Female"
}
},
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studentn": (*map[interface {}]interface {})({
"name": "Grace",
"school": "MLC",
"gender": "Female"
}),
"city2": "chatswood:\n- chatswood_high:\n student:\n gender: Mail\n name: Jason\n school: Public High School\nsydney:\n- sg:\n student:\n gender: Female\n name: Grace\n school: MLC\n- kings:\n student:\n gender: Female\n name: Emily\n school: KINGS\n",
"data_school_name": "",
"nsw": {
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"school": "Public High School",
"name": "Jason",
"gender": "Mail"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
})
})
map[path:nsw. refdir:./tests/functests reg:city2 ymlfile:d0100.yml]
~SubStep1: [query: query result from yml file using refdir ]
{{.city2}}
~SubStep2: [print: ]
sydney:
- sg:
student:
name: Grace
gender: Female
school: MLC
- kings:
student:
name: Emily
gender: Female
school: KINGS
chatswood:
- chatswood_high:
student:
name: Jason
gender: Mail
school: Public High School
-Step21:
{
Name: "",
Do: {
{
"name": "query",
"desc": "query result from yml file using implicit global refdir",
"cmd": {
"ymlfile": "d0100.yml",
"path": "nsw.",
"reg": "city2"
},
"flags": {
"ymlOnly"
}
},
{
"cmd": "{{.city2}}",
"name": "print"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"query_name": "jason",
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"studenty": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"city2": "sydney:\n- sg:\n student:\n name: Grace\n gender: Female\n school: MLC\n- kings:\n student:\n name: Emily\n gender: Female\n school: KINGS\nchatswood:\n- chatswood_high:\n student:\n name: Jason\n gender: Mail\n school: Public High School\n",
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
}),
"data_school_name": "",
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"gender": "Female",
"school": "MLC",
"name": "Grace"
}
}
},
{
"kings": {
"student": {
"school": "KINGS",
"name": "Emily",
"gender": "Female"
}
}
}
}
},
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"school_name": (*string)("The Kings"),
"studentx": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
}
})
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"student_info": (*map[interface {}]interface {})({
"gender": "Male",
"school": "The Kings",
"name": "jason"
}),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
}),
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"nsw": {
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
},
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"name": "Emily",
"gender": "Female",
"school": "KINGS"
}
}
}
}
},
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"studenty": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"school_name": (*string)("The Kings"),
"studentx": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}),
"data_school_name": "",
"up_runtime_task_layer_number": 0,
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"query_name": "jason",
"city2": "sydney:\n- sg:\n student:\n name: Grace\n gender: Female\n school: MLC\n- kings:\n student:\n name: Emily\n gender: Female\n school: KINGS\nchatswood:\n- chatswood_high:\n student:\n name: Jason\n gender: Mail\n school: Public High School\n"
}
self: final context exec vars:
(*core.Cache)({
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"data_school_name": "",
"nsw": {
"sydney": {
{
"sg": {
"student": {
"name": "Grace",
"gender": "Female",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"school": "KINGS",
"name": "Emily"
}
}
}
},
"chatswood": {
{
"chatswood_high": {
"student": {
"name": "Jason",
"gender": "Mail",
"school": "Public High School"
}
}
}
}
},
"studentm": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}),
"studentn": (*map[interface {}]interface {})({
"gender": "Female",
"name": "Grace",
"school": "MLC"
}),
"studenty": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"school_name": (*string)("The Kings"),
"city2": "sydney:\n- sg:\n student:\n name: Grace\n gender: Female\n school: MLC\n- kings:\n student:\n name: Emily\n gender: Female\n school: KINGS\nchatswood:\n- chatswood_high:\n student:\n name: Jason\n gender: Mail\n school: Public High School\n",
"student_info": (*map[interface {}]interface {})({
"school": "The Kings",
"name": "jason",
"gender": "Male"
}),
"city": (*[]interface {})({
{
{
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
},
{
"kings": {
"student": {
"gender": "Female",
"name": "Emily",
"school": "KINGS"
}
}
}
}
}),
"city1": (*map[interface {}]interface {})({
"kings": {
"student": {
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}
}
}),
"query_name": "jason",
"studento": (*map[interface {}]interface {})({
"chatswood_high": {
"student": {
"gender": "Mail",
"name": "Jason",
"school": "Public High School"
}
}
}),
"school_name_list": (*[]interface {})({
"MLC",
"KINGS"
}),
"cityall": (*map[interface {}]interface {})({
"kings": {
"student": {
"name": "Emily",
"school": "KINGS",
"gender": "Female"
}
},
"sg": {
"student": {
"gender": "Female",
"name": "Grace",
"school": "MLC"
}
}
}),
"studentx": (*map[interface {}]interface {})({
"school": "KINGS",
"gender": "Female",
"name": "Emily"
}),
"up_runtime_task_layer_number": 0,
"studentz": (*map[interface {}]interface {})({
"name": "Emily",
"school": "KINGS",
"gender": "Female"
})
})
map[path:nsw. reg:city2 ymlfile:d0100.yml]
~SubStep1: [query: query result from yml file using implicit global refdir ]
{{.city2}}
~SubStep2: [print: ]
sydney:
- sg:
student:
name: Grace
gender: Female
school: MLC
- kings:
student:
name: Emily
gender: Female
school: KINGS
chatswood:
- chatswood_high:
student:
name: Jason
gender: Mail
school: Public High School
Logs with different verbose level
References