- Revised implementation progress to reflect 75% completion of Phase 1 (Critical Security) and 25% of Phase 2 (Performance). - Added new performance fix for catalog response caching using Redis. - Enhanced error handling by replacing generic errors with domain-specific exceptions in Salesforce and WHMCS services. - Implemented throttling in catalog and orders controllers to manage request rates effectively. - Updated various services to utilize caching for improved performance and reduced load times. - Improved logging for better error tracking and debugging across the application.
27 lines
1.1 KiB
TypeScript
27 lines
1.1 KiB
TypeScript
import { Module } from "@nestjs/common";
|
|
import { CatalogController } from "./catalog.controller";
|
|
import { IntegrationsModule } from "@bff/integrations/integrations.module";
|
|
import { MappingsModule } from "@bff/modules/id-mappings/mappings.module";
|
|
import { CoreConfigModule } from "@bff/core/config/config.module";
|
|
import { CacheModule } from "@bff/infra/cache/cache.module";
|
|
|
|
import { BaseCatalogService } from "./services/base-catalog.service";
|
|
import { InternetCatalogService } from "./services/internet-catalog.service";
|
|
import { SimCatalogService } from "./services/sim-catalog.service";
|
|
import { VpnCatalogService } from "./services/vpn-catalog.service";
|
|
import { CatalogCacheService } from "./services/catalog-cache.service";
|
|
|
|
@Module({
|
|
imports: [IntegrationsModule, MappingsModule, CoreConfigModule, CacheModule],
|
|
controllers: [CatalogController],
|
|
providers: [
|
|
BaseCatalogService,
|
|
InternetCatalogService,
|
|
SimCatalogService,
|
|
VpnCatalogService,
|
|
CatalogCacheService,
|
|
],
|
|
exports: [InternetCatalogService, SimCatalogService, VpnCatalogService],
|
|
})
|
|
export class CatalogModule {}
|