Skip to content

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

Queued
sahithi-nukala wants to merge 11 commits into
eclipse-score:mainfrom
sahithi-nukala:suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration
Queued

Add get and set and notification support to the fields in the configuration#405
sahithi-nukala wants to merge 11 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

@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch 2 times, most recently from 65d3943 to 7c3e519 Compare May 11, 2026 13:11
@sahithi-nukala sahithi-nukala marked this pull request as draft May 18, 2026 12:45
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from 7c3e519 to 4ccfdb8 Compare May 18, 2026 12:46
@sahithi-nukala sahithi-nukala marked this pull request as ready for review May 18, 2026 13:14
@sahithi-nukala sahithi-nukala marked this pull request as draft May 20, 2026 13:11
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch 3 times, most recently from 4ccfdb8 to eef7275 Compare May 20, 2026 13:34
@sahithi-nukala sahithi-nukala marked this pull request as ready for review May 20, 2026 13:34
Comment thread score/mw/com/impl/configuration/lola_field_instance_deployment.h Outdated
Comment thread score/mw/com/impl/configuration/mw_com_config_schema.json Outdated
Comment thread score/mw/com/impl/configuration/lola_field_instance_deployment_test.cpp Outdated
Comment thread score/mw/com/impl/tracing/configuration/tracing_filter_config.cpp Outdated
Comment thread score/mw/com/impl/configuration/config_parser_test.cpp Outdated
Comment thread score/mw/com/design/configuration/structural_view.puml Outdated
Comment thread score/mw/com/design/configuration/structural_view.puml Outdated
Comment thread score/mw/com/impl/configuration/lola_field_instance_deployment.h Outdated
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from eef7275 to b89ebe4 Compare May 25, 2026 11:31
@sahithi-nukala sahithi-nukala marked this pull request as draft May 25, 2026 12:23
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from 7287d32 to 70409f5 Compare May 26, 2026 04:04
@sahithi-nukala sahithi-nukala requested a review from bemerybmw May 26, 2026 05:19
@sahithi-nukala sahithi-nukala marked this pull request as ready for review May 26, 2026 07:11
Comment thread score/mw/com/impl/bindings/lola/test/skeleton_test_resources.h Outdated
Comment thread score/mw/com/impl/bindings/lola/test/skeleton_test_resources.h Outdated
Comment thread score/mw/com/impl/bindings/lola/skeleton_test.cpp Outdated
Comment thread score/mw/com/impl/bindings/lola/skeleton_test.cpp Outdated
Comment thread score/mw/com/impl/configuration/lola_field_instance_deployment_test.cpp Outdated
Comment thread score/mw/com/impl/plumbing/skeleton_service_element_binding_factory_impl.h Outdated
Comment thread score/mw/com/impl/plumbing/skeleton_service_element_binding_factory_impl.h Outdated
Comment thread score/mw/com/impl/tracing/configuration/tracing_filter_config.cpp Outdated
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from 70409f5 to b4d8a2a Compare May 27, 2026 04:25
@sahithi-nukala sahithi-nukala marked this pull request as draft May 27, 2026 04:25
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch 2 times, most recently from 6ee5667 to 5457da1 Compare May 27, 2026 06:07
Comment thread score/mw/com/impl/plumbing/skeleton_service_element_binding_factory_impl.h Outdated
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch from 0677f55 to 0f14d65 Compare May 29, 2026 07:16
@sahithi-nukala sahithi-nukala marked this pull request as ready for review May 29, 2026 11:06
@sahithi-nukala sahithi-nukala marked this pull request as draft May 29, 2026 12:21
@sahithi-nukala sahithi-nukala force-pushed the suya_Add_get_and_set_and_notification_support_to_the_fields_in_the_configuration branch 3 times, most recently from 098d07d to 5ed3876 Compare June 1, 2026 08:21
@sahithi-nukala sahithi-nukala marked this pull request as ready for review June 1, 2026 09:26
Comment thread score/mw/com/impl/configuration/lola_field_instance_deployment_test.cpp Outdated
Comment thread score/mw/com/impl/configuration/lola_field_instance_deployment.h Outdated
Comment thread score/mw/com/impl/plumbing/skeleton_service_element_binding_factory_impl.h Outdated
@sahithi-nukala sahithi-nukala marked this pull request as draft June 1, 2026 11:51
soldier-sky and others added 11 commits June 1, 2026 21:22
- 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
… 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 890f80c to 9687d67 Compare June 1, 2026 15:52
@sahithi-nukala sahithi-nukala marked this pull request as ready for review June 2, 2026 04:03
@bemerybmw bemerybmw enabled auto-merge June 2, 2026 07:57
@bemerybmw bemerybmw dismissed crimson11’s stale review June 2, 2026 08:23

I checked Manuel's review points were addressed since he's on vacation.

@bemerybmw bemerybmw added this pull request to the merge queue Jun 2, 2026
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.

4 participants