Skip to content

Commit

Permalink
Merge pull request #513 from panoratech/feat/connections-updates
Browse files Browse the repository at this point in the history
✨ New connections code + sentry update
  • Loading branch information
naelob authored Jun 18, 2024
2 parents 6bd60fc + 0d475b2 commit b6809f4
Show file tree
Hide file tree
Showing 89 changed files with 3,529 additions and 915 deletions.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ JWT_SECRET=secret_jwt
ENCRYPT_CRYPTO_SECRET_KEY="0123456789abcdef0123456789abcdef"
#Managed only
SENTRY_DSN=
SENTRY_ENABLED=FALSE


# ================================================
Expand Down
17 changes: 16 additions & 1 deletion docker-compose.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ services:
DISTRIBUTION: ${DISTRIBUTION}
WEBHOOK_INGRESS: ${WEBHOOK_INGRESS}
JWT_SECRET: ${JWT_SECRET}
SENTRY_ENABLED: ${SENTRY_ENABLED}
SENTRY_DSN: ${SENTRY_DSN}
REDIS_HOST: ${REDIS_HOST}
REDIS_PASS: ${REDIS_PASS}
REDIS_USER: ${REDIS_USER}
Expand Down Expand Up @@ -130,7 +132,20 @@ services:
DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET: ${DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET}
BOX_FILESTORAGE_CLOUD_CLIENT_ID: ${BOX_FILESTORAGE_CLOUD_CLIENT_ID}
BOX_FILESTORAGE_CLOUD_CLIENT_SECRET: ${BOX_FILESTORAGE_CLOUD_CLIENT_SECRET}

KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_ID: ${KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_ID}
KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET: ${KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET}
GUSTO_HRIS_CLOUD_CLIENT_ID: ${GUSTO_HRIS_CLOUD_CLIENT_ID}
GUSTO_HRIS_CLOUD_CLIENT_SECRET: ${GUSTO_HRIS_CLOUD_CLIENT_SECRET}
GREENHOUSE_ATS_CLOUD_CLIENT_ID: ${GREENHOUSE_ATS_CLOUD_CLIENT_ID}
GREENHOUSE_ATS_CLOUD_CLIENT_SECRET: ${GREENHOUSE_ATS_CLOUD_CLIENT_SECRET}
JOBADDER_ATS_CLOUD_CLIENT_ID: ${JOBADDER_ATS_CLOUD_CLIENT_ID}
JOBADDER_ATS_CLOUD_CLIENT_SECRET: ${JOBADDER_ATS_CLOUD_CLIENT_SECRET}
LEVER_ATS_CLOUD_CLIENT_ID: ${LEVER_ATS_CLOUD_CLIENT_ID}
LEVER_ATS_CLOUD_CLIENT_SECRET: ${LEVER_ATS_CLOUD_CLIENT_SECRET}
FACTORIAL_HRIS_CLOUD_CLIENT_ID: ${FACTORIAL_ATS_CLOUD_CLIENT_ID}
FACTORIAL_HRIS_CLOUD_CLIENT_SECRET: ${FACTORIAL_ATS_CLOUD_CLIENT_SECRET}
PAYFIT_HRIS_CLOUD_CLIENT_ID: ${PAYFIT_HRIS_CLOUD_CLIENT_ID}
PAYFIT_HRIS_CLOUD_CLIENT_SECRET: ${PAYFIT_HRIS_CLOUD_CLIENT_SECRET}
restart: unless-stopped
ports:
- 3000:3000
Expand Down
18 changes: 17 additions & 1 deletion docker-compose.source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ services:
DISTRIBUTION: ${DISTRIBUTION}
WEBHOOK_INGRESS: ${WEBHOOK_INGRESS}
JWT_SECRET: ${JWT_SECRET}
SENTRY_ENABLED: ${SENTRY_ENABLED}
SENTRY_DSN: ${SENTRY_DSN}
REDIS_HOST: ${REDIS_HOST}
REDIS_USER: ${REDIS_USER}
REDIS_PASS: ${REDIS_PASS}
Expand Down Expand Up @@ -130,7 +132,21 @@ services:
DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET: ${DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET}
BOX_FILESTORAGE_CLOUD_CLIENT_ID: ${BOX_FILESTORAGE_CLOUD_CLIENT_ID}
BOX_FILESTORAGE_CLOUD_CLIENT_SECRET: ${BOX_FILESTORAGE_CLOUD_CLIENT_SECRET}

KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_ID: ${KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_ID}
KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET: ${KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET}
GUSTO_HRIS_CLOUD_CLIENT_ID: ${GUSTO_HRIS_CLOUD_CLIENT_ID}
GUSTO_HRIS_CLOUD_CLIENT_SECRET: ${GUSTO_HRIS_CLOUD_CLIENT_SECRET}
GREENHOUSE_ATS_CLOUD_CLIENT_ID: ${GREENHOUSE_ATS_CLOUD_CLIENT_ID}
GREENHOUSE_ATS_CLOUD_CLIENT_SECRET: ${GREENHOUSE_ATS_CLOUD_CLIENT_SECRET}
JOBADDER_ATS_CLOUD_CLIENT_ID: ${JOBADDER_ATS_CLOUD_CLIENT_ID}
JOBADDER_ATS_CLOUD_CLIENT_SECRET: ${JOBADDER_ATS_CLOUD_CLIENT_SECRET}
LEVER_ATS_CLOUD_CLIENT_ID: ${LEVER_ATS_CLOUD_CLIENT_ID}
LEVER_ATS_CLOUD_CLIENT_SECRET: ${LEVER_ATS_CLOUD_CLIENT_SECRET}
FACTORIAL_HRIS_CLOUD_CLIENT_ID: ${FACTORIAL_ATS_CLOUD_CLIENT_ID}
FACTORIAL_HRIS_CLOUD_CLIENT_SECRET: ${FACTORIAL_ATS_CLOUD_CLIENT_SECRET}
PAYFIT_HRIS_CLOUD_CLIENT_ID: ${PAYFIT_HRIS_CLOUD_CLIENT_ID}
PAYFIT_HRIS_CLOUD_CLIENT_SECRET: ${PAYFIT_HRIS_CLOUD_CLIENT_SECRET}

restart: unless-stopped
ports:
- 3000:3000
Expand Down
17 changes: 16 additions & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ services:
DISTRIBUTION: ${DISTRIBUTION}
WEBHOOK_INGRESS: ${WEBHOOK_INGRESS}
JWT_SECRET: ${JWT_SECRET}
SENTRY_ENABLED: ${SENTRY_ENABLED}
SENTRY_DSN: ${SENTRY_DSN}
REDIS_HOST: ${REDIS_HOST}
REDIS_USER: ${REDIS_USER}
REDIS_PASS: ${REDIS_PASS}
Expand Down Expand Up @@ -124,7 +126,20 @@ services:
DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET: ${DROPBOX_FILESTORAGE_CLOUD_CLIENT_SECRET}
BOX_FILESTORAGE_CLOUD_CLIENT_ID: ${BOX_FILESTORAGE_CLOUD_CLIENT_ID}
BOX_FILESTORAGE_CLOUD_CLIENT_SECRET: ${BOX_FILESTORAGE_CLOUD_CLIENT_SECRET}

KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_ID: ${KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_ID}
KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET: ${KEAP_MARKETINGAUTOMATION_CLOUD_CLIENT_SECRET}
GUSTO_HRIS_CLOUD_CLIENT_ID: ${GUSTO_HRIS_CLOUD_CLIENT_ID}
GUSTO_HRIS_CLOUD_CLIENT_SECRET: ${GUSTO_HRIS_CLOUD_CLIENT_SECRET}
GREENHOUSE_ATS_CLOUD_CLIENT_ID: ${GREENHOUSE_ATS_CLOUD_CLIENT_ID}
GREENHOUSE_ATS_CLOUD_CLIENT_SECRET: ${GREENHOUSE_ATS_CLOUD_CLIENT_SECRET}
JOBADDER_ATS_CLOUD_CLIENT_ID: ${JOBADDER_ATS_CLOUD_CLIENT_ID}
JOBADDER_ATS_CLOUD_CLIENT_SECRET: ${JOBADDER_ATS_CLOUD_CLIENT_SECRET}
LEVER_ATS_CLOUD_CLIENT_ID: ${LEVER_ATS_CLOUD_CLIENT_ID}
LEVER_ATS_CLOUD_CLIENT_SECRET: ${LEVER_ATS_CLOUD_CLIENT_SECRET}
FACTORIAL_HRIS_CLOUD_CLIENT_ID: ${FACTORIAL_ATS_CLOUD_CLIENT_ID}
FACTORIAL_HRIS_CLOUD_CLIENT_SECRET: ${FACTORIAL_ATS_CLOUD_CLIENT_SECRET}
PAYFIT_HRIS_CLOUD_CLIENT_ID: ${PAYFIT_HRIS_CLOUD_CLIENT_ID}
PAYFIT_HRIS_CLOUD_CLIENT_SECRET: ${PAYFIT_HRIS_CLOUD_CLIENT_SECRET}
restart: unless-stopped
ports:
- 3000:3000
Expand Down
4 changes: 2 additions & 2 deletions ngrok.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
version: 2
authtoken: NGROK_TOKEN
authtoken:
log_level: debug
log: stdout

tunnels:
api-tunnel:
proto: http
addr: 3000
domain: NGROK_DOMAIN
domain:
4 changes: 2 additions & 2 deletions packages/api/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
"@nestjs/schedule": "^4.0.0",
"@nestjs/swagger": "^7.1.14",
"@nestjs/throttler": "^5.1.1",
"@ntegral/nestjs-sentry": "^4.0.0",
"@panora/shared": "workspace:*",
"@prisma/client": "^5.4.2",
"@sentry/node": "^7.80.0",
"@sentry/node": "8.9.2",
"@sentry/profiling-node": "^8.9.2",
"@sentry/tracing": "^7.80.0",
"axios": "^1.5.1",
"bcrypt": "^5.1.1",
Expand Down
Loading

0 comments on commit b6809f4

Please sign in to comment.