fix custom-service-java templates

VDLM/rtchandler-poc
Bernd Brandl 2022-05-06 14:21:19 +02:00
parent c6ad84df2f
commit 4fd3e6315d
4 changed files with 35 additions and 20 deletions

View File

@ -13,7 +13,10 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [], "argumentTypes": [
"java.lang.String",
"java.util.Map"
],
"methodName": "{{.methodName}}", "methodName": "{{.methodName}}",
"returnType": "{{.returnType}}" "returnType": "{{.returnType}}"
} }

View File

@ -13,7 +13,10 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [], "argumentTypes": [
"java.lang.String",
"java.util.Map"
],
"methodName": "{{.methodName1}}", "methodName": "{{.methodName1}}",
"returnType": "{{.returnType1}}" "returnType": "{{.returnType1}}"
}] }]
@ -26,7 +29,10 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [], "argumentTypes": [
"java.lang.String",
"java.util.Map"
],
"methodName": "{{.methodName2}}", "methodName": "{{.methodName2}}",
"returnType": "{{.returnType2}}" "returnType": "{{.returnType2}}"
} }

View File

@ -13,7 +13,10 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [], "argumentTypes": [
"java.lang.String",
"java.util.Map"
],
"methodName": "{{.methodName1}}", "methodName": "{{.methodName1}}",
"returnType": "{{.returnType1}}" "returnType": "{{.returnType1}}"
}] }]
@ -26,7 +29,10 @@
"matcher": "EQUALS", "matcher": "EQUALS",
"methodRules": [ "methodRules": [
{ {
"argumentTypes": [], "argumentTypes": [
"java.lang.String",
"java.util.Map"
],
"methodName": "{{.methodName2}}", "methodName": "{{.methodName2}}",
"returnType": "{{.returnType2}}" "returnType": "{{.returnType2}}"
} }