mirror of
https://github.com/dadosfera/maestro.git
synced 2026-09-24 04:24:49 +00:00
20 lines
707 B
TypeScript
20 lines
707 B
TypeScript
import { Module } from '@nestjs/common';
|
|
import { ClientsModule } from '@nestjs/microservices';
|
|
import { DadosferaLogger } from '@dadosfera/dadosfera-logs';
|
|
|
|
import { PipelinesController } from './pipelines.controller';
|
|
import { PipelinesService } from './pipelines.service';
|
|
|
|
import { PipelinesClientConfiguration } from './pipelines-client';
|
|
import { PipelinesClientService } from './client.service';
|
|
|
|
const client = new PipelinesClientConfiguration();
|
|
|
|
@Module({
|
|
imports: [ClientsModule.register([client.providerOptions])],
|
|
controllers: [PipelinesController],
|
|
providers: [PipelinesService, PipelinesClientService, DadosferaLogger],
|
|
exports: [PipelinesService],
|
|
})
|
|
export class PipelinesModule {}
|