janus
janus copied to clipboard
Parameter does not be replaced in the url
Hi, I had a taste for Janus, and the config is
{
"name" : "usergroups",
"active" : true,
"proxy" : {
"listen_path" : "/v1/usergroups/{groupId:[\\da-f]{24}}",
"upstreams" : {
"balancing": "roundrobin",
"targets": [
{"target": "http://service:8080/v1/usergroups/{groupId}"}
]
},
"methods" : ["GET"]
}
}
but I got
{
"code": 400,
"msg": "resourcequotas \"{groupId}\" not found",
"data": null
}
It seems that parameter does not be replaced in the target usl?
@italolelis can you answer my question?
It seems the problem of demo docker image, when I use released binary file, it works well.
@m3ngyang we've updated the docker image to the latest version. There was a problem with it and now should be ok. Would you mind testing it again?