Skip to content

Pr/116 sumologic driver 2021 04 21#165

Merged
ianhelle merged 31 commits intomasterfrom
pr/116-sumologic-driver-2021-04-21
Jun 9, 2021
Merged

Pr/116 sumologic driver 2021 04 21#165
ianhelle merged 31 commits intomasterfrom
pr/116-sumologic-driver-2021-04-21

Conversation

@ianhelle
Copy link
Contributor

Replacement PR for Sumologic driver

juju4 and others added 25 commits September 13, 2020 15:13
Fixed the first 4 test cases in test_sumologic_driver.py
Corrected "url" parameter in Sumologic-DataConnector.ipynb to be "connection_str" (as used in the code)
sumologic_driver:
- Fixed get_connect_args to properly use the connection_str passed as argument
- replaced sys.exit() with exception. sys.exit is a bit drastic.
- tidied up long lines and added temporary pylint suppression
Added sumologic to test_pkg_imports.py and import_analyzer.py
Added Browshot to mpconfig_defaults.yaml
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@ianhelle ianhelle merged commit 2a33d61 into master Jun 9, 2021
@ianhelle ianhelle deleted the pr/116-sumologic-driver-2021-04-21 branch June 9, 2021 23:57
juju4 added a commit to juju4/msticpy that referenced this pull request Jun 5, 2022
* add Sumologic as backend

* fix typo, add performance timer if verbosity>=2

* sumo notebook: fix syntax when using msticpyconfig.yaml, missing dateitme import

* PR review (typo, formatting, import...)

* remove unused connection_str

* exception general+HTTPError, change 1-2 letters variables

* pylint review

* Revert "remove unused connection_str"

This reverts commit b7489372fecb04b19add3c2f8337006bb3bc08e2.

* use connection_str as url

* add checkinterval option

* black reformat

* fix logic flow and avoid triggering rate-limiting and always return a message

* connected message: add accessid

* Moving sumologic to setup.py extras.

Fixed the first 4 test cases in test_sumologic_driver.py
Corrected "url" parameter in Sumologic-DataConnector.ipynb to be "connection_str" (as used in the code)
sumologic_driver:
- Fixed get_connect_args to properly use the connection_str passed as argument
- replaced sys.exit() with exception. sys.exit is a bit drastic.
- tidied up long lines and added temporary pylint suppression

* Refactored some of the longer methods in sumologic_driver.py

* Added full unit tests for sumologic_driver in test_sumologic_driver.py

Added sumologic to test_pkg_imports.py and import_analyzer.py
Added Browshot to mpconfig_defaults.yaml

* Adding openpyxl dependency for sumologic (test for export to excel is breaking)

* Pylint warning in sumologic_driver

test_pkg_imports exception for openpyxl

Co-authored-by: juju4 <juju4@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants