Allow for multiple ReadyConditions

Open
#601 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
cpp
Domain
backend

Research direction

Start with the flatbuffers config schema and the process_info_node component, then trace handleProcessStillStarting where ready conditions are handled. Resolve how multiple conditions are represented and processed, and verify that configuration accepts an array of supported ready conditions and the component handles them correctly.

Written by the indexing model from the issue text.

Description

enhancement
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

Dominant language
C++
Stars
6
Forks
34
Avg merge
1d 23h
Merged PRs (30d)
83

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from eclipse-score/lifecycle

All issues in eclipse-score/lifecycle

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.