Merge branch 'completeEnv' into 'main'

Complete env

See merge request v3/service/auth!53
This commit is contained in:
Sylvain Briat 2023-10-18 08:40:14 +00:00
commit 894a113975
4 changed files with 6 additions and 4 deletions

View File

@ -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

4
package-lock.json generated
View File

@ -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",

View File

@ -1,6 +1,6 @@
{
"name": "@mobicoop/auth",
"version": "0.6.1",
"version": "0.6.2",
"description": "Mobicoop V3 Auth Service",
"author": "sbriat",
"private": true,

View File

@ -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,
}),
);