-
Notifications
You must be signed in to change notification settings - Fork 20
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
docs: update api reference documentation #891
Conversation
|
||
Args: | ||
splunk_search_util (SearchUtil): Object that helps to search on Splunk. | ||
splunk_ingest_data (fixture): Unused but required to ensure data was ingested before running test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we remove this unused line as we are using it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
splunk_ingest_data (fixture): Unused but required to ensure data was ingested before running test | ||
splunk_setup (fixture): Unused but required to ensure that test environment was set up before running test | ||
splunk_searchtime_cim_fields (fixture): Pytest parameter to test required cim field extraction | ||
record_property (fixture): Document facts of test cases. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can add that we document it provide more info in the test failure reports
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Args: | ||
splunk_ingest_data (fixture): Unused but required to ensure data was ingested before running test | ||
splunk_search_util (SearchUtil): Object that helps to search on Splunk. | ||
splunk_setup (fixture): Unused but required to ensure that test environment was set up before running test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated
@@ -491,6 +513,13 @@ def test_eventtype_mapped_multiple_cim_datamodel( | |||
def test_cim_fields_recommended( | |||
self, splunk_dm_recommended_fields, splunk_searchtime_cim_fields_recommended | |||
): | |||
""" | |||
This test case check that all the recommended cim fields of datamodel mapped with event are exracted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -37,6 +46,15 @@ def parse_sample_files(folder_path): | |||
|
|||
|
|||
def parse_file(filename): | |||
""" | |||
Parse the xml sample file to get the lisst of events |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fixed
@@ -269,11 +363,23 @@ def __init__(self, event_tag): | |||
self.exceptions = self.extract_key_value_xml("exceptions") | |||
|
|||
def get_transport_type(self): | |||
""" | |||
Function to get the transport type of the evnt |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check for small typos for this PR.
Overall looks good, small comments added
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated as per the comments and fixed typos.
🎉 This PR is included in version 5.4.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This PR updates API reference documentation as below
Ref: https://splunk.atlassian.net/browse/ADDON-75003