@ -1,34 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/m/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/l/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -0,0 +1,49 @@ | |||
admin: | |||
access_log_path: "/dev/null" | |||
address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 8001 | |||
static_resources: | |||
listeners: | |||
- address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 80 | |||
filter_chains: | |||
- filters: | |||
- name: envoy.http_connection_manager | |||
config: | |||
codec_type: auto | |||
stat_prefix: ingress_http | |||
route_config: | |||
name: eshop_backend_route | |||
virtual_hosts: | |||
- name: eshop_backend | |||
domains: | |||
- "*" | |||
routes: | |||
- match: | |||
prefix: "/api/v1/m/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: marketing | |||
http_filters: | |||
- name: envoy.router | |||
clusters: | |||
- name: marketing | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: marketing-api | |||
port_value: 80 | |||
- name: locations | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: locations-api | |||
port_value: 80 |
@ -1,21 +0,0 @@ | |||
{{- $name := include "apigwmm.fullname" . -}} | |||
apiVersion: v1 | |||
kind: ConfigMap | |||
metadata: | |||
name: "cfg-{{ $name }}" | |||
labels: | |||
app: {{ template "apigwmm.name" . }} | |||
chart: {{ template "apigwmm.chart" .}} | |||
release: {{ .Release.Name }} | |||
heritage: {{ .Release.Service }} | |||
data: | |||
internalurls__identity: http://{{ .Values.app.svc.identity }} | |||
internalurls__basket__hc: http://{{ .Values.app.svc.basket }}/hc | |||
internalurls__catalog__hc: http://{{ .Values.app.svc.catalog }}/hc | |||
internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc | |||
internalurls__ordering__hc: http://{{ .Values.app.svc.ordering }}/hc | |||
internalurls__marketing__hc: http://{{ .Values.app.svc.marketing }}/hc | |||
internalurls__payment__hc: http://{{ .Values.app.svc.payment }}/hc | |||
internalurls__location__hc: http://{{ .Values.app.svc.locations }}/hc | |||
@ -1,142 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/c/{everything}", | |||
"UpstreamHttpMethod": [ "GET" ] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/b/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/o/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "mobileshoppingagg", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/{everything}", | |||
"UpstreamHttpMethod": [ "POST", "PUT", "GET" ], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/orders-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/basket-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/catalog-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/marketing-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "payment", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/payment-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations.api", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/location-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -0,0 +1,80 @@ | |||
admin: | |||
access_log_path: "/dev/null" | |||
address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 8001 | |||
static_resources: | |||
listeners: | |||
- address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 80 | |||
filter_chains: | |||
- filters: | |||
- name: envoy.http_connection_manager | |||
config: | |||
codec_type: auto | |||
stat_prefix: ingress_http | |||
route_config: | |||
name: eshop_backend_route | |||
virtual_hosts: | |||
- name: eshop_backend | |||
domains: | |||
- "*" | |||
routes: | |||
- match: | |||
prefix: "/api/v1/c/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: catalog | |||
- match: | |||
prefix: "/api/v1/o/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: ordering | |||
- match: | |||
prefix: "/api/v1/b/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: basket | |||
- match: | |||
prefix: "/" | |||
route: | |||
prefix_rewrite: "/" | |||
cluster: shoppingagg | |||
http_filters: | |||
- name: envoy.router | |||
clusters: | |||
- name: shoppingagg | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: webshoppingagg | |||
port_value: 80 | |||
- name: catalog | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: catalog-api | |||
port_value: 80 | |||
- name: basket | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: basket-api | |||
port_value: 80 | |||
- name: ordering | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: ordering-api | |||
port_value: 80 |
@ -1,21 +0,0 @@ | |||
{{- $name := include "apigwms.fullname" . -}} | |||
apiVersion: v1 | |||
kind: ConfigMap | |||
metadata: | |||
name: "cfg-{{ $name }}" | |||
labels: | |||
app: {{ template "apigwms.name" . }} | |||
chart: {{ template "apigwms.chart" .}} | |||
release: {{ .Release.Name }} | |||
heritage: {{ .Release.Service }} | |||
data: | |||
internalurls__identity: http://{{ .Values.app.svc.identity }} | |||
internalurls__basket__hc: http://{{ .Values.app.svc.basket }}/hc | |||
internalurls__catalog__hc: http://{{ .Values.app.svc.catalog }}/hc | |||
internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc | |||
internalurls__ordering__hc: http://{{ .Values.app.svc.ordering }}/hc | |||
internalurls__marketing__hc: http://{{ .Values.app.svc.marketing }}/hc | |||
internalurls__payment__hc: http://{{ .Values.app.svc.payment }}/hc | |||
internalurls__location__hc: http://{{ .Values.app.svc.locations }}/hc | |||
@ -1,34 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/m/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/l/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -0,0 +1,49 @@ | |||
admin: | |||
access_log_path: "/dev/null" | |||
address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 8001 | |||
static_resources: | |||
listeners: | |||
- address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 80 | |||
filter_chains: | |||
- filters: | |||
- name: envoy.http_connection_manager | |||
config: | |||
codec_type: auto | |||
stat_prefix: ingress_http | |||
route_config: | |||
name: eshop_backend_route | |||
virtual_hosts: | |||
- name: eshop_backend | |||
domains: | |||
- "*" | |||
routes: | |||
- match: | |||
prefix: "/api/v1/m/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: marketing | |||
http_filters: | |||
- name: envoy.router | |||
clusters: | |||
- name: marketing | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: marketing-api | |||
port_value: 80 | |||
- name: locations | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: locations-api | |||
port_value: 80 |
@ -1,21 +0,0 @@ | |||
{{- $name := include "apigwwm.fullname" . -}} | |||
apiVersion: v1 | |||
kind: ConfigMap | |||
metadata: | |||
name: "cfg-{{ $name }}" | |||
labels: | |||
app: {{ template "apigwwm.name" . }} | |||
chart: {{ template "apigwwm.chart" .}} | |||
release: {{ .Release.Name }} | |||
heritage: {{ .Release.Service }} | |||
data: | |||
internalurls__identity: http://{{ .Values.app.svc.identity }} | |||
internalurls__basket__hc: http://{{ .Values.app.svc.basket }}/hc | |||
internalurls__catalog__hc: http://{{ .Values.app.svc.catalog }}/hc | |||
internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc | |||
internalurls__ordering__hc: http://{{ .Values.app.svc.ordering }}/hc | |||
internalurls__marketing__hc: http://{{ .Values.app.svc.marketing }}/hc | |||
internalurls__payment__hc: http://{{ .Values.app.svc.payment }}/hc | |||
internalurls__location__hc: http://{{ .Values.app.svc.locations }}/hc | |||
@ -1,166 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 5000 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/c/{everything}", | |||
"UpstreamHttpMethod": [ "GET" ] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/grpc/{version}/c/{everything}", | |||
"UpstreamHttpMethod": [ "GET" ] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/b/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/o/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "webshoppingagg", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/{everything}", | |||
"UpstreamHttpMethod": [ "POST", "PUT", "GET" ], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/orders-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering-signalrhub", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/hub/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/basket-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 5000 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/catalog-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/marketing-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "payment", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/payment-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations.api", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/location-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -0,0 +1,80 @@ | |||
admin: | |||
access_log_path: "/dev/null" | |||
address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 8001 | |||
static_resources: | |||
listeners: | |||
- address: | |||
socket_address: | |||
address: 0.0.0.0 | |||
port_value: 80 | |||
filter_chains: | |||
- filters: | |||
- name: envoy.http_connection_manager | |||
config: | |||
codec_type: auto | |||
stat_prefix: ingress_http | |||
route_config: | |||
name: eshop_backend_route | |||
virtual_hosts: | |||
- name: eshop_backend | |||
domains: | |||
- "*" | |||
routes: | |||
- match: | |||
prefix: "/api/v1/c/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: catalog | |||
- match: | |||
prefix: "/api/v1/o/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: ordering | |||
- match: | |||
prefix: "/api/v1/b/" | |||
route: | |||
prefix_rewrite: "/api/v1/" | |||
cluster: basket | |||
- match: | |||
prefix: "/" | |||
route: | |||
prefix_rewrite: "/" | |||
cluster: shoppingagg | |||
http_filters: | |||
- name: envoy.router | |||
clusters: | |||
- name: shoppingagg | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: webshoppingagg | |||
port_value: 80 | |||
- name: catalog | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: catalog-api | |||
port_value: 80 | |||
- name: basket | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: basket-api | |||
port_value: 80 | |||
- name: ordering | |||
connect_timeout: 0.25s | |||
type: logical_dns | |||
lb_policy: round_robin | |||
hosts: | |||
- socket_address: | |||
address: ordering-api | |||
port_value: 80 |
@ -1,21 +0,0 @@ | |||
{{- $name := include "apigwws.fullname" . -}} | |||
apiVersion: v1 | |||
kind: ConfigMap | |||
metadata: | |||
name: "cfg-{{ $name }}" | |||
labels: | |||
app: {{ template "apigwws.name" . }} | |||
chart: {{ template "apigwws.chart" .}} | |||
release: {{ .Release.Name }} | |||
heritage: {{ .Release.Service }} | |||
data: | |||
internalurls__identity: http://{{ .Values.app.svc.identity }} | |||
internalurls__basket__hc: http://{{ .Values.app.svc.basket }}/hc | |||
internalurls__catalog__hc: http://{{ .Values.app.svc.catalog }}/hc | |||
internalurls__identity__hc: http://{{ .Values.app.svc.identity }}/hc | |||
internalurls__ordering__hc: http://{{ .Values.app.svc.ordering }}/hc | |||
internalurls__marketing__hc: http://{{ .Values.app.svc.marketing }}/hc | |||
internalurls__payment__hc: http://{{ .Values.app.svc.payment }}/hc | |||
internalurls__location__hc: http://{{ .Values.app.svc.locations }}/hc | |||
@ -1,34 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/m/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/l/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -1,142 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/c/{everything}", | |||
"UpstreamHttpMethod": [ "GET" ] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/b/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/o/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "mobileshoppingagg", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/{everything}", | |||
"UpstreamHttpMethod": [ "POST", "PUT", "GET" ], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/orders-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/basket-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/catalog-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/marketing-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "payment", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/payment-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations.api", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/location-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -1,34 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/m/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/l/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -1,154 +0,0 @@ | |||
{ | |||
"ReRoutes": [ | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/c/{everything}", | |||
"UpstreamHttpMethod": [ "GET" ] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/b/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/api/{version}/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/api/{version}/o/{everything}", | |||
"UpstreamHttpMethod": [], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "webshoppingagg", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/{everything}", | |||
"UpstreamHttpMethod": [ "POST", "PUT", "GET" ], | |||
"AuthenticationOptions": { | |||
"AuthenticationProviderKey": "IdentityApiKey", | |||
"AllowedScopes": [] | |||
} | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/orders-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "ordering-signalrhub", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/hub/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "basket", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/basket-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "catalog", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/catalog-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "marketing", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/marketing-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "payment", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/payment-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
}, | |||
{ | |||
"DownstreamPathTemplate": "/{everything}", | |||
"DownstreamScheme": "http", | |||
"DownstreamHostAndPorts": [ | |||
{ | |||
"Host": "locations.api", | |||
"Port": 80 | |||
} | |||
], | |||
"UpstreamPathTemplate": "/location-api/{everything}", | |||
"UpstreamHttpMethod": [] | |||
} | |||
], | |||
"GlobalConfiguration": { | |||
"RequestIdKey": "OcRequestId", | |||
"AdministrationPath": "/administration" | |||
} | |||
} | |||
@ -1,155 +0,0 @@ | |||
apiVersion: extensions/v1beta1 | |||
kind: Deployment | |||
metadata: | |||
name: apigwmm | |||
spec: | |||
paused: true | |||
template: | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: apigwmm | |||
spec: | |||
containers: | |||
- name: apigwmm | |||
image: eshop/ocelotapigw | |||
imagePullPolicy: Always | |||
env: | |||
- name: PATH_BASE | |||
value: /mobilemarketingapigw | |||
- name: IdentityUrl | |||
valueFrom: | |||
configMapKeyRef: | |||
name: internalurls | |||
key: identity | |||
ports: | |||
- containerPort: 80 | |||
volumeMounts: | |||
- name: config | |||
mountPath: /app/configuration | |||
volumes: | |||
- name: config | |||
configMap: | |||
name: ocelot | |||
items: | |||
- key: mm | |||
path: configuration.json | |||
imagePullSecrets: | |||
- name: registry-key | |||
--- | |||
apiVersion: extensions/v1beta1 | |||
kind: Deployment | |||
metadata: | |||
name: apigwms | |||
spec: | |||
paused: true | |||
template: | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: apigwms | |||
spec: | |||
containers: | |||
- name: apigwms | |||
image: eshop/ocelotapigw | |||
imagePullPolicy: Always | |||
env: | |||
- name: PATH_BASE | |||
value: /mobileshoppingapigw | |||
- name: IdentityUrl | |||
valueFrom: | |||
configMapKeyRef: | |||
name: internalurls | |||
key: identity | |||
ports: | |||
- containerPort: 80 | |||
volumeMounts: | |||
- name: config | |||
mountPath: /app/configuration | |||
volumes: | |||
- name: config | |||
configMap: | |||
name: ocelot | |||
items: | |||
- key: ms | |||
path: configuration.json | |||
imagePullSecrets: | |||
- name: registry-key | |||
--- | |||
apiVersion: extensions/v1beta1 | |||
kind: Deployment | |||
metadata: | |||
name: apigwwm | |||
spec: | |||
paused: true | |||
template: | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: apigwwm | |||
spec: | |||
containers: | |||
- name: apigwwm | |||
image: eshop/ocelotapigw | |||
imagePullPolicy: Always | |||
env: | |||
- name: PATH_BASE | |||
value: /webmarketingapigw | |||
- name: IdentityUrl | |||
valueFrom: | |||
configMapKeyRef: | |||
name: internalurls | |||
key: identity | |||
ports: | |||
- containerPort: 80 | |||
volumeMounts: | |||
- name: config | |||
mountPath: /app/configuration | |||
volumes: | |||
- name: config | |||
configMap: | |||
name: ocelot | |||
items: | |||
- key: wm | |||
path: configuration.json | |||
imagePullSecrets: | |||
- name: registry-key | |||
--- | |||
apiVersion: extensions/v1beta1 | |||
kind: Deployment | |||
metadata: | |||
name: apigwws | |||
spec: | |||
paused: true | |||
template: | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: apigwws | |||
spec: | |||
containers: | |||
- name: apigwws | |||
image: eshop/ocelotapigw | |||
imagePullPolicy: Always | |||
env: | |||
- name: PATH_BASE | |||
value: /webshoppingapigw | |||
- name: IdentityUrl | |||
valueFrom: | |||
configMapKeyRef: | |||
name: internalurls | |||
key: identity | |||
ports: | |||
- containerPort: 80 | |||
volumeMounts: | |||
- name: config | |||
mountPath: /app/configuration | |||
volumes: | |||
- name: config | |||
configMap: | |||
name: ocelot | |||
items: | |||
- key: ws | |||
path: configuration.json | |||
imagePullSecrets: | |||
- name: registry-key |
@ -1,55 +0,0 @@ | |||
apiVersion: v1 | |||
kind: Service | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: ocelotapigw-mm | |||
name: ocelotapigw-mm | |||
spec: | |||
ports: | |||
- port: 80 | |||
selector: | |||
app: eshop | |||
component: apigwmm | |||
--- | |||
apiVersion: v1 | |||
kind: Service | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: ocelotapigw-ms | |||
name: ocelotapigw-ms | |||
spec: | |||
ports: | |||
- port: 80 | |||
selector: | |||
app: eshop | |||
component: apigwms | |||
--- | |||
apiVersion: v1 | |||
kind: Service | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: ocelotapigw-wm | |||
name: ocelotapigw-wm | |||
spec: | |||
ports: | |||
- port: 80 | |||
selector: | |||
app: eshop | |||
component: apigwwm | |||
--- | |||
apiVersion: v1 | |||
kind: Service | |||
metadata: | |||
labels: | |||
app: eshop | |||
component: ocelotapigw-ws | |||
name: ocelotapigw-ws | |||
spec: | |||
ports: | |||
- port: 80 | |||
selector: | |||
app: eshop | |||
component: apigwws |