eclipse-score / eclipse-score/lifecycle

Allow for multiple ReadyConditions

Open
#601 1 comment 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
C++
Stars
6
Forks
34
Avg merge
2d 3h
Merged PRs (30d)
80

Description

### 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_

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.