Skip to content

Allow for multiple ReadyConditions #601

Description

@MaciejKaszynski

What

The config field should allow for a list of Ready Conditions to be set.

Config

Schema

  • The flatbuffers config schema shall declare a ReadyCondition Union type of all the currently supported ready conditions.
  • Change the component properties to ready_conditions and make it an array of ReadyCondition

CPP

This part might need some discussion.
How shall the ready conditions be stored?
std::vector? std::priotiy_queue?
with a priority_queue we could add a static member for PRIORITY for each ready condition implementation, then the order in which the ready conditions are processed can be defined?
Should the component implementation have it hard coded the order?

Component Implementations (process_info_node)

handleProcessStillStarting would need some changes as there we handle the ready conditions

Acceptance Criteria (DoD)

  • Config allows for multiple ready conditions to be set.

How

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions