blob: 613322f9f0b02fb754772759694eb49742b5fd1b [file] [log] [blame]
{
"Route": {
"uris": [
"/*"
],
"name": "root",
"methods": [
"GET",
"HEAD",
"POST",
"PUT",
"DELETE",
"OPTIONS",
"PATCH"
],
"upstream": {
"nodes": [
{
"host": "12.12.12.12",
"port": 80,
"weight": 1
}
],
"timeout": {
"connect": 6000,
"read": 6000,
"send": 6000
},
"type": "roundrobin",
"pass_host": "pass"
},
"status": 1
},
"Upstream": {
"nodes": [
{
"host": "12.12.12.12",
"port": 80,
"weight": 1
}
],
"timeout": {
"connect": 6,
"read": 6,
"send": 6
},
"type": "roundrobin",
"pass_host": "pass",
"name": "test"
},
"Service": {
"name": "test",
"upstream": {
"nodes": [
{
"host": "12.12.12.12",
"port": 80,
"weight": 1
}
],
"timeout": {
"connect": 6,
"read": 6,
"send": 6
},
"type": "roundrobin",
"pass_host": "pass"
},
"plugins": {
"jwt-auth": {
"disable": false
}
}
},
"Consumer": {
"username": "test",
"desc": "desc",
"plugins": {
"basic-auth": {
"disable": false,
"password": "test",
"username": "test"
}
}
}
}