Merge branch 'completeEnv' into 'main'
Complete env See merge request v3/service/auth!53
This commit is contained in:
commit
894a113975
|
@ -9,6 +9,7 @@ DATABASE_URL="postgresql://mobicoop:mobicoop@v3-db:5432/mobicoop?schema=auth"
|
||||||
# MESSAGE BROKER
|
# MESSAGE BROKER
|
||||||
MESSAGE_BROKER_URI=amqp://v3-broker:5672
|
MESSAGE_BROKER_URI=amqp://v3-broker:5672
|
||||||
MESSAGE_BROKER_EXCHANGE=mobicoop
|
MESSAGE_BROKER_EXCHANGE=mobicoop
|
||||||
|
MESSAGE_BROKER_EXCHANGE_DURABILITY=true
|
||||||
|
|
||||||
# OPA
|
# OPA
|
||||||
OPA_IMAGE=openpolicyagent/opa:0.57.0
|
OPA_IMAGE=openpolicyagent/opa:0.57.0
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"name": "@mobicoop/auth",
|
"name": "@mobicoop/auth",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"lockfileVersion": 3,
|
"lockfileVersion": 3,
|
||||||
"requires": true,
|
"requires": true,
|
||||||
"packages": {
|
"packages": {
|
||||||
"": {
|
"": {
|
||||||
"name": "@mobicoop/auth",
|
"name": "@mobicoop/auth",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"license": "AGPL",
|
"license": "AGPL",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@golevelup/nestjs-rabbitmq": "^4.0.0",
|
"@golevelup/nestjs-rabbitmq": "^4.0.0",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "@mobicoop/auth",
|
"name": "@mobicoop/auth",
|
||||||
"version": "0.6.1",
|
"version": "0.6.2",
|
||||||
"description": "Mobicoop V3 Auth Service",
|
"description": "Mobicoop V3 Auth Service",
|
||||||
"author": "sbriat",
|
"author": "sbriat",
|
||||||
"private": true,
|
"private": true,
|
||||||
|
|
|
@ -10,6 +10,7 @@ import { AuthenticationRepositoryPort } from '../core/application/ports/authenti
|
||||||
import { PrismaService } from './prisma.service';
|
import { PrismaService } from './prisma.service';
|
||||||
import { AuthenticationMapper } from '../authentication.mapper';
|
import { AuthenticationMapper } from '../authentication.mapper';
|
||||||
import { AUTH_MESSAGE_PUBLISHER } from '../authentication.di-tokens';
|
import { AUTH_MESSAGE_PUBLISHER } from '../authentication.di-tokens';
|
||||||
|
import { SERVICE_NAME } from '@src/app.constants';
|
||||||
|
|
||||||
type AuthenticationBaseModel = {
|
type AuthenticationBaseModel = {
|
||||||
uuid: string;
|
uuid: string;
|
||||||
|
@ -59,7 +60,7 @@ export class AuthenticationRepository
|
||||||
eventEmitter,
|
eventEmitter,
|
||||||
new LoggerBase({
|
new LoggerBase({
|
||||||
logger: new Logger(AuthenticationRepository.name),
|
logger: new Logger(AuthenticationRepository.name),
|
||||||
domain: 'auth',
|
domain: SERVICE_NAME,
|
||||||
messagePublisher,
|
messagePublisher,
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue