From 3f72737b09484cad513d6c8669851547bf8ae0be Mon Sep 17 00:00:00 2001 From: sbriat Date: Mon, 3 Jul 2023 09:47:28 +0200 Subject: [PATCH] fix application directory typo --- .../{aplication => application}/ports/check-repository.port.ts | 0 .../usecases/repositories.health-indicator.usecase.ts | 0 src/modules/health/health.module.ts | 2 +- .../health/interface/grpc-controllers/health.grpc.controller.ts | 2 +- .../health/interface/http-controllers/health.http.controller.ts | 2 +- src/modules/health/tests/unit/health.grpc.controller.spec.ts | 2 +- src/modules/health/tests/unit/health.http.controller.spec.ts | 2 +- .../tests/unit/repositories.health-indicator.usecase.spec.ts | 2 +- 8 files changed, 6 insertions(+), 6 deletions(-) rename src/modules/health/core/{aplication => application}/ports/check-repository.port.ts (100%) rename src/modules/health/core/{aplication => application}/usecases/repositories.health-indicator.usecase.ts (100%) diff --git a/src/modules/health/core/aplication/ports/check-repository.port.ts b/src/modules/health/core/application/ports/check-repository.port.ts similarity index 100% rename from src/modules/health/core/aplication/ports/check-repository.port.ts rename to src/modules/health/core/application/ports/check-repository.port.ts diff --git a/src/modules/health/core/aplication/usecases/repositories.health-indicator.usecase.ts b/src/modules/health/core/application/usecases/repositories.health-indicator.usecase.ts similarity index 100% rename from src/modules/health/core/aplication/usecases/repositories.health-indicator.usecase.ts rename to src/modules/health/core/application/usecases/repositories.health-indicator.usecase.ts diff --git a/src/modules/health/health.module.ts b/src/modules/health/health.module.ts index 34e6148..5e30741 100644 --- a/src/modules/health/health.module.ts +++ b/src/modules/health/health.module.ts @@ -4,7 +4,7 @@ import { TerminusModule } from '@nestjs/terminus'; import { MESSAGE_BROKER_PUBLISHER, MESSAGE_PUBLISHER } from 'src/app.constants'; import { MessageBrokerPublisher } from '@mobicoop/message-broker-module'; import { MessagePublisher } from './infrastructure/message-publisher'; -import { RepositoriesHealthIndicatorUseCase } from './core/aplication/usecases/repositories.health-indicator.usecase'; +import { RepositoriesHealthIndicatorUseCase } from './core/application/usecases/repositories.health-indicator.usecase'; import { AdRepository } from '../ad/infrastructure/ad.repository'; import { AD_REPOSITORY } from './health.di-tokens'; import { HealthGrpcController } from './interface/grpc-controllers/health.grpc.controller'; diff --git a/src/modules/health/interface/grpc-controllers/health.grpc.controller.ts b/src/modules/health/interface/grpc-controllers/health.grpc.controller.ts index 4b1bfa3..a016ee4 100644 --- a/src/modules/health/interface/grpc-controllers/health.grpc.controller.ts +++ b/src/modules/health/interface/grpc-controllers/health.grpc.controller.ts @@ -1,6 +1,6 @@ import { Controller } from '@nestjs/common'; import { GrpcMethod } from '@nestjs/microservices'; -import { RepositoriesHealthIndicatorUseCase } from '../../core/aplication/usecases/repositories.health-indicator.usecase'; +import { RepositoriesHealthIndicatorUseCase } from '../../core/application/usecases/repositories.health-indicator.usecase'; export enum ServingStatus { UNKNOWN = 0, diff --git a/src/modules/health/interface/http-controllers/health.http.controller.ts b/src/modules/health/interface/http-controllers/health.http.controller.ts index 77ca8b8..32428e9 100644 --- a/src/modules/health/interface/http-controllers/health.http.controller.ts +++ b/src/modules/health/interface/http-controllers/health.http.controller.ts @@ -1,4 +1,4 @@ -import { RepositoriesHealthIndicatorUseCase } from '@modules/health/core/aplication/usecases/repositories.health-indicator.usecase'; +import { RepositoriesHealthIndicatorUseCase } from '@modules/health/core/application/usecases/repositories.health-indicator.usecase'; import { Controller, Get } from '@nestjs/common'; import { HealthCheckService, diff --git a/src/modules/health/tests/unit/health.grpc.controller.spec.ts b/src/modules/health/tests/unit/health.grpc.controller.spec.ts index 24ac94d..25434ad 100644 --- a/src/modules/health/tests/unit/health.grpc.controller.spec.ts +++ b/src/modules/health/tests/unit/health.grpc.controller.spec.ts @@ -1,4 +1,4 @@ -import { RepositoriesHealthIndicatorUseCase } from '@modules/health/core/aplication/usecases/repositories.health-indicator.usecase'; +import { RepositoriesHealthIndicatorUseCase } from '@modules/health/core/application/usecases/repositories.health-indicator.usecase'; import { HealthGrpcController, ServingStatus, diff --git a/src/modules/health/tests/unit/health.http.controller.spec.ts b/src/modules/health/tests/unit/health.http.controller.spec.ts index f7d2d24..3fe40bb 100644 --- a/src/modules/health/tests/unit/health.http.controller.spec.ts +++ b/src/modules/health/tests/unit/health.http.controller.spec.ts @@ -1,4 +1,4 @@ -import { RepositoriesHealthIndicatorUseCase } from '@modules/health/core/aplication/usecases/repositories.health-indicator.usecase'; +import { RepositoriesHealthIndicatorUseCase } from '@modules/health/core/application/usecases/repositories.health-indicator.usecase'; import { HealthHttpController } from '@modules/health/interface/http-controllers/health.http.controller'; import { HealthCheckResult, HealthCheckService } from '@nestjs/terminus'; import { Test, TestingModule } from '@nestjs/testing'; diff --git a/src/modules/health/tests/unit/repositories.health-indicator.usecase.spec.ts b/src/modules/health/tests/unit/repositories.health-indicator.usecase.spec.ts index 314afc6..340d558 100644 --- a/src/modules/health/tests/unit/repositories.health-indicator.usecase.spec.ts +++ b/src/modules/health/tests/unit/repositories.health-indicator.usecase.spec.ts @@ -1,6 +1,6 @@ import { Test, TestingModule } from '@nestjs/testing'; import { HealthCheckError, HealthIndicatorResult } from '@nestjs/terminus'; -import { RepositoriesHealthIndicatorUseCase } from '../../core/aplication/usecases/repositories.health-indicator.usecase'; +import { RepositoriesHealthIndicatorUseCase } from '../../core/application/usecases/repositories.health-indicator.usecase'; import { AD_REPOSITORY } from '@modules/health/health.di-tokens'; import { MESSAGE_PUBLISHER } from '@src/app.constants'; import { DatabaseErrorException } from '@mobicoop/ddd-library';