mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-11 10:49:08 +00:00
Transformations Refactor
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { Module } from '@nestjs/common';
|
||||
import { ClientsModule } from '@nestjs/microservices';
|
||||
import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
|
||||
|
||||
import { TransformationsController } from './transformations.controller';
|
||||
import { TransformationsService } from './transformations.service';
|
||||
|
||||
import { TransformationsClientConfiguration } from './transformations-client';
|
||||
import { TransformationsClientService } from './client.service';
|
||||
const client = new TransformationsClientConfiguration();
|
||||
|
||||
@Module({
|
||||
imports: [ClientsModule.register([client.providerOptions])],
|
||||
controllers: [TransformationsController],
|
||||
providers: [
|
||||
TransformationsService,
|
||||
TransformationsClientService,
|
||||
DadosferaLogger,
|
||||
],
|
||||
exports: [TransformationsService],
|
||||
})
|
||||
export class TransformationsModule {}
|
||||
Reference in New Issue
Block a user