#230 - add fallback bridge component to log events without portal #231
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This creates a new bridge called "BasicBridge" which will always be created in the event of the PortalBridge not being created.
BasicBridgedoes the same logging asPortalBridge, the only difference is that it doesn't try to talk to an IPS Portal.Since all of the event-logging code is identical between the two, I moved all event-logging code to
local_event_logger.py.Closes #230
additional minor fixes
services.get_config_paramto take an additionallogparameter - in the case of a component getting the runID from the PortalBridge, we need to periodically call this function, we explicitly want an exception to be raised (we don't want to check forNone), but we DON'T want to log any of the failed attempts to obtain this config parameter.jsonlinstead of.jsonfiles; format remains unchanged, follows JSONL specification; closes Output of JSON simulation_log files use an incorrect format #185