mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-09 13:19:07 +00:00
New features to Connector's Search
This commit is contained in:
@@ -9,9 +9,10 @@ export class DucClient {
|
||||
options: {
|
||||
url: process.env.DUC_URL,
|
||||
package: ProtoPackages.WritePackage,
|
||||
credentials: process.env.LOCAL_ENV
|
||||
? undefined
|
||||
: credentials.createSsl(),
|
||||
credentials: credentials.createSsl(),
|
||||
// credentials: process.env.LOCAL_ENV
|
||||
// ? undefined
|
||||
// : credentials.createSsl(),
|
||||
protoPath: ProtoPaths.WriteFilePath,
|
||||
loader: {
|
||||
keepCase: true,
|
||||
|
||||
@@ -12,9 +12,10 @@ export class ConnectorClientConfiguration {
|
||||
ConnectorManager.ProtoPackages.WritePackage,
|
||||
ConnectorManager.ProtoPackages.ReadPackage,
|
||||
],
|
||||
credentials: process.env.LOCAL_ENV
|
||||
? undefined
|
||||
: credentials.createSsl(),
|
||||
credentials: undefined,
|
||||
// credentials: process.env.LOCAL_ENV
|
||||
// ? undefined
|
||||
// : credentials.createSsl(),
|
||||
protoPath: [
|
||||
ConnectorManager.ProtoPaths.WriteFilePath,
|
||||
ConnectorManager.ProtoPaths.ReadFilePath,
|
||||
|
||||
@@ -99,6 +99,9 @@ export class ConnectorClientService implements OnModuleInit {
|
||||
this.connectorServiceRead.GetAllConnectors({
|
||||
search: body.search,
|
||||
filters: JSON.stringify(body.filters),
|
||||
language: body.language,
|
||||
page: body.page,
|
||||
size: body.size,
|
||||
}),
|
||||
).catch((err) => {
|
||||
throw new HttpException(
|
||||
|
||||
Reference in New Issue
Block a user