Skip to content

Add get and set and notification support to the fields in the configuration#405

Open
sahithi-nukala wants to merge 7 commits into
eclipse-score:mainfrom
sahithi-nukala:suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration
Open

Add get and set and notification support to the fields in the configuration#405
sahithi-nukala wants to merge 7 commits into
eclipse-score:mainfrom
sahithi-nukala:suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration

Conversation

@sahithi-nukala
Copy link
Copy Markdown
Contributor

@sahithi-nukala sahithi-nukala commented May 11, 2026

Add useGetIfAvailable/useSetIfAvailable to LoLa field deployment

  • Introduce dedicated LolaFieldInstanceDeployment class replacing the former LolaEventInstanceDeployment type alias, adding field-specific members use_get_if_available_ and use_set_if_available_
  • Fix mw_com_config_schema.json: move useGetIfAvailable and useSetIfAvailable into the field "properties" object so they are correctly validated when additionalProperties is false.
  • Adapt existing test and add new tests for LolaFieldInstanceDeployment
  • Update PUML diagram and readme document

Issue: SWP-250429

- Introduce dedicated LolaFieldInstanceDeployment class replacing the
  former LolaEventInstanceDeployment type alias, adding field-specific
  members use_get_if_available_ and use_set_if_available_.
- Fix mw_com_config_schema.json: move useGetIfAvailable and
  useSetIfAvailable into the field "properties" object so they are
  correctly validated when additionalProperties is false.

Issue: SWP-250429
- Update config_parser.cpp to read optional field values
useGetIfAvailable/useSetIfAvailable
- Fix existing unit test of loloa field instance deployment.

Issue: SWP-250429
Update existing tests which refer LolaFieldInstanceDeployment to
support additional optional useGetIfAvailable and useSetIfAvailable

Issue: SWP-250429
- Add tests to verfiy behaviour of option field values
useGetIfAvailable/useSetIfAvailable

Issue: SWP-250429
- Update ReadMe and UML diagram to refelct updated changes
optional field values useGetIfAvailable/useSetIfAvailable

Issue: SWP-250429
- Remove the redundant unit tests and update the exsiting test
for default field setter/getter value
- Update the default values of useGetIfAvailable/useSetIfAvailable
from default false to true
- Update the plant UML diagram to retain only necessary information

Issue: SWP-250429
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from abae673 to 65d3943 Compare May 11, 2026 12:35
… LolaEventInstanceDeployment members

- Delegate GetNumberOfSampleSlots(), GetNumberOfTracingSlots(), and
  SetNumberOfSampleSlots() to the inner lola_event_instance_deployment_ member
- Delegate CreateFromJson() event parsing and Serialize() event part
  to LolaEventInstanceDeployment
- Add a non-template GetSkeletonEventProperties() overload in
  skeleton_service_element_binding_factory_impl.h that delegates to the
  event deployment overload
- Update all call sites: config_parser.cpp, configuration_test_resources.cpp,
  and all affected test files
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from 65d3943 to 7c3e519 Compare May 11, 2026 13:11
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