Skip to content

Commit

Permalink
Adds experience API to workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rspurgeon committed Sep 19, 2023
1 parent 07584b8 commit 23353a6
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/stage-changes-for-kong.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
- 'sales/bookings/kong/**'
- 'sales/customer/opeanapi.yaml'
- 'sales/customer/kong/**'
- 'experience/kong/**'
- 'platform/kong/**'
oas-to-kong:
Expand Down Expand Up @@ -110,6 +111,12 @@ jobs:
deck file merge \
.github/artifacts/kong/*-kong.yaml -o .github/artifacts/kong/kong-combined.yaml
- name: Merge Experience API Configurations
run: |
deck file merge \
.github/artifacts/kong/kong-combined.yaml experience/kong/experience-service.yaml \
-o .github/artifacts/kong/kong-combined.yaml
- name: Platform Team Kong Additions
# The platform team has their own things to add to the final Kong configuration.
# The platform-kong-base.yaml is a base file for any platform defaults. It will "win" over
Expand Down
25 changes: 25 additions & 0 deletions experience/kong/experience-service.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
services:
- host: experience.kongair
id: f1c41796-5c88-419b-a391-baa0c2f62f0d
name: experience-service
path: /
plugins:
- _config: default-jwt
enabled: true
name: jwt
port: 8084
protocol: http
routes:
- id: 52cc7a8f-8914-46aa-990d-ad07197d7fc9
methods:
- POST
name: experience-service_query
paths:
- ~/query$
plugins: []
protocols:
- https
regex_priority: 200
strip_path: false
tags:
- experience

0 comments on commit 23353a6

Please sign in to comment.