Packages

RIG, the Reactive Interaction Gateway, provides an easy (and scaleable) way to push messages from backend services to connected frontends (and vice versa).

Current section

Files

Jump to
rig priv proxy proxy.test.json
Raw

priv/proxy/proxy.test.json

[
{
"id": "identity-service",
"name": "identity-service",
"auth_type": "jwt",
"auth": {
"use_header": true,
"header_name": "Authorization",
"use_query": false,
"query_name": ""
},
"versioned": false,
"version_data": {
"default": {
"endpoints": [
{
"id": "get-myapi-detail-id",
"path": "/myapi/detail/{id}",
"method": "GET",
"not_secured": false
},
{
"id": "get-myapi-free",
"path": "/myapi/free",
"method": "GET",
"not_secured": true
},
{
"id": "badmethod-myapi-books",
"path": "/myapi/books",
"method": "BADMETHOD",
"not_secured": false
},
{
"id": "options-myapi-books",
"path": "/myapi/books",
"method": "OPTIONS",
"not_secured": false
},
{
"id": "head-myapi-books",
"path": "/myapi/books",
"method": "HEAD",
"not_secured": false
},
{
"id": "delete-myapi-books",
"path": "/myapi/books",
"method": "DELETE",
"not_secured": false
},
{
"id": "patch-myapi-books",
"path": "/myapi/books",
"method": "PATCH",
"not_secured": false
},
{
"id": "put-myapi-books",
"path": "/myapi/books",
"method": "PUT",
"not_secured": false
},
{
"id": "post-myapi-books",
"path": "/myapi/books",
"method": "POST",
"not_secured": false
},
{
"id": "get-myapi-books",
"path": "/myapi/books",
"method": "GET",
"not_secured": false
}
]
}
},
"proxy": {
"use_env": true,
"target_url": "API_HOST",
"port": 7070
}
},
{
"id": "random-service",
"name": "random-service",
"auth_type": "none",
"auth": {
"use_header": false,
"header_name": "",
"use_query": false,
"query_name": ""
},
"versioned": false,
"version_data": {
"default": {
"endpoints": [
{
"id": "get-myapi-direct",
"path": "/myapi/direct",
"method": "GET",
"not_secured": false
}
]
}
},
"proxy": {
"use_env": true,
"target_url": "API_HOST",
"port": 7070
}
}
]