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

Scheduled / Recurring jobs #32

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft

Conversation

jpbruinsslot
Copy link
Contributor

No description provided.

@jpbruinsslot jpbruinsslot changed the title Recurring tasks Scheduled / Recurring jobs Jan 2, 2023
Copy link
Contributor

@ammar92 ammar92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice stuff already. Some remarks while looking through the code

scheduler/connectors/services/katalogus.py Outdated Show resolved Hide resolved
@@ -52,8 +52,8 @@ def __init__(self) -> None:
orgs=svc_katalogus.get_organisations(),
)

lst_scan_profile = listeners.ScanProfile(
dsn=self.config.host_scan_profile,
lst_mutations = listeners.ScanProfileMutation(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
lst_mutations = listeners.ScanProfileMutation(
mutations = listeners.ScanProfileMutation(

scheduler/repositories/stores.py Show resolved Hide resolved
tests/unit/test_utils.py Outdated Show resolved Hide resolved
scheduler/connectors/services/katalogus.py Show resolved Hide resolved
…ed-jobs-rebase

* feature/refactor-boefje-scheduler: (27 commits)
  Fix reference
  Update notation
  Remove test database
  Update notation variables
  Fix type hint
  Fix reference to listener
  Black formatting
  Continue writing tests
  Fix import statement
  Continue writing tests for boefje scheduler
  Continue writing, updating tests
  Fix task type
  Continue writing tests
  Remove test database
  Add additional task list filters
  Overhaul tests
  Format code with black
  Use the scan profile mutation queue from octopoes
  Start with refactor based on feature/scheduled-jobs-rebase
  Merge release-1.4 into main (#25)
  ...
* main:
  Set deafult logging level to INFO
  Fix bytes tokene expiration issue
  Updated dependabot config
  Update scheduler/rankers/boefje.py
  Update scheduler/queues/pq.py
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Flexible scheduling
2 participants