usdigitalresponse / usdr-gost

USDR-hosted grants management tools
http://grants.usdigitalresponse.org
Apache License 2.0
26 stars 20 forks source link

Add ability to easily create/manage arpa treasury report queue locally #2577

Open as1729 opened 5 months ago

as1729 commented 5 months ago

Why is this issue important?

Developers have to manually create and maintain the treasury report queue and there is not much documentation on how to do so.

Current State

To test the ARPA treasury report locally a developer has to manually:

  1. create a new queue
  2. update the queue url to their server/.env file

Expected State

To test the ARPA treasury report locally a developer does not need to do anything outside of the usual application startup instructions

Implementation Plan

Add the following to server/.env.example after the line that contains ARPA_AUDIT_REPORT_SQS_QUEUE_URL

ARPA_TREASURY_REPORT_SQS_QUEUE_URL="http://sqs.us-west-2.localhost.localstack.cloud:4566/000000000000/arpa-treasury-queue"

Add the following to init-aws.sh

awslocal sqs create-queue --queue-name arpa-treasury-queue --region us-west-2

Relevant Code Snippets

No response

as1729 commented 4 months ago
ClaireValdivia commented 2 months ago

from 4/18 meeting - inaki started this work but needs some alignment internally before determining next steps