fix template json

VDLM/rtchandler-poc
Bernd Brandl 2022-04-29 12:04:30 +02:00
parent bc0d5ec94c
commit 67ab9c66b0
2 changed files with 66 additions and 62 deletions

View File

@ -1,35 +1,37 @@
{ {
"enabled": true, "enabled": true,
"name": "{{.name}}", "name": "{{.name}}",
"processGroups": [], "processGroups": [],
"queueEntryPoint": false, "queueEntryPoint": false,
"queueEntryPointType": null, "queueEntryPointType": null,
"rules": [ "rules": [
{
"annotations": [],
"className": "{{.className}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{ {
"argumentTypes": [], "annotations": [],
"methodName": "{{.methodName1}}", "className": "{{.className}}",
"returnType": "{{.returnType1}}" "enabled": true,
}, "fileName": "",
{ "matcher": "EQUALS",
"annotations": [], "methodRules": [
"className": "{{.className}}", {
"enabled": true, "argumentTypes": [],
"fileName": "", "methodName": "{{.methodName1}}",
"matcher": "EQUALS", "returnType": "{{.returnType1}}"
"methodRules": [ },
{ {
"argumentTypes": [], "annotations": [],
"methodName": "{{.methodName2}}", "className": "{{.className}}",
"returnType": "{{.returnType}}" "enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName2}}",
"returnType": "{{.returnType}}"
}
]
}
]
} }
] ]
}
]
} }

View File

@ -1,35 +1,37 @@
{ {
"enabled": true, "enabled": true,
"name": "{{.name}}", "name": "{{.name}}",
"processGroups": [], "processGroups": [],
"queueEntryPoint": false, "queueEntryPoint": false,
"queueEntryPointType": null, "queueEntryPointType": null,
"rules": [ "rules": [
{
"annotations": [],
"className": "{{.className1}}",
"enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{ {
"argumentTypes": [], "annotations": [],
"methodName": "{{.methodName1}}", "className": "{{.className1}}",
"returnType": "{{.returnType1}}" "enabled": true,
}, "fileName": "",
{ "matcher": "EQUALS",
"annotations": [], "methodRules": [
"className": "{{.className2}}", {
"enabled": true, "argumentTypes": [],
"fileName": "", "methodName": "{{.methodName1}}",
"matcher": "EQUALS", "returnType": "{{.returnType1}}"
"methodRules": [ },
{ {
"argumentTypes": [], "annotations": [],
"methodName": "{{.methodName2}}", "className": "{{.className2}}",
"returnType": "{{.returnType2}}" "enabled": true,
"fileName": "",
"matcher": "EQUALS",
"methodRules": [
{
"argumentTypes": [],
"methodName": "{{.methodName2}}",
"returnType": "{{.returnType2}}"
}
]
}
]
} }
] ]
}
]
} }