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: refactor: reduce code duplication in request processing #892

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

Commits on May 6, 2024

  1. fix: [AAP-23378] add PENDING_WORKERS_OFFLINE activation status

    This provides the agreed upon distinction between
    - PENDING
        a normal occurrence of a request not yet running
    - PENDING_WORKERS_OFFLINE
        an abnormal occurrence where the request has not yet run and cannot run due
        to lack of workers; note that this includes auto-start events where we
        definitively know the request's state
    - WORKERS_OFFLINE
        an abnormal occurrence where we do not know the request's state
    
    PENDING_WORKERS_OFFLINE maintains the fail-over functionality previously dependent
    solely on WORKERS_OFFLINE.
    
    For consistency with other log messages from the processing code the content of the message indicating issues with the workers has been modified from that documented in AAP-23378.  It is worded as follows:
    
        The workers available to process request type {request_type} for
        {process_parent_type} {process_parent_id} are failing liveness checks.
        There may be an issue with the node; please contact the administrator.
    
    Orchestrator log messages were updated due to previous change that specifically set
    the request type if none was specified.
    jshimkus-rh committed May 6, 2024
    Configuration menu
    Copy the full SHA
    934ee20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bb3cb5e View commit details
    Browse the repository at this point in the history

Commits on May 7, 2024

  1. feat: add PATCH action for detail view OPTIONS (ansible#887)

    * bump DAB version to 2024.5.6
    * add PATCH action for detail view OPTIONS
    * add tests for PATCH/POST actions on OPTIONS request
    
    Co-authored-by: Alan Rominger <[email protected]>
    2 people authored and jshimkus-rh committed May 7, 2024
    Configuration menu
    Copy the full SHA
    95f9824 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    891c4a7 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b7cdafc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2ee986d View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    169d03b View commit details
    Browse the repository at this point in the history

Commits on May 8, 2024

  1. fix: add custom permission for project sync action (ansible#893)

    * add a custom "sync_project" permission for project sync action
    Dostonbek1 authored and jshimkus-rh committed May 8, 2024
    Configuration menu
    Copy the full SHA
    9b7f0c0 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5a9b4d1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c1c8c9e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    50262e3 View commit details
    Browse the repository at this point in the history