Skip to content

flossbank/dod-distribute-donations

Repository files navigation

dod-distribute-donations

DoD picks up the message and fetches initial state and the package weight maps:

  • org_donation_state/${correlationId}/${language}_${registry}_package_weight_map.json for each supported lang/reg
  • org_donation_state/${correlationId}/initialState.json

DoD parses out the organization ID, amount, timestamp, and package weight maps from the JSON files. It applies the donation to the weight map and updates Mongo packages accordingly. It writes a snapshot to the org in Mongo with timestamp and TLP count.

The correlationId folder is deleted from S3.

About

No description or website provided.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published