Closed ikethecoder closed 1 year ago
Example minimal gateway config:
services:
- name: a-service-for-anontest
host: httpbin.org
tags: [ ns.anontest ]
port: 443
protocol: https
retries: 0
routes:
- name: a-service-for-anontest-route
tags: [ ns.anontest ]
hosts:
- a-service-for-anontest.api.gov.bc.ca
paths:
- /
methods:
- GET
strip_path: false
https_redirect_status_code: 426
path_handling: v0
request_buffering: true
response_buffering: true
plugins:
- name: jwt-keycloak
tags: [ ns.anontest ]
config:
allowed_iss: [ "https://auth.service" ]
well_known_template: "https://auth.service/.well-known/configuration"
API Services Portal Issue
User Story
As a API Provider,
I want to activate an environment
so that it appears on the API Directory.
Test Case
ENV
DEV
TEST
PROD
TESTCASE
jwt-keycloak
pluginEXPECTED
ACTUAL
ERROR
Notes
The plugin configuration for Gateway Routes are not getting parsed in the same way as the Gateway Service plugins, which results in an unexpected parsing check related to validation of the "well_known_template".