/analytics-reporter-example

Analytics-reporter example using imports

Primary LanguageJavaScript

Setup

Set up a user defined service with credentials

After entering this command you'll be prompted for each credentials individually.

cf cups analytics-reporter-creds -p "ANALYTICS_KEY_0, ANALYTICS_KEY_1, ANALYTICS_KEY_2, ANALYTICS_KEY_3, ANALYTICS_REPORT_EMAIL, ANALYTICS_REPORT_IDS, ANALYTICS_REPORTS_PATH, AWS_REGION, AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, AWS_BUCKET, AWS_BUCKET_PATH, AWS_CACHE_TIME"

The keys must be split up using ANALYTICS_KEY_0, ANALYTICS_KEY_1, ...

Deploy

cf push

cf unbind-service analytics-reporter analytics-reporter-creds cf ds analytics-reporter-creds