2.13.0 • Published 5 years ago
@trifinlabs/ramp-salesforce-analytics-api v2.13.0
Ramp salesforce analytics api
Installation
Install package
npm i @trifinlabs/ramp-salesforce-analytics-api
Copy environment variables
cat ./node_modules/@trifinlabs/ramp-salesforce-analytics-api/.env.dist >> .env
Fill the variables with your salesforce credentials
SALESFORCE_USERNAME=your-username
SALESFORCE_PASSWORD=your-password
SALESFORCE_LOGIN_URL=test@salesforce.com
Setup rabbitmq and set rabbitmq dsn to env
RABBITMQ_DSN=amqp://192.168.99.100:5556
Set env
Run
REQUEST_REPORT_QUEUE=request
FETCH_REPORT_QUEUE=fetch
PERSIST_REPORT_QUEUE=persist
and run
node ./node_modules/.bin/report-collector
and
node ./node_modules/.bin/report-fetcher
and
./node_modules/ramp-api-worker/bin/ramp-api-worker-linux ./bin/report-persister
and
./node_modules/ramp-api-worker/bin/ramp-api-worker-linux ./bin/report-runner [-r '0 0 * * *']
Heroku workers
cat ./node_modules/@trifinlabs/ramp-salesforce-analytics-api/Procfile >> Procfile
Development
docker-compose up -d
Workflow
report-runner.js | -> | report-collector.js | -> | report-fetcher.js | -> | report-persister.js |
---|---|---|---|---|---|---|
Get all reports | collector queue | run report async | fetcher queue | fetch report result | persister queue | persist report to database |
2.13.0
5 years ago
2.12.0
5 years ago
2.10.3
5 years ago
2.10.2
5 years ago
2.10.1
5 years ago
2.9.1
5 years ago
2.9.0
5 years ago
2.8.6
5 years ago
2.8.5
5 years ago
2.8.4
5 years ago
2.8.0
5 years ago
2.5.1
5 years ago
2.4.0
5 years ago
2.3.1
5 years ago
2.3.0
5 years ago
2.2.4
5 years ago
2.2.0
5 years ago
2.0.10
5 years ago
2.0.9
5 years ago
2.0.8
5 years ago
2.0.7
5 years ago
2.0.6
5 years ago
2.0.5
5 years ago
2.0.4
5 years ago
2.0.3
5 years ago
2.0.2
5 years ago
2.0.1
5 years ago
2.0.0
5 years ago
1.1.0
5 years ago
1.0.18
5 years ago
1.0.17
5 years ago
1.0.16
5 years ago
1.0.15
5 years ago
1.0.14
5 years ago
1.0.13
5 years ago
1.0.12
5 years ago
1.0.11
5 years ago
1.0.10
5 years ago
1.0.9
5 years ago
1.0.8
5 years ago
1.0.7
5 years ago
1.0.6
5 years ago
1.0.5
5 years ago
1.0.4
5 years ago
1.0.3
5 years ago
1.0.2
5 years ago
1.0.1
5 years ago
1.0.0
5 years ago