Skip to content
This repository has been archived by the owner on Jul 5, 2020. It is now read-only.

quick pulse endpoint config improvements. #1266

Merged
merged 4 commits into from
Sep 18, 2019

Conversation

TimothyMothra
Copy link
Member

@TimothyMothra TimothyMothra commented Sep 17, 2019

QuickPulse Endpoint is set on the Module.
The same value is internally set on the Processor, but only after the module starts collecting events.
This makes it difficult to unit test because it's waiting for data to flow through these classes.

I made a change so that the 'Processor' endpoint is set during initialization methods.
But that was still sensitive to which order the module and endpoint are initialized.

Summary

  • QuickPulseTelemetryModule.Initialize() will now push the endpoint to the Processor.
  • QuickPulseTelemetryProcessor.ctor() will now pull the endpoint from the Module.
  • added helper class to build a configuration from xml.

Note
These are edge cases discovered while working on connection strings. Connection String support will come in the next PR.

added helper class to build a configuration from xml.
@TimothyMothra TimothyMothra merged commit 0be3921 into develop Sep 18, 2019
@TimothyMothra TimothyMothra deleted the tilee/quickpulse_test_improvement branch September 18, 2019 00:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants