blob: d31463da62ce2a0af7795320e1ce0833e91f06c1 [file]
{
"name": "Plugin-Test",
"api_id": "test",
"org_id": "default",
"definition": {
"location": "header",
"key": "version"
},
"use_keyless": true,
"version_data": {
"not_versioned": true,
"versions": {
"Default": {
"name": "Default"
}
}
},
"custom_middleware": {
"post": [
{
"name": "CasbinAuthz",
"path": "/opt/tyk-gateway/apps/casbin_authz/plugin.so"
}
],
"driver": "goplugin"
},
"proxy": {
"listen_path": "/test",
"target_url": "http://httpbin.org",
"strip_listen_path": true
},
"config_data": {
"casbin_authz_plugin": {
"model_path": "/opt/tyk-gateway/apps/casbin_authz/authz_model.conf",
"policy_path": "/opt/tyk-gateway/apps/casbin_authz/authz_policy.csv"
}
}
}