Skip to content

Commit b037ad0

Browse files
committed
adj service pattern
1 parent 8901010 commit b037ad0

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

microservices/gatewayApi/patterns/sdx/service_r1.py

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,26 @@
6666
disable_id_token_header: "yes"
6767
6868
routes:
69-
- name: ${service_name}
69+
- name: ${service_name}.OPTIONS
70+
tags: [ns.${gateway}.${ns_qualifier}, sdx]
71+
hosts:
72+
- ${route_host}
73+
paths:
74+
- ${route_path}
75+
methods:
76+
- OPTIONS
77+
strip_path: false
78+
https_redirect_status_code: 426
79+
path_handling: v0
80+
request_buffering: true
81+
response_buffering: true
82+
plugins:
83+
- name: jwt-keycloak
84+
enabled: false
85+
- name: oidc
86+
enabled: false
87+
88+
- name: ${service_name}.API
7089
tags: [ns.${gateway}.${ns_qualifier}, sdx]
7190
hosts:
7291
- ${route_host}
@@ -83,7 +102,7 @@
83102
request_buffering: true
84103
response_buffering: true
85104
86-
- name: ${service_name}-SIGNED
105+
- name: ${service_name}.SIGNED
87106
tags: [ns.${gateway}.${ns_qualifier}, sdx]
88107
hosts:
89108
- ${route_host}

0 commit comments

Comments
 (0)