Skip to content
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

GitHub-issue#253 : Implemented GeoIP Plugin Configuration Code JUnit … #2909

Conversation

venkataraopasyavula
Copy link
Contributor

Description

Implemented GeoIP Processor plugin JUnit test cases for the Configuration Code

Issues Resolved

GitHub- issue #253

Check List

  • New functionality includes testing.
  • New functionality has been documented.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Copy link
Collaborator

@kkondaka kkondaka left a comment

Choose a reason for hiding this comment

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

Left one comment. If that is addressed, I am ready to approve.

@@ -0,0 +1,3 @@
# To enable mocking of final classes with vanilla Mockito
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why do we need this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

"mock-maker-inline" is required to mock the final classes. For example AWS "Region" class is final class.

@kkondaka kkondaka merged commit c2352ba into opensearch-project:main Jun 22, 2023
MaGonzalMayedo pushed a commit to MaGonzalMayedo/data-prepper that referenced this pull request Jul 25, 2023
…test cases (opensearch-project#2909)

Signed-off-by: venkataraopasyavula <[email protected]>
Signed-off-by: Marcos Gonzalez Mayedo <[email protected]>
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.

3 participants