[Ofmfwg] [OpenFabrics/sunfish_library_reference] d89caf: fixed Collection naming bug and ignore json files ...

mjaguil noreply at github.com
Tue Dec 9 18:00:40 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/OpenFabrics/sunfish_library_reference
  Commit: d89cafd72b97568ba76a90ca30278071ea0669bc
      https://github.com/OpenFabrics/sunfish_library_reference/commit/d89cafd72b97568ba76a90ca30278071ea0669bc
  Author: rherrell <russ.herrell at hpe.com>
  Date:   2025-12-04 (Thu, 04 Dec 2025)

  Changed paths:
    M sunfish_plugins/events_handlers/redfish/redfish_event_handler.py
    M sunfish_plugins/storage/file_system_backend/backend_FS.py

  Log Message:
  -----------
  fixed Collection naming bug and ignore json files without @odata.type property

Signed-off-by: rherrell <russ.herrell at hpe.com>


  Commit: 4bd9199c5ea5aea4f841dbbb6b917385266530ad
      https://github.com/OpenFabrics/sunfish_library_reference/commit/4bd9199c5ea5aea4f841dbbb6b917385266530ad
  Author: rherrell <russ.herrell at hpe.com>
  Date:   2025-12-07 (Sun, 07 Dec 2025)

  Changed paths:
    M sunfish_plugins/events_handlers/redfish/redfish_event_handler.py
    M sunfish_plugins/storage/file_system_backend/backend_FS.py

  Log Message:
  -----------
  corrected comments based on PR feedback

Signed-off-by: rherrell <russ.herrell at hpe.com>


  Commit: 18f2fc8f3f05bb90d38f0b25528bec5cc760afef
      https://github.com/OpenFabrics/sunfish_library_reference/commit/18f2fc8f3f05bb90d38f0b25528bec5cc760afef
  Author: mjaguil <mjaguil at sandia.gov>
  Date:   2025-12-09 (Tue, 09 Dec 2025)

  Changed paths:
    M sunfish_plugins/events_handlers/redfish/redfish_event_handler.py
    M sunfish_plugins/storage/file_system_backend/backend_FS.py

  Log Message:
  -----------
  fixed Collection naming bug and ignore improper Redfish formats (#49)

Collection names were being improperly created due to a bug in the core
library plug-in.
Likewise, if a json file is returned during a ResourceCreated event that
is missing the @odata.type or @odata.id properties, (a malformed Redfish
object), the json file cannot be parsed by the Sunfish handlers,
resulting in garbage in the Redfish resource trees. Added a check for
both these properties. This is still no guarantee that the json response
is Redfish compliant, but does prevent totally bogus json files from
creating all kinds of odd error messages and incorrect Redfish tree
structures.


Compare: https://github.com/OpenFabrics/sunfish_library_reference/compare/3e66f684e529...18f2fc8f3f05

To unsubscribe from these emails, change your notification settings at https://github.com/OpenFabrics/sunfish_library_reference/settings/notifications


More information about the Ofmfwg mailing list