mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-21 17:19:08 +00:00
FEAT: add new api route to get pipeline objects
This commit is contained in:
@@ -250,6 +250,17 @@ export class PipelinesService implements OnModuleInit {
|
||||
};
|
||||
}
|
||||
|
||||
async findOneObjects(id: string, metadata: Metadata) {
|
||||
this.logger.info('PipelinesClientService - FindOneObjects');
|
||||
|
||||
const findOnePipelineResponse = await lastValueFrom(
|
||||
this.pipelineReadService.PipelineV2FindObjects({ id }, metadata),
|
||||
);
|
||||
this.logger.info('Done');
|
||||
|
||||
return findOnePipelineResponse;
|
||||
}
|
||||
|
||||
async uploadFile(uploadFile, metadata) {
|
||||
const body: Messages.PipelineV2UploadFileRequest = {
|
||||
file: {
|
||||
|
||||
Reference in New Issue
Block a user