diff --git a/src/cmd/server/main.go b/src/cmd/server/main.go index 03f4ba3..098f215 100644 --- a/src/cmd/server/main.go +++ b/src/cmd/server/main.go @@ -24,7 +24,7 @@ const ( defCacheAddr = "api-cache:6379" defCachePassword = "12345678" defMongoDbURL = "mongodb://mongodb:12345678@mongo-db:27017" - defEventBusURL = "amqp://guest:guest@api-eventbus:5672" + defEventBusURL = "amqp://guest:guest@api-gateway:5672" ebEventsExchange = "api-events" ebEventsQueue = "pricing-svc" defKVNmspc = "dev.egommerce/service/pricing-svc" diff --git a/src/cmd/worker/main.go b/src/cmd/worker/main.go index 1eee5a8..46d7dcc 100644 --- a/src/cmd/worker/main.go +++ b/src/cmd/worker/main.go @@ -29,7 +29,7 @@ const ( defCacheAddr = "api-cache:6379" defCachePassword = "12345678" defMongoDbURL = "mongodb://mongodb:12345678@mongo-db:27017" - defEventBusURL = "amqp://guest:guest@api-eventbus:5672" + defEventBusURL = "amqp://guest:guest@api-gateway:5672" ebEventsExchange = "api-events" ebEventsQueue = "pricing-worker" defKVNmspc = "dev.egommerce/service/pricing-worker"