From 670622c78f3f0e3160ca535331a757f48f725a0f Mon Sep 17 00:00:00 2001
From: Vishnu Mohan <77823657+KingKong26@users.noreply.github.com>
Date: Tue, 14 May 2024 20:13:17 +0530
Subject: [PATCH] new startup messages for test
---
client/pages/index.js | 2 +-
expiration/src/index.ts | 1 +
orders/src/index.ts | 2 +-
payments/src/index.ts | 1 +
tickets/src/index.ts | 1 +
5 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/client/pages/index.js b/client/pages/index.js
index 1f5dc26..326714a 100644
--- a/client/pages/index.js
+++ b/client/pages/index.js
@@ -16,7 +16,7 @@ const LandingPage = ({ tickets }) => {
});
return (
-
Tickets
+
Tickets
diff --git a/expiration/src/index.ts b/expiration/src/index.ts
index d364bb0..cec36e0 100644
--- a/expiration/src/index.ts
+++ b/expiration/src/index.ts
@@ -2,6 +2,7 @@ import { natsWrapper } from "./nats-wrapper";
import { OrderCreatedListener } from "./events/listeners/order-created-listener";
const start = async () => {
+ console.log("Starting up....")
if (!process.env.NATS_CLIENT_ID) {
throw new Error("NATS_CLIENT_ID is not defined");
}
diff --git a/orders/src/index.ts b/orders/src/index.ts
index c7c7cda..840a375 100644
--- a/orders/src/index.ts
+++ b/orders/src/index.ts
@@ -7,7 +7,7 @@ import { ExpirationCompleteListener } from "./events/listeners/expiration-comple
import { PaymentCreatedListener } from "./events/listeners/payment-created-listener";
const start = async () => {
- console.log("Starting up...");
+ console.log("Starting up....");
if (!process.env.JWT_KEY) {
throw new Error("JWT_KEY is not defined");
}
diff --git a/payments/src/index.ts b/payments/src/index.ts
index 5034e94..fecee21 100644
--- a/payments/src/index.ts
+++ b/payments/src/index.ts
@@ -5,6 +5,7 @@ import { OrderCancelledListener } from "./events/listeners/order-cancelled-liste
import { OrderCreatedListener } from "./events/listeners/order-created-listener";
const start = async () => {
+ console.log("Starting up....")
if (!process.env.JWT_KEY) {
throw new Error("JWT_KEY is not defined");
}
diff --git a/tickets/src/index.ts b/tickets/src/index.ts
index c7a3146..44bdd9c 100644
--- a/tickets/src/index.ts
+++ b/tickets/src/index.ts
@@ -5,6 +5,7 @@ import { OrderCreatedListener } from "./events/listeners/order-created-listener"
import { OrderCancelledListener } from "./events/listeners/order-cancelled-listener";
const start = async () => {
+ console.log("Starting up....")
if (!process.env.JWT_KEY) {
throw new Error("JWT_KEY is not defined");
}