IPCConnectedFactoryExchange / CFX

Apache License 2.0
72 stars 67 forks source link

Feat heartbeats and operators #189

Closed timburke closed 1 year ago

timburke commented 1 year ago

This PR does two different things to merge both for the 1.7 CFX release:

  1. Edits PR #169 to adjust the namespace per A-team recommendation. All contents of PR 169 are otherwise unchanged.
  2. Adds two fields to Heartbeat messages to be able to report active faults and recipes for any endpoint.

Note that for ActiveRecipes, there was not an existing structure that combined both a Recipe or RecipeIdentifier and a location on an endpoint. That information was directly put together inside of the RecipeActivated message itself, so I created an ActiveRecipe structure to allow for reusing this.

For ActiveFaults, there was not additional information in FaultActivated to tie the fault to a location other than what was inside the Fault structure itself so there was no need for creating a new structure to include inside of the Heartbeat message.

AsmTom commented 1 year ago

ok from my point of view