From ac1dbbd1b3d7e379f155ef770dc6749ffb2ca729 Mon Sep 17 00:00:00 2001 From: sbriat Date: Wed, 18 Oct 2023 10:27:41 +0200 Subject: [PATCH 1/3] complete env file with missing entry --- .env.dist | 1 + 1 file changed, 1 insertion(+) diff --git a/.env.dist b/.env.dist index 3af4122..183d6b3 100644 --- a/.env.dist +++ b/.env.dist @@ -9,6 +9,7 @@ DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=auth" # MESSAGE BROKER MESSAGE_BROKER_URI=amqp://v3-broker:5672 MESSAGE_BROKER_EXCHANGE=mobicoop +MESSAGE_BROKER_EXCHANGE_DURABILITY=true # OPA OPA_IMAGE=openpolicyagent/opa:0.57.0 From f453d5f84a555c2444111187bf2567b27249cb25 Mon Sep 17 00:00:00 2001 From: sbriat Date: Wed, 18 Oct 2023 10:29:05 +0200 Subject: [PATCH 2/3] complete env file with missing entry --- .../authentication/infrastructure/authentication.repository.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/modules/authentication/infrastructure/authentication.repository.ts b/src/modules/authentication/infrastructure/authentication.repository.ts index f32dc12..87adb0a 100644 --- a/src/modules/authentication/infrastructure/authentication.repository.ts +++ b/src/modules/authentication/infrastructure/authentication.repository.ts @@ -10,6 +10,7 @@ import { AuthenticationRepositoryPort } from '../core/application/ports/authenti import { PrismaService } from './prisma.service'; import { AuthenticationMapper } from '../authentication.mapper'; import { AUTH_MESSAGE_PUBLISHER } from '../authentication.di-tokens'; +import { SERVICE_NAME } from '@src/app.constants'; type AuthenticationBaseModel = { uuid: string; @@ -59,7 +60,7 @@ export class AuthenticationRepository eventEmitter, new LoggerBase({ logger: new Logger(AuthenticationRepository.name), - domain: 'auth', + domain: SERVICE_NAME, messagePublisher, }), ); From a6fa7058a3285e98f4dae270010e75fd8533b285 Mon Sep 17 00:00:00 2001 From: sbriat Date: Wed, 18 Oct 2023 10:29:11 +0200 Subject: [PATCH 3/3] 0.6.2 --- package-lock.json | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package-lock.json b/package-lock.json index a14a6fb..1e06f8a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@mobicoop/auth", - "version": "0.6.1", + "version": "0.6.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@mobicoop/auth", - "version": "0.6.1", + "version": "0.6.2", "license": "AGPL", "dependencies": { "@golevelup/nestjs-rabbitmq": "^4.0.0", diff --git a/package.json b/package.json index 85d8ef9..49e7865 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@mobicoop/auth", - "version": "0.6.1", + "version": "0.6.2", "description": "Mobicoop V3 Auth Service", "author": "sbriat", "private": true,