Skip to content
This repository was archived by the owner on Mar 29, 2023. It is now read-only.

Award badge CRON job #120

@rubenhorn

Description

@rubenhorn
  • Schedule lambda to run once per day
  • Query relevant crowdactions
  • If they have ended in the past 24h 👉invoke processing lambda asynchronously

Processing lambda:

  1. Load crowdaction details (badge thresholds as implemented in Crowdaction badge threshold #111 )
  2. Load paricipations for that crowdaction (shared code with Participants/participations #65?)
  3. Foreach participation:
    a. Compute badge
    b. Add badge to user profile (⚠ Must be atomic operation)

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions