Padmabishek commented on issue #10188:
URL: https://github.com/apache/apisix/issues/10188#issuecomment-1715066913

   relevant route config from admin API
   
                {
                        "key": "/apisix/routes/8b04adff",
                        "createdIndex": 19,
                        "modifiedIndex": 13214,
                        "value": {
                                "desc": "Created by apisix-ingress-controller, 
DO NOT modify it manually",
                                "plugins": {
                                        "proxy-rewrite": {
                                                "regex_uri": [
                                                        "/snow/(.*)",
                                                        "/$1"
                                                ],
                                                "use_real_request_uri_unsafe": 
false
                                        },
                                        "cors": {
                                                "max_age": 5,
                                                "allow_headers": 
"Cache-Control,Content-Language,Content-Length,Content-Type,Expires,Last-Modified,Pragma,Authorization,GeoParams",
                                                "allow_origins": "*",
                                                "allow_origins_by_regex": [
                                                        ".*\\.radisys.com"
                                                ],
                                                "expose_headers": 
"Authorization,GeoParams",
                                                "allow_credential": false,
                                                "allow_methods": 
"GET,POST,PUT,DELETE,PATCH,HEAD,OPTIONS,CONNECT,TRACE"
                                        },
                                        "region-zone-auth": {
                                                "rejected_msg": "Unauthorized!",
                                                "redis_database": 0,
                                                "redis_timeout": 1000,
                                                "rejected_code": 401,
                                                "redis_port": 6379,
                                                "redis_host": 
"redis-headless.redis"
                                        },
                                        "authz-keycloak": {
                                                "permissions": {},
                                                "client_id": "apisix",
                                                "keepalive_pool": 5,
                                                "keepalive": true,
                                                "token_endpoint": 
"https://keycloak.keycloak:8443/auth/realms/snow/protocol/openid-connect/token";,
                                                "client_secret": 
"U25vd0FwaXNpeENsaWVudEAxMjM0",
                                                "grant_type": 
"urn:ietf:params:oauth:grant-type:uma-ticket",
                                                "timeout": 3000,
                                                "ssl_verify": false,
                                                "keepalive_timeout": 60000,
                                                "lazy_load_paths": false,
                                                "http_method_as_scope": false,
                                                "cache_ttl_seconds": 86400,
                                                "policy_enforcement_mode": 
"PERMISSIVE",
                                                "access_token_expires_in": 300,
                                                "access_token_expires_leeway": 
0,
                                                "refresh_token_expires_in": 
3600,
                                                "refresh_token_expires_leeway": 0
                                        },
                                        "limit-req": {
                                                "rejected_msg": "Too many 
requests!",
                                                "key_type": "var",
                                                "allow_degradation": false,
                                                "rate": 500,
                                                "burst": 500,
                                                "nodelay": false,
                                                "key": "",
                                                "rejected_code": 300
                                        },
                                        "request-id": {
                                                "header_name": "X-Request-Id",
                                                "include_in_response": true,
                                                "algorithm": "uuid"
                                        }
                                },
                                "status": 1,
                                "labels": {
                                        "managed-by": 
"apisix-ingress-controller"
                                },
                                "uris": [
                                        "/snow/*"
                                ],
                                "create_time": 1693992627,
                                "hosts": [
                                        "blacklink.radisys.com"
                                ],
                                "id": "8b04adff",
                                "priority": 0,
                                "update_time": 1694425826,
                                "name": 
"snow-web-bff_bff-route_snow-routing-rule-for-bff",
                                "upstream_id": "c0623a40"
                        }
                },
                {
                        "key": "/apisix/routes/8bf3c836",
                        "createdIndex": 21,
                        "modifiedIndex": 13217,
                        "value": {
                                "desc": "Created by apisix-ingress-controller, 
DO NOT modify it manually",
                                "plugins": {
                                        "cors": {
                                                "max_age": 5,
                                                "allow_headers": 
"Cache-Control,Content-Language,Content-Length,Content-Type,Expires,Last-Modified,Pragma,Authorization,GeoParams",
                                                "allow_origins": "*",
                                                "allow_origins_by_regex": [
                                                        ".*\\.radisys.com"
                                                ],
                                                "expose_headers": 
"Authorization,GeoParams",
                                                "allow_credential": false,
                                                "allow_methods": 
"GET,POST,PUT,DELETE,PATCH,HEAD,OPTIONS,CONNECT,TRACE"
                                        },
                                        "proxy-rewrite": {
                                                "regex_uri": [
                                                        "/snow/(.*)",
                                                        "/$1"
                                                ],
                                                "use_real_request_uri_unsafe": 
false
                                        },
                                        "limit-req": {
                                                "rejected_msg": "Too many 
requests!",
                                                "key_type": "var",
                                                "allow_degradation": false,
                                                "rate": 500,
                                                "burst": 500,
                                                "nodelay": false,
                                                "key": "",
                                                "rejected_code": 300
                                        },
                                        "request-id": {
                                                "header_name": "X-Request-Id",
                                                "include_in_response": true,
                                                "algorithm": "uuid"
                                        }
                                },
                                "status": 1,
                                "labels": {
                                        "managed-by": 
"apisix-ingress-controller"
                                },
                                "uris": [
                                        "/snow/static/*",
                                        "/snow/help-center/*",
                                        "/snow/favicon.ico",
                                        "/snow/",
                                        "/snow/api/*"
                                ],
                                "create_time": 1693992627,
                                "hosts": [
                                        "blacklink.radisys.com"
                                ],
                                "id": "8bf3c836",
                                "priority": 1,
                                "update_time": 1694425826,
                                "name": 
"snow-web-bff_bff-route-static_snow-routing-rule-for-bff",
                                "upstream_id": "c0623a40"
                        }
                },
                {
                        "key": "/apisix/routes/c90c2483",
                        "createdIndex": 12569,
                        "modifiedIndex": 13222,
                        "value": {
                                "desc": "Created by apisix-ingress-controller, 
DO NOT modify it manually",
                                "plugins": {
                                        "proxy-rewrite": {
                                                "regex_uri": [
                                                        "/snow/ves/(.*)",
                                                        "/$1"
                                                ],
                                                "use_real_request_uri_unsafe": 
false
                                        },
                                        "limit-req": {
                                                "rejected_msg": "Too many 
requests!",
                                                "key_type": "var",
                                                "allow_degradation": false,
                                                "rate": 500,
                                                "burst": 500,
                                                "nodelay": false,
                                                "key": "",
                                                "rejected_code": 300
                                        },
                                        "request-id": {
                                                "header_name": "X-Request-Id",
                                                "include_in_response": true,
                                                "algorithm": "uuid"
                                        }
                                },
                                "status": 1,
                                "labels": {
                                        "managed-by": 
"apisix-ingress-controller"
                                },
                                "uris": [
                                        "/snow/ves/eventListener",
                                        "/snow/ves/actuator/health"
                                ],
                                "create_time": 1694411130,
                                "priority": 10,
                                "id": "c90c2483",
                                "update_time": 1694425827,
                                "name": 
"snow-rest-ves_rest-ves-route_rest-ves-routing-rule",
                                "upstream_id": "8b4ee006"
                        }
                }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to