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

WIP: Create Flask "Start Job" route #4319

Closed
4 tasks
btylerburton opened this issue May 15, 2023 · 0 comments
Closed
4 tasks

WIP: Create Flask "Start Job" route #4319

btylerburton opened this issue May 15, 2023 · 0 comments
Labels
H2.0/Harvest-Flask Front-end webapp & APIs

Comments

@btylerburton
Copy link
Contributor

btylerburton commented May 15, 2023

User Story

In order to initiate a new harvesting job, Data.gov would like to create a "start job" route on the Harvesting 2.0 Flask application.

Acceptance Criteria

  • GIVEN a user / process has initiated a harvest on a VALID harvest source
    AND the source is not currently being processed
    AND the source has not been harvested previously in the last 24hr
    THEN a harvest job shall be passed into a "Start Job" route
    AND will enter the harvest queue.

Background

[Any helpful contextual notes or links to artifacts/evidence, if needed]

Each harvest object should contain all the information necessary to process the harvest source. This information should would be passed to the "Start Job" route.

Security Considerations (required)

[Any security concerns that might be implicated in the change. "None" is OK, just be explicit here!]

Sketch

  • Define a "Start Job" route
  • Have it accept a valid harvest job object
  • Wire in the a push to the Redis Harvest Queue.
@btylerburton btylerburton added H2.0/Harvest-General General Harvesting 2.0 Issues H2.0/controller labels May 15, 2023
@hkdctol hkdctol moved this to New Dev in data.gov team board May 19, 2023
@nickumia-reisys nickumia-reisys changed the title Create Flask "Start Job" route WIP: Create Flask "Start Job" route May 26, 2023
@btylerburton btylerburton removed the H2.0/Harvest-General General Harvesting 2.0 Issues label Dec 13, 2023
@btylerburton btylerburton added H2.0/Harvest-Flask Front-end webapp & APIs and removed dep_H2.0/Airflow labels May 13, 2024
@btylerburton btylerburton moved this to ✔ Done in data.gov team board May 13, 2024
@btylerburton btylerburton moved this from ✔ Done to 🗄 Closed in data.gov team board May 13, 2024
@gujral-rei gujral-rei mentioned this issue May 28, 2024
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
H2.0/Harvest-Flask Front-end webapp & APIs
Projects
Archived in project
Development

No branches or pull requests

1 participant