Skip to content

Commit

Permalink
feat(backend): Remove gateway service
Browse files Browse the repository at this point in the history
  • Loading branch information
BartlomiejRasztabiga committed Nov 3, 2023
1 parent f4823a5 commit c6f20c4
Show file tree
Hide file tree
Showing 22 changed files with 28 additions and 30 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,6 @@ jobs:
k8s/main/payment-service-deployment.yaml
k8s/main/query-service-deployment.yaml
k8s/main/saga-service-deployment.yaml
k8s/main/gateway-deployment.yaml
k8s/main/frontend-deployment.yaml
images: |
ghcr.io/bartlomiejrasztabiga/thesis/restaurant:${{ env.VERSION }}
Expand All @@ -195,5 +194,4 @@ jobs:
ghcr.io/bartlomiejrasztabiga/thesis/payment:${{ env.VERSION }}
ghcr.io/bartlomiejrasztabiga/thesis/query:${{ env.VERSION }}
ghcr.io/bartlomiejrasztabiga/thesis/saga:${{ env.VERSION }}
ghcr.io/bartlomiejrasztabiga/thesis/gateway:${{ env.VERSION }}
ghcr.io/bartlomiejrasztabiga/thesis/frontend:${{ env.VERSION }}
4 changes: 2 additions & 2 deletions delivery/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")

implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
Expand All @@ -53,7 +53,7 @@ dependencies {

implementation("com.google.maps:google-maps-services:2.2.0")

testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down
4 changes: 2 additions & 2 deletions e2e/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")

implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
Expand All @@ -54,7 +54,7 @@ dependencies {

testImplementation("io.rest-assured:rest-assured:5.3.2")
testImplementation("io.rest-assured:kotlin-extensions:5.3.2")
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/delivery-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
secretKeyRef:
name: gmaps-api-key
key: key
image: ghcr.io/bartlomiejrasztabiga/thesis/delivery:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/delivery:0.18.7
name: delivery-service
ports:
- containerPort: 8104
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
value: "3gSK8og83MMTCUlNrzGNfnzpBNyLlpTS"
- name: AUTH_CLIENT_SECRET
value: "fxntskIoYgCCXgxT-DYzTZraK4OwX-mwAcv8C4kZdszLDedqdtuwgTK8xB840C2G"
image: ghcr.io/bartlomiejrasztabiga/thesis/frontend:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/frontend:0.18.7
name: frontend
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/order-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- env:
- name: AXON_AXONSERVER_SERVERS
value: axonserver
image: ghcr.io/bartlomiejrasztabiga/thesis/order:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/order:0.18.7
name: order-service
ports:
- containerPort: 8102
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/payment-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
secretKeyRef:
name: stripe-api-key
key: frontend-domain
image: ghcr.io/bartlomiejrasztabiga/thesis/payment:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/payment:0.18.7
name: payment-service
ports:
- containerPort: 8103
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/query-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
secretKeyRef:
name: gmaps-api-key
key: key
image: ghcr.io/bartlomiejrasztabiga/thesis/query:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/query:0.18.7
name: query-service
ports:
- containerPort: 8105
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/restaurant-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
secretKeyRef:
name: gmaps-api-key
key: key
image: ghcr.io/bartlomiejrasztabiga/thesis/restaurant:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/restaurant:0.18.7
name: restaurant-service
ports:
- containerPort: 8101
Expand Down
2 changes: 1 addition & 1 deletion k8s/gcp/saga-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
value: axonserver
- name: SPRING_DATA_MONGODB_URI
value: "mongodb://root:password@saga-db:27017/saga?authSource=admin"
image: ghcr.io/bartlomiejrasztabiga/thesis/saga:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/saga:0.18.7
name: saga-service
ports:
- containerPort: 8106
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/delivery-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
secretKeyRef:
name: gmaps-api-key
key: key
image: ghcr.io/bartlomiejrasztabiga/thesis/delivery:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/delivery:0.18.7
name: delivery-service
ports:
- containerPort: 8104
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/frontend-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spec:
value: "3gSK8og83MMTCUlNrzGNfnzpBNyLlpTS"
- name: AUTH_CLIENT_SECRET
value: "fxntskIoYgCCXgxT-DYzTZraK4OwX-mwAcv8C4kZdszLDedqdtuwgTK8xB840C2G"
image: ghcr.io/bartlomiejrasztabiga/thesis/frontend:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/frontend:0.18.7
name: frontend
ports:
- containerPort: 8080
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/order-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ spec:
- env:
- name: AXON_AXONSERVER_SERVERS
value: axonserver
image: ghcr.io/bartlomiejrasztabiga/thesis/order:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/order:0.18.7
name: order-service
ports:
- containerPort: 8102
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/payment-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ spec:
secretKeyRef:
name: stripe-api-key
key: frontend-domain
image: ghcr.io/bartlomiejrasztabiga/thesis/payment:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/payment:0.18.7
name: payment-service
ports:
- containerPort: 8103
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/query-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ spec:
secretKeyRef:
name: gmaps-api-key
key: key
image: ghcr.io/bartlomiejrasztabiga/thesis/query:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/query:0.18.7
name: query-service
ports:
- containerPort: 8105
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/restaurant-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ spec:
secretKeyRef:
name: gmaps-api-key
key: key
image: ghcr.io/bartlomiejrasztabiga/thesis/restaurant:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/restaurant:0.18.7
name: restaurant-service
ports:
- containerPort: 8101
Expand Down
2 changes: 1 addition & 1 deletion k8s/main/saga-service-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ spec:
value: axonserver
- name: SPRING_DATA_MONGODB_URI
value: "mongodb://root:password@saga-db:27017/saga?authSource=admin"
image: ghcr.io/bartlomiejrasztabiga/thesis/saga:0.18.6
image: ghcr.io/bartlomiejrasztabiga/thesis/saga:0.18.7
name: saga-service
ports:
- containerPort: 8106
Expand Down
4 changes: 2 additions & 2 deletions order/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")
implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
implementation("org.springframework.boot:spring-boot-starter-security")
Expand All @@ -52,7 +52,7 @@ dependencies {
implementation(kotlin("reflect"))
implementation(kotlin("stdlib"))

testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down
4 changes: 2 additions & 2 deletions payment/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")

implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
Expand All @@ -53,7 +53,7 @@ dependencies {
implementation(kotlin("reflect"))
implementation(kotlin("stdlib"))

testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down
4 changes: 2 additions & 2 deletions query/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")

implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
Expand All @@ -55,7 +55,7 @@ dependencies {

implementation("com.google.maps:google-maps-services:2.2.0")

testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down
4 changes: 2 additions & 2 deletions restaurant/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")

implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-webflux")
Expand All @@ -51,7 +51,7 @@ dependencies {
implementation(kotlin("reflect"))
implementation(kotlin("stdlib"))

testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down
4 changes: 2 additions & 2 deletions saga/build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ val axonVersion = "4.9.0"
val kotestVersion = "5.8.0"

dependencies {
implementation("me.rasztabiga.thesis:shared:0.18.6")
implementation("me.rasztabiga.thesis:shared:0.18.7")

implementation("org.springframework.boot:spring-boot-starter-actuator")
implementation("org.springframework.boot:spring-boot-starter-security")
Expand All @@ -52,7 +52,7 @@ dependencies {
implementation(kotlin("reflect"))
implementation(kotlin("stdlib"))

testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.6"))
testImplementation(testFixtures("me.rasztabiga.thesis:shared:0.18.7"))
testImplementation("org.springframework.boot:spring-boot-starter-test")
testImplementation("io.projectreactor:reactor-test")
testImplementation("org.axonframework:axon-test")
Expand Down

0 comments on commit c6f20c4

Please sign in to comment.