Update event hub sdk version to get rid of security vulnerablitiy
While doing so, we discovered that the signuare of the SDK introduced quite a few breaking changes.
We are now converting our hub cs to be a event hub compatible string to create the consumer client.
Eventhub event pulling is now a subscribe model. There is one draw back which is, we can only clear the message array (result array) after the monitor call from the UI has been returned. So when user click 'clear messages', it's possible that the previous 'getEvents' call is still filling up the result array, while we already cleared the events in our redux state, so we feel like the ui is 'one step behind' after the first button click.
We can easily get all events perserved within retention without their new EventPosition parameter.
Side Note: since we are using IPC in electron and the legacy node in hosted (developer experience) you will see identitcal code in two places, serverBase and the eventHandler.
General Guidelines
[x] If introducing new functionality or modified behavior, are they backed by unit tests?
[x] Have all unit tests passed locally? (by running npm run test command)
[x] Have you updated the README.md with new screenshots if significant changes have been made?
[x] Have you update the package version if the current version in package.json is not higher than the version released?
Update event hub sdk version to get rid of security vulnerablitiy While doing so, we discovered that the signuare of the SDK introduced quite a few breaking changes.
Side Note: since we are using IPC in electron and the legacy node in hosted (developer experience) you will see identitcal code in two places, serverBase and the eventHandler.
General Guidelines
npm run test
command)