{"id":50467487,"url":"https://github.com/podaac/swodlr-user-notify","last_synced_at":"2026-06-01T08:02:48.285Z","repository":{"id":188159670,"uuid":"675520968","full_name":"podaac/swodlr-user-notify","owner":"podaac","description":null,"archived":false,"fork":false,"pushed_at":"2026-04-12T21:20:36.000Z","size":144,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"develop","last_synced_at":"2026-04-12T22:25:50.152Z","etag":null,"topics":["development","swodlr","tva"],"latest_commit_sha":null,"homepage":"","language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/podaac.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGE","contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-08-07T05:47:25.000Z","updated_at":"2026-04-12T21:20:44.000Z","dependencies_parsed_at":"2023-11-29T01:32:38.978Z","dependency_job_id":"821949e6-c372-4ddd-afc0-d4e047ef962c","html_url":"https://github.com/podaac/swodlr-user-notify","commit_stats":null,"previous_names":["podaac/swodlr-user-notify"],"tags_count":29,"template":false,"template_full_name":null,"purl":"pkg:github/podaac/swodlr-user-notify","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fswodlr-user-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fswodlr-user-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fswodlr-user-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fswodlr-user-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/podaac","download_url":"https://codeload.github.com/podaac/swodlr-user-notify/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/podaac%2Fswodlr-user-notify/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33765379,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-01T02:00:06.963Z","response_time":115,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["development","swodlr","tva"],"created_at":"2026-06-01T08:02:44.126Z","updated_at":"2026-06-01T08:02:48.266Z","avatar_url":"https://github.com/podaac.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swodlr-user-notify\n\nA microservice for emailing users who have requested granules, once the products\nare finished generating.\n\n## Workflow\n\n`swodlr-user-notify` is triggered by a SQS topic which fires off the Lambda.\nThis SQS topic is listening to a SNS topic which receives messages from\n`swodlr-raster-create`. These messages follow the `jobset` spec from\n[swodlr-schemas](https://github.com/podaac/swodlr-schemas) and are directly\nsent from the `swodlr-raster-create` pipeline.\n\nThis means that there is no inherent \"request\" within the input data. Instead\nthis service determines its own trigger conditions for sending out an email to\nusers. `swodlr-user-notify` is setup to trigger when the input jobset contains\na job that was a success and also at the `submit_raster` stage which indicates\nit is at the end of the SWODLR generation pipeline.\n\nOnce this is determined, `swodlr-user-notify` then performs a lookup for all\nusers who requested this product while it was still in the `NEW` phase. This\nlookup is performed in two stages:\n  1. Looking up the timestamp of when the product was last in the `NEW` state\n  2. Looking up users who have this product in their histories on or after the\n  `NEW` status timestamp\n\n## Notes\n\n`swodlr-user-notify` utilizes AWS Simple Email Service to send out emails to\nits users. Due to the way that CCS, the organization that oversees NGAP (the\nplatform SWODLR runs on), we utilize a \"FromEmailAddressIdentityArn\" from an\nexternally managed account which authorizes sending from the no-reply@nasa.gov\naddress.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodaac%2Fswodlr-user-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpodaac%2Fswodlr-user-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpodaac%2Fswodlr-user-notify/lists"}