From 167294cb8c5d9b01d1f160a348d9a3b1f8926ffa Mon Sep 17 00:00:00 2001 From: Botty Date: Thu, 8 Aug 2024 18:58:51 +0000 Subject: [PATCH] updated order-service.json --- .build/src/json/components/order-service.json | 26 +++++++++---------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.build/src/json/components/order-service.json b/.build/src/json/components/order-service.json index d454f82..4714522 100644 --- a/.build/src/json/components/order-service.json +++ b/.build/src/json/components/order-service.json @@ -8,19 +8,6 @@ "distanceFromUs" : "OWNED" } ], "dependencies" : [ { - "id" : "order-database", - "type" : "DATABASE", - "distanceFromUs" : "OWNED" - }, { - "id" : "payment-service", - "type" : "BACKEND", - "distanceFromUs" : "CLOSE", - "credentials" : [ "JWT" ], - "httpEndpoints" : [ { - "method" : "POST", - "path" : "/payments" - } ] - }, { "id" : "inventory-service", "type" : "BACKEND", "distanceFromUs" : "OWNED", @@ -32,6 +19,19 @@ "method" : "POST", "path" : "/inventory/{productId}/reserve" } ] + }, { + "id" : "payment-service", + "type" : "BACKEND", + "distanceFromUs" : "CLOSE", + "credentials" : [ "JWT" ], + "httpEndpoints" : [ { + "method" : "POST", + "path" : "/payments" + } ] + }, { + "id" : "order-database", + "type" : "DATABASE", + "distanceFromUs" : "OWNED" } ], "events" : [ { "name" : "Order Canceled",