Business Continuity Solution for CareFlow Connect by Jon Shaw, March 2019
About
Notes
Getting Started
Pull solution into local folder on server / azure app service / local machine1.
In the command prompt change into the 'Service' directory within that root folder and install all dependencies using $ npm install
Add the credentials and networkid as Environmental Variables
Set parameters in the config.js file (note only use quotations for strings as this is a javascript object, not Json). Example: debug: false, environment: "", outputFolder: "../output", archivingIntervalInHours: 6, daysForTasks: 30, daysForReferrals: 14, notify_clientId: "", notify_alertTopicId: ""
environment: enter vnext for dev apis. Careflow environments: https://confluence.systemc.com/pages/viewpage.action?pageId=44252567
Setting 'debug: true' will output more to the console log and create json files to examine the data
To run solution using npm, cd into 'Service' directory, then $ npm start