Skip to content

.conf CRUD functionality added#141

Merged
vmalaviya-splunk merged 11 commits intodevelopfrom
DVPL-7124
Jan 10, 2022
Merged

.conf CRUD functionality added#141
vmalaviya-splunk merged 11 commits intodevelopfrom
DVPL-7124

Conversation

@vmalaviya-splunk
Copy link
Contributor

No description provided.

Copy link
Contributor

@fantavlik fantavlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is looking really close, some minor comments and questions. I wonder if we could provide a simple example of how to use this also? The test has some of this but it would be nice to have just a few lines demonstrating the change (in the README)

1. Method renamed: doesFileExist --> getConfFile
2. Method renamed: doesStanzaExist --> getStanza
3. try/catch removed to let exception propagate to calling method
4. return file/stanza if found or else return null
Copy link
Contributor

@fantavlik fantavlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two fairly minor comments and then I think this is ready to merge

README and test updated to use actual example for .conf file
Copy link
Contributor

@fantavlik fantavlik left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome work, thanks for working through all the rounds of review!

@vmalaviya-splunk vmalaviya-splunk merged commit 5014298 into develop Jan 10, 2022
@vmalaviya-splunk vmalaviya-splunk mentioned this pull request Mar 7, 2022
@ashah-splunk ashah-splunk deleted the DVPL-7124 branch April 20, 2023 11:58
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