Skip to content

Add requirements for GenericSkeleton#453

Draft
SebSparrowHawk wants to merge 1 commit into
eclipse-score:mainfrom
SebSparrowHawk:ssp_requirements_generic_skeleton
Draft

Add requirements for GenericSkeleton#453
SebSparrowHawk wants to merge 1 commit into
eclipse-score:mainfrom
SebSparrowHawk:ssp_requirements_generic_skeleton

Conversation

@SebSparrowHawk
Copy link
Copy Markdown
Contributor

No description provided.

@SebSparrowHawk SebSparrowHawk force-pushed the ssp_requirements_generic_skeleton branch from 6c035cd to 581ca2c Compare May 20, 2026 13:03


ScoreReq.CompReq GenericSkeletonEventListSource {
description = '''A {{GenericSkeleton}} instance shall deduce its supported events from the {{LoLa}} JSON configuration containing deployment information.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hm. Not sure?
The GenericSkeleton gets the list of events/fields (and at some point also methods - we haven't implemented this yet, but need to do soonish) via parameter in Create(). So the TRUTH is in this parameter of type GenericSkeletonServiceElementInfo ... the related existance of these elements (events/fields) in the mw_com_config.json is also a requirement ... but I would then have a separate req!
The separate req. says, that the GenericSkeleton::Create() shall fail, if for one of the elements in GenericSkeletonServiceElementInfo there is no correlated type/deployment info ...

version = 1
}

ScoreReq.CompReq GenericSkeletonExceptionLessCreation {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are not talking about potential errors here? In OfferService you do ...

version = 1
}

ScoreReq.CompReq GenericSkeletonGetEvents {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You could already create/duplicate these reqs. for fields! Even if it is currently not implemented ... but should be done soonish and then we already have the reqs.


}

section "Generic_Skeleton_Event" {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can "copy" this section for Fields - do a simple 1:1 copy - which means, that right now we would not have get/set functionality for the GenericField ... this we will add later on req. level, when we now, how we want to deal with methods at all.

}
}

ScoreReq.CompReq DataTypeMetaInfo {
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please double-check with Brendan! Afaik we also have/use {{score::memory::DataTypeSizeInfo}}, which is almost identically! Maybe we have to refactor/clean-up code

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants