generated from bcgov/quickstart-openshift
-
Notifications
You must be signed in to change notification settings - Fork 2
NATS ‐ WebEOC Integration
Barrett Falk edited this page Jan 25, 2024
·
3 revisions
Integration with WebEOC is provided via the WebEOC component and the NATS container.
To start the NATS container, issue the command docker-compose up nats
To start WebEOC, navigate to the webeoc directory and exetute npm start
Note that an .env file is required to start WebEOC. Here are the required parameters:
- WEBEOC_USERNAME="COS_Integration"
- WEBEOC_PASSWORD=
- WEBEOC_POSITION="COS Integration Service - API"
- WEBEOC_INCIDENT="Daily Operations"
- WEBEOC_URL="https://bc.demo.webeocasp.com/bc/api/rest.svc"
- WEBEOC_COMPLAINT_HISTORY_DAYS=1
- WEBEOC_CRON_EXPRESSION="*/5 * * * *"
- NATS_HOST="nats://localhost:4222"
Also note that if you're starting this via docker-compose that you'll want the .env file in your root directory.