[Ofmfwg] [OpenFabrics/sunfish_library_reference] 8a56f8: Advanced events and subscriptions management

Christian Pinto noreply at github.com
Sat Jan 6 13:37:21 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/OpenFabrics/sunfish_library_reference
  Commit: 8a56f861d39c393369488eaf0f338ae8664b0b41
      https://github.com/OpenFabrics/sunfish_library_reference/commit/8a56f861d39c393369488eaf0f338ae8664b0b41
  Author: Erika Rosaverde <erika.rosaverde at ibm.com>
  Date:   2023-12-12 (Tue, 12 Dec 2023)

  Changed paths:
    M README.md
    A Resources/EventService/Subscriptions/index.json
    A Resources/Systems/index.json
    M pyproject.toml
    R sunfish/events/event_handler.py
    A sunfish/events/event_handler_interface.py
    A sunfish/events/redfish_event_handler.py
    A sunfish/events/redfish_subscription_handler.py
    R sunfish/events/subscription_handler.py
    A sunfish/events/subscription_handler_interface.py
    M sunfish/lib/core.py
    M sunfish/storage/backend_FS.py
    A tests/Resources/AggregationService/ConnectionMethods/index.json
    A tests/Resources/AggregationService/index.json
    A tests/Resources/Chassis/index.json
    R tests/Resources/EventService/Subscriptions/aeb3df78-672e-4577-b6b8-ae135bd07666/index.json
    M tests/Resources/EventService/Subscriptions/index.json
    R tests/Resources/EventService/index.json
    A tests/Resources/Fabrics/index.json
    A tests/Resources/Storage/index.json
    R tests/Resources/Systems/707c318f-7fb5-4a96-8f8c-40d17513ff8b/index.json
    M tests/Resources/Systems/index.json
    M tests/Resources/index.json
    A tests/conf.json
    M tests/test_sunfishcore_library.py
    M tests/tests_template.py

  Log Message:
  -----------
  Advanced events and subscriptions management

I created two interfaces (event_handler_interface.EventHandlerInterface and subscription_handler_interface.SubscriptionHandlerInterface) to handle more implementations of the events and subscriptions handlers.
I implemented the redfish_event_handler that manages NewAggregationSourceDiscovered and ResourceCreated.
I created object_handler.ObjectHandler to execute custom logic to handle specific types of objects requests.

Signed-off-by: Erika Rosaverde <erika.rosaverde at ibm.com>


  Commit: aff5879b91741133d9b916075e6bfaeb549b018b
      https://github.com/OpenFabrics/sunfish_library_reference/commit/aff5879b91741133d9b916075e6bfaeb549b018b
  Author: Christian Pinto <christian.pinto at ibm.com>
  Date:   2024-01-06 (Sat, 06 Jan 2024)

  Changed paths:
    M README.md
    A Resources/EventService/Subscriptions/index.json
    A Resources/Systems/index.json
    M pyproject.toml
    R sunfish/events/event_handler.py
    A sunfish/events/event_handler_interface.py
    A sunfish/events/redfish_event_handler.py
    A sunfish/events/redfish_subscription_handler.py
    R sunfish/events/subscription_handler.py
    A sunfish/events/subscription_handler_interface.py
    M sunfish/lib/core.py
    M sunfish/storage/backend_FS.py
    A tests/Resources/AggregationService/ConnectionMethods/index.json
    A tests/Resources/AggregationService/index.json
    A tests/Resources/Chassis/index.json
    R tests/Resources/EventService/Subscriptions/aeb3df78-672e-4577-b6b8-ae135bd07666/index.json
    M tests/Resources/EventService/Subscriptions/index.json
    R tests/Resources/EventService/index.json
    A tests/Resources/Fabrics/index.json
    A tests/Resources/Storage/index.json
    R tests/Resources/Systems/707c318f-7fb5-4a96-8f8c-40d17513ff8b/index.json
    M tests/Resources/Systems/index.json
    M tests/Resources/index.json
    A tests/conf.json
    M tests/test_sunfishcore_library.py
    M tests/tests_template.py

  Log Message:
  -----------
  Advanced events and subscriptions management (#10)

- I created two interfaces
(event_handler_interface.EventHandlerInterface and
subscription_handler_interface.SubscriptionHandlerInterface) to handle
more implementations of the events and subscriptions handlers.
- I implemented the redfish_event_handler that manages
NewAggregationSourceDiscovered and ResourceCreated.
- I created object_handler.ObjectHandler to execute custom logic to
handle specific types of objects requests.


Compare: https://github.com/OpenFabrics/sunfish_library_reference/compare/d0be98d8f76f...aff5879b9174


More information about the Ofmfwg mailing list