hguerrero

working-config.json

Aug 8th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JSON 9.82 KB | None | 0 0
  1. {
  2.     "services": [
  3.         {
  4.             "id": 1,
  5.             "backend_version": "oauth",
  6.             "proxy": {
  7.                 "api_backend": "http://bonjour-OS_PROJECT.OS_SUBDOMAIN",
  8.                 "oidc_issuer_endpoint": "http://3scale-admin:4b6b335d-3604-4066-80b5-0aa6837a9102@keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  9.                 "authentication_method": "oidc",
  10.                 "hosts": [
  11.                     "bonjour-api.OS_SUBDOMAIN"
  12.                 ],
  13.                 "backend": {
  14.                     "endpoint": "BACKEND_URL"
  15.                 },
  16.                 "proxy_rules": [
  17.                     {
  18.                         "http_method": "GET",
  19.                         "pattern": "/",
  20.                         "metric_system_name": "hits"
  21.                     }
  22.                 ],
  23.                 "policy_chain": [
  24.                     {
  25.                         "name": "cors",
  26.                         "version": "builtin",
  27.                         "configuration": {
  28.                             "allow_headers": [
  29.                                 "Authorization"
  30.                             ],
  31.                             "allow_credentials": true,
  32.                             "allow_methods": [
  33.                                 "GET",
  34.                                 "OPTIONS"
  35.                             ],
  36.                             "allow_origin": "*"
  37.                         },
  38.                         "enabled": true
  39.                     },
  40.                     {
  41.                         "name": "apicast",
  42.                         "version": "builtin",
  43.                         "configuration": {},
  44.                         "enabled": true
  45.                     }
  46.                 ]
  47.             }
  48.         },
  49.         {
  50.             "id": 2,
  51.             "backend_version": "oauth",
  52.             "proxy": {
  53.                 "api_backend": "http://hola-OS_PROJECT.OS_SUBDOMAIN",
  54.                 "oidc_issuer_endpoint": "http://3scale-admin:4b6b335d-3604-4066-80b5-0aa6837a9102@keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  55.                 "authentication_method": "oidc",
  56.                 "hosts": [
  57.                     "hola-api.OS_SUBDOMAIN"
  58.                 ],
  59.                 "backend": {
  60.                     "endpoint": "BACKEND_URL"
  61.                 },
  62.                 "proxy_rules": [
  63.                     {
  64.                         "http_method": "GET",
  65.                         "pattern": "/",
  66.                         "metric_system_name": "hits"
  67.                     }
  68.                 ],
  69.                 "policy_chain": [
  70.                     {
  71.                         "name": "cors",
  72.                         "version": "builtin",
  73.                         "configuration": {
  74.                             "allow_headers": [
  75.                                 "Authorization"
  76.                             ],
  77.                             "allow_credentials": true,
  78.                             "allow_methods": [
  79.                                 "GET",
  80.                                 "OPTIONS"
  81.                             ],
  82.                             "allow_origin": "*"
  83.                         },
  84.                         "enabled": true
  85.                     },
  86.                     {
  87.                         "name": "apicast",
  88.                         "version": "builtin",
  89.                         "configuration": {},
  90.                         "enabled": true
  91.                     }
  92.                 ]
  93.             }
  94.         },
  95.         {
  96.             "id": 3,
  97.             "backend_version": "oauth",
  98.             "proxy": {
  99.                 "api_backend": "http://ola-OS_PROJECT.OS_SUBDOMAIN",
  100.                 "oidc_issuer_endpoint": "http://3scale-admin:4b6b335d-3604-4066-80b5-0aa6837a9102@keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  101.                 "authentication_method": "oidc",
  102.                 "hosts": [
  103.                     "ola-api.OS_SUBDOMAIN"
  104.                 ],
  105.                 "backend": {
  106.                     "endpoint": "BACKEND_URL"
  107.                 },
  108.                 "proxy_rules": [
  109.                     {
  110.                         "http_method": "GET",
  111.                         "pattern": "/",
  112.                         "metric_system_name": "hits"
  113.                     }
  114.                 ],
  115.                 "policy_chain": [
  116.                     {
  117.                         "name": "cors",
  118.                         "version": "builtin",
  119.                         "configuration": {
  120.                             "allow_headers": [
  121.                                 "Authorization"
  122.                             ],
  123.                             "allow_credentials": true,
  124.                             "allow_methods": [
  125.                                 "GET",
  126.                                 "OPTIONS"
  127.                             ],
  128.                             "allow_origin": "*"
  129.                         },
  130.                         "enabled": true
  131.                     },
  132.                     {
  133.                         "name": "apicast",
  134.                         "version": "builtin",
  135.                         "configuration": {},
  136.                         "enabled": true
  137.                     }
  138.                 ]
  139.             }
  140.         },
  141.         {
  142.             "id": 4,
  143.             "backend_version": "oauth",
  144.             "proxy": {
  145.                 "api_backend": "http://aloha-OS_PROJECT.OS_SUBDOMAIN",
  146.                 "oidc_issuer_endpoint": "http://3scale-admin:4b6b335d-3604-4066-80b5-0aa6837a9102@keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  147.                 "authentication_method": "oidc",
  148.                 "hosts": [
  149.                     "aloha-api.OS_SUBDOMAIN"
  150.                 ],
  151.                 "backend": {
  152.                     "endpoint": "BACKEND_URL"
  153.                 },
  154.                 "proxy_rules": [
  155.                     {
  156.                         "http_method": "GET",
  157.                         "pattern": "/",
  158.                         "metric_system_name": "hits"
  159.                     }
  160.                 ],
  161.                 "policy_chain": [
  162.                     {
  163.                         "name": "cors",
  164.                         "version": "builtin",
  165.                         "configuration": {
  166.                             "allow_headers": [
  167.                                 "Authorization"
  168.                             ],
  169.                             "allow_credentials": true,
  170.                             "allow_methods": [
  171.                                 "GET",
  172.                                 "OPTIONS"
  173.                             ],
  174.                             "allow_origin": "*"
  175.                         },
  176.                         "enabled": true
  177.                     },
  178.                     {
  179.                         "name": "apicast",
  180.                         "version": "builtin",
  181.                         "configuration": {},
  182.                         "enabled": true
  183.                     }
  184.                 ]
  185.             }
  186.         }
  187.     ],
  188.     "oidc": [
  189.         {
  190.             "issuer": "http://keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  191.             "config": {
  192.                 "public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArfmb1i36YGxYxusjzpNxmw9a/+M40naa5RxtK826nitmWESF9XiXm6bHLWmRQyhAZluFK4RZDLhQJFZTLpC/w8HdSDETYGqnrP04jL3/pV0Mw1ReKSpzi3tIde+04xGuiQM6nuR84iRraLxtoNyIiqFmHy5pmI9hQhctfZNOVvggntnhXdt/VKuguBXqitFwGbfEgrJTeRvnTkK+rR5MsRDHA3iu2ZYaM4YNAoDbqGyoI4Jdv5Kl1LsP3qESYNeagRz6pIfDZWOoJ58p/TldVt2h70S1bzappbgs8ZbmJXg+pHWcKvNutp5y8nYw30qzU73pX6DW9JS936OB6PiU0QIDAQAB",
  193.                 "openid": {
  194.                     "id_token_signing_alg_values_supported": [
  195.                         "RS256"
  196.                     ]
  197.                 }
  198.             }
  199.         },
  200.         {
  201.             "issuer": "http://keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  202.             "config": {
  203.                 "public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArfmb1i36YGxYxusjzpNxmw9a/+M40naa5RxtK826nitmWESF9XiXm6bHLWmRQyhAZluFK4RZDLhQJFZTLpC/w8HdSDETYGqnrP04jL3/pV0Mw1ReKSpzi3tIde+04xGuiQM6nuR84iRraLxtoNyIiqFmHy5pmI9hQhctfZNOVvggntnhXdt/VKuguBXqitFwGbfEgrJTeRvnTkK+rR5MsRDHA3iu2ZYaM4YNAoDbqGyoI4Jdv5Kl1LsP3qESYNeagRz6pIfDZWOoJ58p/TldVt2h70S1bzappbgs8ZbmJXg+pHWcKvNutp5y8nYw30qzU73pX6DW9JS936OB6PiU0QIDAQAB",
  204.                 "openid": {
  205.                     "id_token_signing_alg_values_supported": [
  206.                         "RS256"
  207.                     ]
  208.                 }
  209.             }
  210.         },
  211.         {
  212.             "issuer": "http://keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  213.             "config": {
  214.                 "public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArfmb1i36YGxYxusjzpNxmw9a/+M40naa5RxtK826nitmWESF9XiXm6bHLWmRQyhAZluFK4RZDLhQJFZTLpC/w8HdSDETYGqnrP04jL3/pV0Mw1ReKSpzi3tIde+04xGuiQM6nuR84iRraLxtoNyIiqFmHy5pmI9hQhctfZNOVvggntnhXdt/VKuguBXqitFwGbfEgrJTeRvnTkK+rR5MsRDHA3iu2ZYaM4YNAoDbqGyoI4Jdv5Kl1LsP3qESYNeagRz6pIfDZWOoJ58p/TldVt2h70S1bzappbgs8ZbmJXg+pHWcKvNutp5y8nYw30qzU73pX6DW9JS936OB6PiU0QIDAQAB",
  215.                 "openid": {
  216.                     "id_token_signing_alg_values_supported": [
  217.                         "RS256"
  218.                     ]
  219.                 }
  220.             }
  221.         },
  222.         {
  223.             "issuer": "http://keycloak-sso.OS_SUBDOMAIN/auth/realms/helloworld-msa",
  224.             "config": {
  225.                 "public_key": "MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEArfmb1i36YGxYxusjzpNxmw9a/+M40naa5RxtK826nitmWESF9XiXm6bHLWmRQyhAZluFK4RZDLhQJFZTLpC/w8HdSDETYGqnrP04jL3/pV0Mw1ReKSpzi3tIde+04xGuiQM6nuR84iRraLxtoNyIiqFmHy5pmI9hQhctfZNOVvggntnhXdt/VKuguBXqitFwGbfEgrJTeRvnTkK+rR5MsRDHA3iu2ZYaM4YNAoDbqGyoI4Jdv5Kl1LsP3qESYNeagRz6pIfDZWOoJ58p/TldVt2h70S1bzappbgs8ZbmJXg+pHWcKvNutp5y8nYw30qzU73pX6DW9JS936OB6PiU0QIDAQAB",
  226.                 "openid": {
  227.                     "id_token_signing_alg_values_supported": [
  228.                         "RS256"
  229.                     ]
  230.                 }
  231.             }
  232.         }
  233.     ]
  234. }
Add Comment
Please, Sign In to add comment