Skip to content

Load a default EventDestination to reach the OFMF event listener #1

Open
@mgazz

Description

@mgazz

GOAL: Load a EventDestination from file or from a file inside Resources

Example of OFMF Destination to be loaded.

{ 
  "@odata.context":"/redfish/v1/$metadata#EventDestination.EventDestination",
  
  "@odata.id":"/redfish/v1/EventService/Subscriptions/1",
  
  "@odata.type":"#EventDestination.v1_0_0.EventDestination",
  
  "Id":"1",
  
  "Name": "OFMF Event Destination",
  "Destination": "URI",
  "Protocol": "Redfish",
  "Context": "”,
}

To test the correct loading of the EventDestination, we can POST a mock event towards a server (representing the OFMF) listening at the Destination uri. Waiting for the OFMF to be able to process events, we can use:

Examples of events can be found here:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions