Skip to content
This repository was archived by the owner on Sep 12, 2024. It is now read-only.

feat: add ecomon-new and fiesda-new pieces #7

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,11 @@ AP_POSTGRES_HOST=postgres
AP_POSTGRES_PORT=5432
AP_POSTGRES_USERNAME=postgres
AP_POSTGRES_PASSWORD=
AP_EXECUTION_MODE=UNSANDBOXED
AP_EXECUTION_MODE=SANDBOXED
AP_REDIS_HOST=redis
AP_REDIS_PORT=6379
AP_SANDBOX_RUN_TIME_SECONDS=600
AP_TELEMETRY_ENABLED=true
AP_TEMPLATES_SOURCE_URL="https://cloud.activepieces.com/api/v1/flow-templates"
AP_PIECES_SOURCE=FILE
AP_SIGN_UP_ENABLED=true
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ RUN npm i -g \
[email protected]

# Set the locale
ENV LANG en_US.UTF-8
ENV LANGUAGE en_US:en
ENV LC_ALL en_US.UTF-8
ENV LANG=en_US.UTF-8
ENV LANGUAGE=en_US:en
ENV LC_ALL=en_US.UTF-8


RUN apt-get update \
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import { flowService } from '../flows/flow/flow.service'
import { webhookService } from '../webhooks/webhook-service'
import { AppEventRouting } from './app-event-routing.entity'
import { appEventRoutingService } from './app-event-routing.service'
import { ecomonNew } from '@activepieces/piece-ecomon-new'
import { facebookLeads } from '@activepieces/piece-facebook-leads'
import { fiesdaNew } from '@activepieces/piece-fiesda-new'
import { slack } from '@activepieces/piece-slack'
import { square } from '@activepieces/piece-square'
import { Piece } from '@activepieces/pieces-framework'
Expand All @@ -20,12 +22,16 @@ const appWebhooks: Record<string, Piece> = {
slack,
square,
'facebook-leads': facebookLeads,
ecomonNew,
fiesdaNew,
}

const pieceNames: Record<string, string> = {
slack: '@activepieces/piece-slack',
square: '@activepieces/piece-square',
'facebook-leads': '@activepieces/piece-facebook-leads',
ecomonNew: '@activepieces/piece-ecomon-new',
fiesdaNew: '@activepieces/piece-fiesda-new',
}

export const appEventRoutingModule: FastifyPluginAsyncTypebox = async (app) => {
Expand Down
Loading