Skip to content

Env variables for the Updater, Punctuator and Webapp

Slin Lee edited this page Mar 9, 2021 · 1 revision

Updater application utilizes the same set of environment variables as web-app.

Since most of the code is reused. Some of the environment variables might seem not needed (e.g. S3_BUCKET for updater configuration), which is true, we can address this with cleanup in following iterations.

Both the web-app and the updater will need the following additional environment variables provided:

In /pathmind-shared/src/main/resources/shared.properties
  • SQS_UPDATER_URL

    For development, refer to the list of queues below, pick the corresponding one. To get full URL of the queue, use aws account prefix: https://sqs.us-east-1.amazonaws.com/839270835622/

    The full URL will be https://sqs.us-east-1.amazonaws.com/839270835622/${your-updater-queue-from-the-list-below}

  • SNS_UPDATER_SQS_FILTER_ATTR

    This is the parameter, responsible for client-side message filtering. It should be set to the same value for both - updater and web-app. Intended to be used not to clash with messages from other developers. The recommendation could be to set it to something unique, e.g. queue prefix or developer name

  • SQS_UPDATER_PUNCTUATOR_QUEUE

    The full URL will be https://sqs.us-east-1.amazonaws.com/839270835622/${your-punctuator-queue-from-the-list-below}

In /pathmind-updater/src/main/resources/application.properties
  • SNS_UPDATER_TOPIC_ARN

    For development use arn:aws:sns:us-east-1:839270835622:dev-updater-topic.


List of Updater Queues (SQS_UPDATER_URL)

Daniel has created all the SQS queues and subscribed them to the sns topic, here is the list of queues.

  • alexander-updater-queue-dev
  • ali-updater-queue-dev
  • brett-updater-queue-dev
  • bruno-updater-queue-dev
  • daeh-updater-queue-dev
  • edward-updater-queue-dev
  • evgeniy-updater-queue-dev
  • fionna-updater-queue-dev
  • henri-updater-queue-dev
  • onur-updater-queue-dev
  • slin-updater-queue-dev
  • steph-updater-queue-dev

List of Punctuator Queues (SQS_UPDATER_PUNCTUATOR_QUEUE)

  • alex-punctuator
  • slin-punctuator
  • evgeniy-punctuator
  • daeh-punctuator
  • fionna-punctuator

Clone this wiki locally