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: add replicator bucket event #199

Closed
wants to merge 2 commits into from

Conversation

vasco-santos
Copy link
Contributor

@vasco-santos vasco-santos commented May 16, 2023

Part of storacha/w3filecoin-infra#12

Adds event to Event Bridge on replicated file. This replicate event is generic to not be tied with single requirements of w3filecoin (i.e. event for replicated CARs). This way, everything that is replicated will trigger an event with the file key replicated and the URL where it lives. Event consumers can filter the events they care about using filters like key suffix .car or the destination name

Needed ENV vars were set to have knowledge of public URLs of each bucket used for replication purposes

@seed-deploy
Copy link

seed-deploy bot commented May 16, 2023

View stack outputs
  • pr199-w3infra-CarparkStack

    Name Value
    BucketName carpark-pr199-0
    Region us-east-2
  • pr199-w3infra-SatnavStack

    Name Value
    BucketName satnav-pr199-0
    Region us-east-2
  • pr199-w3infra-UploadApiStack

    Name Value
    ApiEndpoint https://2kmjsydp5f.execute-api.us-east-2.amazonaws.com
    CustomDomain https://pr199.up.web3.storage
  • pr199-w3infra-BusStack

  • pr199-w3infra-ReplicatorStack

  • pr199-w3infra-UcanInvocationStack

  • pr199-w3infra-UploadDbStack

@seed-deploy seed-deploy bot temporarily deployed to pr199 May 19, 2023 09:25 Inactive
@vasco-santos vasco-santos force-pushed the feat/add-replicator-bucket-event branch from db9bb61 to 99f5e67 Compare May 19, 2023 13:08
@vasco-santos vasco-santos force-pushed the feat/add-replicator-bucket-event branch from 99f5e67 to b062982 Compare May 19, 2023 13:21
@seed-deploy seed-deploy bot temporarily deployed to pr199 May 19, 2023 13:21 Inactive
@vasco-santos vasco-santos self-assigned this Jun 21, 2023
@vasco-santos vasco-santos added the P0 Critical: Tackled by core team ASAP label Jun 21, 2023
@vasco-santos
Copy link
Contributor Author

This should not be using bucket event anymore, but via HTTP Call on #214

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
P0 Critical: Tackled by core team ASAP
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant