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

Add miq_worker_types table #437

Merged
merged 1 commit into from
Nov 21, 2019
Merged

Commits on Nov 19, 2019

  1. Add miq_worker_types table

    This table will be seeded to include all leaf subclasses of MiqWorker
    
    On the first pass it will be a replacement for the information currently
    stored in the MIQ_WORKER_TYPES constants, but will be extended to
    contain all the metadata concerning when workers of each type should
    be running (for example, required roles, worker scope, provider type, etc.)
    
    The ultimate goal is to separate out worker management into a standalone
    process distinct from the current code-base where a subset of models
    will be the primary API between the "worker orchestrator" and the
    server which will determine *how* to start the workers it was told
    to run.
    
    This will allow for sharing the core logic of when and where to run
    workers across different platforms and runtimes such as systemd, fork,
    containers, etc.
    carbonin committed Nov 19, 2019
    Configuration menu
    Copy the full SHA
    13c6bdf View commit details
    Browse the repository at this point in the history