Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: implementation consumer stack #11

Closed
wants to merge 6 commits into from

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented Feb 9, 2023

Part of #12

This adds consumer stack to w3filecoin. Main goal of this stack is to wire replication event from w3infra with write CAR metadata into car table.

Stack includes:

  • EventBus reference imported from w3infra ARN via ENV var
  • SQS Queue to queue CARs pending registration for a ferry
  • Lambda Function to handle batches of CARs pending registration from the SQS queue

Lambda Function:

Other details:

  • Integration tests included where upload-client is used to upload files into w3infra's upload-api (Staging), so that we can see if events triggered are consumed here. Note that needs feat: replicator event w3infra#138

Still to figure out based on Spade integration decisions + commP in client:

  • do we need to wire up store dynamo table from w3infra?

Closes #12

@vasco-santos vasco-santos force-pushed the feat/implementation-consumer-stack branch from c50232e to c4076ea Compare February 9, 2023 16:38
@seed-deploy seed-deploy bot temporarily deployed to pr11 February 9, 2023 16:38 Inactive
@seed-deploy
Copy link

seed-deploy bot commented Feb 9, 2023

View stack outputs

@heyjay44 heyjay44 added the spade label Mar 29, 2023
@heyjay44 heyjay44 mentioned this pull request Apr 25, 2023
@vasco-santos vasco-santos force-pushed the feat/implementation-consumer-stack branch from c4076ea to 9f4b457 Compare May 23, 2023 10:50
@seed-deploy seed-deploy bot temporarily deployed to pr11 May 23, 2023 10:50 Inactive
@seed-deploy seed-deploy bot temporarily deployed to pr11 June 1, 2023 06:47 Inactive
@seed-deploy seed-deploy bot temporarily deployed to pr11 June 1, 2023 06:58 Inactive
@vasco-santos vasco-santos force-pushed the feat/implementation-consumer-stack branch from 8ab6ffe to cc80e07 Compare June 1, 2023 07:39
@seed-deploy seed-deploy bot temporarily deployed to pr11 June 1, 2023 07:39 Inactive
@vasco-santos vasco-santos force-pushed the feat/implementation-consumer-stack branch from cc80e07 to a039fc0 Compare June 1, 2023 07:43
@seed-deploy seed-deploy bot temporarily deployed to pr11 June 1, 2023 07:43 Inactive
@vasco-santos vasco-santos deleted the feat/implementation-consumer-stack branch August 7, 2023 08:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add consumer API endpoint
3 participants